public class Direction extends Object
Modifier and Type | Field and Description |
---|---|
static int[][] |
bedDirection |
static String[] |
directions |
static int[] |
directionToFacing
Maps a Direction value (2D) to a Facing value (3D).
|
static int[] |
facingToDirection
Maps a Facing value (3D) to a Direction value (2D).
|
static int[] |
offsetX |
static int[] |
offsetZ |
static int[] |
rotateLeft
Maps a direction to that to the left of it.
|
static int[] |
rotateOpposite
Maps a direction to that opposite of it.
|
static int[] |
rotateRight
Maps a direction to that to the right of it.
|
Constructor and Description |
---|
Direction() |
public static final int[] offsetX
public static final int[] offsetZ
public static final String[] directions
public static final int[] directionToFacing
public static final int[] facingToDirection
public static final int[] rotateOpposite
public static final int[] rotateRight
public static final int[] rotateLeft
public static final int[][] bedDirection