PlainTextContents

Importing the class

If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.

script.zs
import crafttweaker.api.text.content.type.PlainTextContents;

Implements

Undocumented Interfaces

ComponentContents

Members

Getter
script.zs
// PlainTextContents.text as string
myPlainTextContents.text

Return Type: string