Link to rotation
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.
Link to interfacce-implementate
Rotation implements the following interfaces. That means all methods defined in these interfaces are also available in Rotation
Link to enum-constants
Rotation is an enum. It has 4 enum constants. They are accessible using the code below.
<constant:minecraft:direction/rotation:none> <constant:minecraft:direction/rotation:clockwise_90> <constant:minecraft:direction/rotation:clockwise_180> <constant:minecraft:direction/rotation:counterclockwise_90>
Link to metodi
Return Type: int
Rotation.rotate(rotation as int, positionCount as int) as int