TranslatableContents
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.
import crafttweaker.api.text.content.type.TranslatableContents;
Implements
TranslatableContents
implements the following interfaces:
Members
Getter
// TranslatableContents.args as string[]myTranslatableContents.args
Return Type:
string[]
args() as string[]
// TranslatableContents.args() as string[];myTranslatableContents.args();
Return Type:
string[]
static empty() as ComponentContents
Getter
// TranslatableContents.key as stringmyTranslatableContents.key
Return Type:
string
key() as string
// TranslatableContents.key() as string;myTranslatableContents.key();
Return Type:
string