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.util.math . FrontAndTop;
FrontAndTop
implements the following interfaces:
StringRepresentable
Undocumented Interfaces Comparable <Enum >
FrontAndTop is an enum with 12 constants. They are accessible like so:
< constant : minecraft:direction/frontandtop:down_east >
// FrontAndTop.DOWN_NORTH
< constant : minecraft:direction/frontandtop:down_north >
// FrontAndTop.DOWN_SOUTH
< constant : minecraft:direction/frontandtop:down_south >
< constant : minecraft:direction/frontandtop:down_west >
< constant : minecraft:direction/frontandtop:east_up >
< constant : minecraft:direction/frontandtop:north_up >
< constant : minecraft:direction/frontandtop:south_up >
< constant : minecraft:direction/frontandtop:up_east >
< constant : minecraft:direction/frontandtop:up_north >
< constant : minecraft:direction/frontandtop:up_south >
< constant : minecraft:direction/frontandtop:up_west >
< constant : minecraft:direction/frontandtop:west_up >
// FrontAndTop.front as Direction
< constant : minecraft:direction/frontandtop:down_east > .front
Return Type:
Direction
// FrontAndTop.front() as Direction;
< constant : minecraft:direction/frontandtop:down_east > .front();
Return Type:
Direction
Gets the serialized name. // FrontAndTop.serializedName as string
< constant : minecraft:direction/frontandtop:down_east > .serializedName
Return Type:
string
Gets the serialized name. Returns : the serialized name.
// FrontAndTop.serializedName() as string;
< constant : minecraft:direction/frontandtop:down_east > .serializedName();
Return Type:
string
// FrontAndTop.top as Direction
< constant : minecraft:direction/frontandtop:down_east > .top
Return Type:
Direction
// FrontAndTop.top() as Direction;
< constant : minecraft:direction/frontandtop:down_east > .top();
Return Type:
Direction