CrafterOrientation 5.46.0
Orientation of a crafter: the direction its front faces and the direction its top points to (Bedrock block state "orientation", e.g. "north_up" or "down_east"; same set as Java's FrontAndTop).
Cases
DOWN_EAST
php
case DOWN_EASTDOWN_NORTH
php
case DOWN_NORTHDOWN_SOUTH
php
case DOWN_SOUTHDOWN_WEST
php
case DOWN_WESTEAST_UP
php
case EAST_UPNORTH_UP
php
case NORTH_UPSOUTH_UP
php
case SOUTH_UPUP_EAST
php
case UP_EASTUP_NORTH
php
case UP_NORTHUP_SOUTH
php
case UP_SOUTHUP_WEST
php
case UP_WESTWEST_UP
php
case WEST_UPMethods
fromFrontAndTop()
php
public static function fromFrontAndTop(int $front, int $top) : selfReturns the orientation with the given front and top. For a horizontal front the top is always up.
getFront()
php
public function getFront() : intDirection the front (output) of the crafter faces.
getTop()
php
public function getTop() : intDirection the top of the crafter points to.
