Importare la Classe

Link to importare-la-classe

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

ZenScript
Copy
import crafttweaker.api.util.math.FrontAndTop;

Interfacce Implementate

Link to interfacce-implementate

FrontAndTop implements the following interfaces. That means all methods defined in these interfaces are also available in FrontAndTop

FrontAndTop is an enum. It has 12 enum constants. They are accessible using the code below.

ZenScript
Copy
FrontAndTop.DOWN_EAST
FrontAndTop.DOWN_NORTH
FrontAndTop.DOWN_SOUTH
FrontAndTop.DOWN_WEST
FrontAndTop.UP_EAST
FrontAndTop.UP_NORTH
FrontAndTop.UP_SOUTH
FrontAndTop.UP_WEST
FrontAndTop.WEST_UP
FrontAndTop.EAST_UP
FrontAndTop.NORTH_UP
FrontAndTop.SOUTH_UP

Name: front

Return Type: Direction

ZenScript
Copy
// FrontAndTop.front() as Direction

myFrontAndTop.front();

Name: top

Return Type: Direction

ZenScript
Copy
// FrontAndTop.top() as Direction

myFrontAndTop.top();
NomeTipoHa GetterHa SetterDescrizione
Nome
front
Tipo
Direction
Ha Getter
Ha Setter
no
Descrizione
No Description Provided
Nome
top
Tipo
Direction
Ha Getter
Ha Setter
no
Descrizione
No Description Provided