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