FrameType
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.advancement.FrameType;
Implements
Undocumented Interfaces
Comparable<Enum>
Enum Constants
FrameType is an enum with 3 constants. They are accessible like so:
// FrameType.CHALLENGE<constant:minecraft:advancement/frametype:challenge>// FrameType.GOAL<constant:minecraft:advancement/frametype:goal>// FrameType.TASK<constant:minecraft:advancement/frametype:task>
Members
Getter
// FrameType.chatColor as ChatFormatting<constant:minecraft:advancement/frametype:challenge>.chatColor
Return Type:
ChatFormatting
chatColor() as ChatFormatting
<constant:minecraft:advancement/frametype:challenge>.chatColor();
Return Type:
ChatFormatting
Getter
displayName() as Component
Getter
// FrameType.name as string<constant:minecraft:advancement/frametype:challenge>.name
Return Type:
string
name() as string
// FrameType.name() as string;<constant:minecraft:advancement/frametype:challenge>.name();
Return Type:
string
Getter
// FrameType.texture as int<constant:minecraft:advancement/frametype:challenge>.texture
Return Type:
int
texture() as int
// FrameType.texture() as int;<constant:minecraft:advancement/frametype:challenge>.texture();
Return Type:
int