net.minecraft.util

## Class Direction

- java.lang.Object
- - net.minecraft.util.Direction

-     public class Direction
      extends java.lang.Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static int[][]` | `bedDirection`
    `static java.lang.String[]` | `directions`
    `static int[]` | `directionToFacing`
    `static int[]` | `facingToDirection`
    `static int[]` | `offsetX`
    `static int[]` | `offsetZ`
    `static int[]` | `rotateLeft`
    `static int[]` | `rotateOpposite`
    `static int[]` | `rotateRight`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Direction()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static int` | `getMovementDirection(double par0, double par2)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### offsetX

          public static final int[] offsetX

    - #### offsetZ

          public static final int[] offsetZ

    - #### directions

          public static final java.lang.String[] directions

    - #### directionToFacing

          public static final int[] directionToFacing

    - #### facingToDirection

          public static final int[] facingToDirection

    - #### rotateOpposite

          public static final int[] rotateOpposite

    - #### rotateRight

          public static final int[] rotateRight

    - #### rotateLeft

          public static final int[] rotateLeft

    - #### bedDirection

          public static final int[][] bedDirection

  - ### Constructor Detail

    - #### Direction

          public Direction()

  - ### Method Detail

    - #### getMovementDirection

          public static int getMovementDirection(double par0,
                                 double par2)