FrontAndTop

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.

script.zs
import crafttweaker.api.util.math.FrontAndTop;

Implements

FrontAndTop implements the following interfaces:

StringRepresentable

Undocumented Interfaces

Comparable<Enum>

Enum Constants

FrontAndTop is an enum with 12 constants. They are accessible like so:

script.zs
// FrontAndTop.DOWN_EAST
<constant:minecraft:direction/frontandtop:down_east>
// FrontAndTop.DOWN_NORTH
<constant:minecraft:direction/frontandtop:down_north>
// FrontAndTop.DOWN_SOUTH
<constant:minecraft:direction/frontandtop:down_south>
// FrontAndTop.DOWN_WEST
<constant:minecraft:direction/frontandtop:down_west>
// FrontAndTop.EAST_UP
<constant:minecraft:direction/frontandtop:east_up>
// FrontAndTop.NORTH_UP
<constant:minecraft:direction/frontandtop:north_up>
// FrontAndTop.SOUTH_UP
<constant:minecraft:direction/frontandtop:south_up>
// FrontAndTop.UP_EAST
<constant:minecraft:direction/frontandtop:up_east>
// FrontAndTop.UP_NORTH
<constant:minecraft:direction/frontandtop:up_north>
// FrontAndTop.UP_SOUTH
<constant:minecraft:direction/frontandtop:up_south>
// FrontAndTop.UP_WEST
<constant:minecraft:direction/frontandtop:up_west>
// FrontAndTop.WEST_UP
<constant:minecraft:direction/frontandtop:west_up>

Members

Getter
script.zs
// FrontAndTop.front as Direction
<constant:minecraft:direction/frontandtop:down_east>.front

Return Type: Direction

front() as Direction
script.zs
// FrontAndTop.front() as Direction;
<constant:minecraft:direction/frontandtop:down_east>.front();

Return Type: Direction

Getter
Gets the serialized name.
script.zs
// FrontAndTop.serializedName as string
<constant:minecraft:direction/frontandtop:down_east>.serializedName

Return Type: string

serializedName() as string
Gets the serialized name.

Returns: the serialized name.

script.zs
// FrontAndTop.serializedName() as string;
<constant:minecraft:direction/frontandtop:down_east>.serializedName();

Return Type: string

Getter
script.zs
// FrontAndTop.top as Direction
<constant:minecraft:direction/frontandtop:down_east>.top

Return Type: Direction

top() as Direction
script.zs
// FrontAndTop.top() as Direction;
<constant:minecraft:direction/frontandtop:down_east>.top();

Return Type: Direction