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

    • fromHanging

      public static Direction fromHanging(int i)
    • toHanging

      public static int toHanging(Direction direction)
    • fromPre13Hanging

      public static Direction fromPre13Hanging(int i)
    • fromHorizontalHanging

      public static Direction fromHorizontalHanging(int i)
    • toHorizontalHanging

      public static int toHorizontalHanging(Direction direction)
    • fromLegacyHanging

      public static int fromLegacyHanging(byte i)
    • fromRotation

      public static Direction fromRotation(int i)
    • toRotation

      public static int toRotation(Direction direction)