|
static final int[] | offsetX = new int[] {0, -1, 0, 1} |
|
static final int[] | offsetZ = new int[] {1, 0, -1, 0} |
|
static final String[] | directions = new String[] {"SOUTH", "WEST", "NORTH", "EAST"} |
|
static final int[] | directionToFacing = new int[] {3, 4, 2, 5} |
|
static final int[] | facingToDirection = new int[] { -1, -1, 2, 0, 1, 3} |
|
static final int[] | rotateOpposite = new int[] {2, 3, 0, 1} |
|
static final int[] | rotateRight = new int[] {1, 2, 3, 0} |
|
static final int[] | rotateLeft = new int[] {3, 0, 1, 2} |
|
static final int[][] | bedDirection = new int[][] {{1, 0, 3, 2, 5, 4}, {1, 0, 5, 4, 2, 3}, {1, 0, 2, 3, 4, 5}, {1, 0, 4, 5, 3, 2}} |
|
static int net.minecraft.util.Direction.getMovementDirection |
( |
double |
par0, |
|
|
double |
par2 |
|
) |
| |
|
static |
Returns the movement direction from a velocity vector.
final int [][] net.minecraft.util.Direction.bedDirection = new int[][] {{1, 0, 3, 2, 5, 4}, {1, 0, 5, 4, 2, 3}, {1, 0, 2, 3, 4, 5}, {1, 0, 4, 5, 3, 2}} |
|
static |
final String [] net.minecraft.util.Direction.directions = new String[] {"SOUTH", "WEST", "NORTH", "EAST"} |
|
static |
final int [] net.minecraft.util.Direction.directionToFacing = new int[] {3, 4, 2, 5} |
|
static |
final int [] net.minecraft.util.Direction.facingToDirection = new int[] { -1, -1, 2, 0, 1, 3} |
|
static |
final int [] net.minecraft.util.Direction.offsetX = new int[] {0, -1, 0, 1} |
|
static |
final int [] net.minecraft.util.Direction.offsetZ = new int[] {1, 0, -1, 0} |
|
static |
final int [] net.minecraft.util.Direction.rotateLeft = new int[] {3, 0, 1, 2} |
|
static |
Maps a direction to that to the left of it.
final int [] net.minecraft.util.Direction.rotateOpposite = new int[] {2, 3, 0, 1} |
|
static |
Maps a direction to that opposite of it.
final int [] net.minecraft.util.Direction.rotateRight = new int[] {1, 2, 3, 0} |
|
static |
Maps a direction to that to the right of it.
The documentation for this class was generated from the following file:
- C:/Users/LazDude/Downloads/MinecraftModding/YATS/forge/mcp/src/minecraft/net/minecraft/util/Direction.java