ScoreContents
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.ScoreContents;
Implements
ScoreContents
implements the following interfaces:
Members
static empty() as ComponentContents
Getter
// ScoreContents.name as stringmyScoreContents.name
Return Type:
string
name() as string
// ScoreContents.name() as string;myScoreContents.name();
Return Type:
string
Getter
// ScoreContents.objective as stringmyScoreContents.objective
Return Type:
string
objective() as string
// ScoreContents.objective() as string;myScoreContents.objective();
Return Type:
string