Class MCDirections

java.lang.Object
com.sk89q.worldedit.internal.helper.MCDirections

public final class MCDirections extends Object
Utility methods for working with directions in Minecraft.
  • Method Details Link icon

    • fromHanging Link icon

      public static Direction fromHanging(int i)
    • toHanging Link icon

      public static int toHanging(Direction direction)
    • fromPre13Hanging Link icon

      public static Direction fromPre13Hanging(int i)
    • fromHorizontalHanging Link icon

      public static Direction fromHorizontalHanging(int i)
    • toHorizontalHanging Link icon

      public static int toHorizontalHanging(Direction direction)
    • fromLegacyHanging Link icon

      public static int fromLegacyHanging(byte i)
    • fromRotation Link icon

      public static Direction fromRotation(int i)
    • toRotation Link icon

      public static int toRotation(Direction direction)