Enum Class ExtendedFacing

java.lang.Object
java.lang.Enum<ExtendedFacing>
com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing
All Implemented Interfaces:
Serializable, Comparable<ExtendedFacing>, Constable

public enum ExtendedFacing extends Enum<ExtendedFacing>
  • Enum Constant Details

    • DOWN_NORMAL_NONE

      public static final ExtendedFacing DOWN_NORMAL_NONE
    • DOWN_NORMAL_HORIZONTAL

      public static final ExtendedFacing DOWN_NORMAL_HORIZONTAL
    • DOWN_NORMAL_VERTICAL

      public static final ExtendedFacing DOWN_NORMAL_VERTICAL
    • DOWN_NORMAL_BOTH

      public static final ExtendedFacing DOWN_NORMAL_BOTH
    • DOWN_CLOCKWISE_NONE

      public static final ExtendedFacing DOWN_CLOCKWISE_NONE
    • DOWN_CLOCKWISE_HORIZONTAL

      public static final ExtendedFacing DOWN_CLOCKWISE_HORIZONTAL
    • DOWN_CLOCKWISE_VERTICAL

      public static final ExtendedFacing DOWN_CLOCKWISE_VERTICAL
    • DOWN_CLOCKWISE_BOTH

      public static final ExtendedFacing DOWN_CLOCKWISE_BOTH
    • DOWN_UPSIDE_DOWN_NONE

      public static final ExtendedFacing DOWN_UPSIDE_DOWN_NONE
    • DOWN_UPSIDE_DOWN_HORIZONTAL

      public static final ExtendedFacing DOWN_UPSIDE_DOWN_HORIZONTAL
    • DOWN_UPSIDE_DOWN_VERTICAL

      public static final ExtendedFacing DOWN_UPSIDE_DOWN_VERTICAL
    • DOWN_UPSIDE_DOWN_BOTH

      public static final ExtendedFacing DOWN_UPSIDE_DOWN_BOTH
    • DOWN_COUNTER_CLOCKWISE_NONE

      public static final ExtendedFacing DOWN_COUNTER_CLOCKWISE_NONE
    • DOWN_COUNTER_CLOCKWISE_HORIZONTAL

      public static final ExtendedFacing DOWN_COUNTER_CLOCKWISE_HORIZONTAL
    • DOWN_COUNTER_CLOCKWISE_VERTICAL

      public static final ExtendedFacing DOWN_COUNTER_CLOCKWISE_VERTICAL
    • DOWN_COUNTER_CLOCKWISE_BOTH

      public static final ExtendedFacing DOWN_COUNTER_CLOCKWISE_BOTH
    • UP_NORMAL_NONE

      public static final ExtendedFacing UP_NORMAL_NONE
    • UP_NORMAL_HORIZONTAL

      public static final ExtendedFacing UP_NORMAL_HORIZONTAL
    • UP_NORMAL_VERTICAL

      public static final ExtendedFacing UP_NORMAL_VERTICAL
    • UP_NORMAL_BOTH

      public static final ExtendedFacing UP_NORMAL_BOTH
    • UP_CLOCKWISE_NONE

      public static final ExtendedFacing UP_CLOCKWISE_NONE
    • UP_CLOCKWISE_HORIZONTAL

      public static final ExtendedFacing UP_CLOCKWISE_HORIZONTAL
    • UP_CLOCKWISE_VERTICAL

      public static final ExtendedFacing UP_CLOCKWISE_VERTICAL
    • UP_CLOCKWISE_BOTH

      public static final ExtendedFacing UP_CLOCKWISE_BOTH
    • UP_UPSIDE_DOWN_NONE

      public static final ExtendedFacing UP_UPSIDE_DOWN_NONE
    • UP_UPSIDE_DOWN_HORIZONTAL

      public static final ExtendedFacing UP_UPSIDE_DOWN_HORIZONTAL
    • UP_UPSIDE_DOWN_VERTICAL

      public static final ExtendedFacing UP_UPSIDE_DOWN_VERTICAL
    • UP_UPSIDE_DOWN_BOTH

      public static final ExtendedFacing UP_UPSIDE_DOWN_BOTH
    • UP_COUNTER_CLOCKWISE_NONE

      public static final ExtendedFacing UP_COUNTER_CLOCKWISE_NONE
    • UP_COUNTER_CLOCKWISE_HORIZONTAL

      public static final ExtendedFacing UP_COUNTER_CLOCKWISE_HORIZONTAL
    • UP_COUNTER_CLOCKWISE_VERTICAL

      public static final ExtendedFacing UP_COUNTER_CLOCKWISE_VERTICAL
    • UP_COUNTER_CLOCKWISE_BOTH

      public static final ExtendedFacing UP_COUNTER_CLOCKWISE_BOTH
    • NORTH_NORMAL_NONE

      public static final ExtendedFacing NORTH_NORMAL_NONE
    • NORTH_NORMAL_HORIZONTAL

      public static final ExtendedFacing NORTH_NORMAL_HORIZONTAL
    • NORTH_NORMAL_VERTICAL

      public static final ExtendedFacing NORTH_NORMAL_VERTICAL
    • NORTH_NORMAL_BOTH

      public static final ExtendedFacing NORTH_NORMAL_BOTH
    • NORTH_CLOCKWISE_NONE

      public static final ExtendedFacing NORTH_CLOCKWISE_NONE
    • NORTH_CLOCKWISE_HORIZONTAL

      public static final ExtendedFacing NORTH_CLOCKWISE_HORIZONTAL
    • NORTH_CLOCKWISE_VERTICAL

      public static final ExtendedFacing NORTH_CLOCKWISE_VERTICAL
    • NORTH_CLOCKWISE_BOTH

      public static final ExtendedFacing NORTH_CLOCKWISE_BOTH
    • NORTH_UPSIDE_DOWN_NONE

      public static final ExtendedFacing NORTH_UPSIDE_DOWN_NONE
    • NORTH_UPSIDE_DOWN_HORIZONTAL

      public static final ExtendedFacing NORTH_UPSIDE_DOWN_HORIZONTAL
    • NORTH_UPSIDE_DOWN_VERTICAL

      public static final ExtendedFacing NORTH_UPSIDE_DOWN_VERTICAL
    • NORTH_UPSIDE_DOWN_BOTH

      public static final ExtendedFacing NORTH_UPSIDE_DOWN_BOTH
    • NORTH_COUNTER_CLOCKWISE_NONE

      public static final ExtendedFacing NORTH_COUNTER_CLOCKWISE_NONE
    • NORTH_COUNTER_CLOCKWISE_HORIZONTAL

      public static final ExtendedFacing NORTH_COUNTER_CLOCKWISE_HORIZONTAL
    • NORTH_COUNTER_CLOCKWISE_VERTICAL

      public static final ExtendedFacing NORTH_COUNTER_CLOCKWISE_VERTICAL
    • NORTH_COUNTER_CLOCKWISE_BOTH

      public static final ExtendedFacing NORTH_COUNTER_CLOCKWISE_BOTH
    • SOUTH_NORMAL_NONE

      public static final ExtendedFacing SOUTH_NORMAL_NONE
    • SOUTH_NORMAL_HORIZONTAL

      public static final ExtendedFacing SOUTH_NORMAL_HORIZONTAL
    • SOUTH_NORMAL_VERTICAL

      public static final ExtendedFacing SOUTH_NORMAL_VERTICAL
    • SOUTH_NORMAL_BOTH

      public static final ExtendedFacing SOUTH_NORMAL_BOTH
    • SOUTH_CLOCKWISE_NONE

      public static final ExtendedFacing SOUTH_CLOCKWISE_NONE
    • SOUTH_CLOCKWISE_HORIZONTAL

      public static final ExtendedFacing SOUTH_CLOCKWISE_HORIZONTAL
    • SOUTH_CLOCKWISE_VERTICAL

      public static final ExtendedFacing SOUTH_CLOCKWISE_VERTICAL
    • SOUTH_CLOCKWISE_BOTH

      public static final ExtendedFacing SOUTH_CLOCKWISE_BOTH
    • SOUTH_UPSIDE_DOWN_NONE

      public static final ExtendedFacing SOUTH_UPSIDE_DOWN_NONE
    • SOUTH_UPSIDE_DOWN_HORIZONTAL

      public static final ExtendedFacing SOUTH_UPSIDE_DOWN_HORIZONTAL
    • SOUTH_UPSIDE_DOWN_VERTICAL

      public static final ExtendedFacing SOUTH_UPSIDE_DOWN_VERTICAL
    • SOUTH_UPSIDE_DOWN_BOTH

      public static final ExtendedFacing SOUTH_UPSIDE_DOWN_BOTH
    • SOUTH_COUNTER_CLOCKWISE_NONE

      public static final ExtendedFacing SOUTH_COUNTER_CLOCKWISE_NONE
    • SOUTH_COUNTER_CLOCKWISE_HORIZONTAL

      public static final ExtendedFacing SOUTH_COUNTER_CLOCKWISE_HORIZONTAL
    • SOUTH_COUNTER_CLOCKWISE_VERTICAL

      public static final ExtendedFacing SOUTH_COUNTER_CLOCKWISE_VERTICAL
    • SOUTH_COUNTER_CLOCKWISE_BOTH

      public static final ExtendedFacing SOUTH_COUNTER_CLOCKWISE_BOTH
    • WEST_NORMAL_NONE

      public static final ExtendedFacing WEST_NORMAL_NONE
    • WEST_NORMAL_HORIZONTAL

      public static final ExtendedFacing WEST_NORMAL_HORIZONTAL
    • WEST_NORMAL_VERTICAL

      public static final ExtendedFacing WEST_NORMAL_VERTICAL
    • WEST_NORMAL_BOTH

      public static final ExtendedFacing WEST_NORMAL_BOTH
    • WEST_CLOCKWISE_NONE

      public static final ExtendedFacing WEST_CLOCKWISE_NONE
    • WEST_CLOCKWISE_HORIZONTAL

      public static final ExtendedFacing WEST_CLOCKWISE_HORIZONTAL
    • WEST_CLOCKWISE_VERTICAL

      public static final ExtendedFacing WEST_CLOCKWISE_VERTICAL
    • WEST_CLOCKWISE_BOTH

      public static final ExtendedFacing WEST_CLOCKWISE_BOTH
    • WEST_UPSIDE_DOWN_NONE

      public static final ExtendedFacing WEST_UPSIDE_DOWN_NONE
    • WEST_UPSIDE_DOWN_HORIZONTAL

      public static final ExtendedFacing WEST_UPSIDE_DOWN_HORIZONTAL
    • WEST_UPSIDE_DOWN_VERTICAL

      public static final ExtendedFacing WEST_UPSIDE_DOWN_VERTICAL
    • WEST_UPSIDE_DOWN_BOTH

      public static final ExtendedFacing WEST_UPSIDE_DOWN_BOTH
    • WEST_COUNTER_CLOCKWISE_NONE

      public static final ExtendedFacing WEST_COUNTER_CLOCKWISE_NONE
    • WEST_COUNTER_CLOCKWISE_HORIZONTAL

      public static final ExtendedFacing WEST_COUNTER_CLOCKWISE_HORIZONTAL
    • WEST_COUNTER_CLOCKWISE_VERTICAL

      public static final ExtendedFacing WEST_COUNTER_CLOCKWISE_VERTICAL
    • WEST_COUNTER_CLOCKWISE_BOTH

      public static final ExtendedFacing WEST_COUNTER_CLOCKWISE_BOTH
    • EAST_NORMAL_NONE

      public static final ExtendedFacing EAST_NORMAL_NONE
    • EAST_NORMAL_HORIZONTAL

      public static final ExtendedFacing EAST_NORMAL_HORIZONTAL
    • EAST_NORMAL_VERTICAL

      public static final ExtendedFacing EAST_NORMAL_VERTICAL
    • EAST_NORMAL_BOTH

      public static final ExtendedFacing EAST_NORMAL_BOTH
    • EAST_CLOCKWISE_NONE

      public static final ExtendedFacing EAST_CLOCKWISE_NONE
    • EAST_CLOCKWISE_HORIZONTAL

      public static final ExtendedFacing EAST_CLOCKWISE_HORIZONTAL
    • EAST_CLOCKWISE_VERTICAL

      public static final ExtendedFacing EAST_CLOCKWISE_VERTICAL
    • EAST_CLOCKWISE_BOTH

      public static final ExtendedFacing EAST_CLOCKWISE_BOTH
    • EAST_UPSIDE_DOWN_NONE

      public static final ExtendedFacing EAST_UPSIDE_DOWN_NONE
    • EAST_UPSIDE_DOWN_HORIZONTAL

      public static final ExtendedFacing EAST_UPSIDE_DOWN_HORIZONTAL
    • EAST_UPSIDE_DOWN_VERTICAL

      public static final ExtendedFacing EAST_UPSIDE_DOWN_VERTICAL
    • EAST_UPSIDE_DOWN_BOTH

      public static final ExtendedFacing EAST_UPSIDE_DOWN_BOTH
    • EAST_COUNTER_CLOCKWISE_NONE

      public static final ExtendedFacing EAST_COUNTER_CLOCKWISE_NONE
    • EAST_COUNTER_CLOCKWISE_HORIZONTAL

      public static final ExtendedFacing EAST_COUNTER_CLOCKWISE_HORIZONTAL
    • EAST_COUNTER_CLOCKWISE_VERTICAL

      public static final ExtendedFacing EAST_COUNTER_CLOCKWISE_VERTICAL
    • EAST_COUNTER_CLOCKWISE_BOTH

      public static final ExtendedFacing EAST_COUNTER_CLOCKWISE_BOTH
  • Field Details

    • DEFAULT

      public static final ExtendedFacing DEFAULT
    • VALUES

      public static final ExtendedFacing[] VALUES
    • FOR_FACING

      public static final Map<net.minecraftforge.common.util.ForgeDirection,List<ExtendedFacing>> FOR_FACING
    • STATES_COUNT

      public static final int STATES_COUNT
  • Method Details

    • values

      public static ExtendedFacing[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ExtendedFacing valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • of

      public static ExtendedFacing of(net.minecraftforge.common.util.ForgeDirection direction, Rotation rotation, Flip flip)
    • of

      public static ExtendedFacing of(net.minecraftforge.common.util.ForgeDirection direction)
    • getAllWith

      public static com.google.common.collect.ImmutableSet<ExtendedFacing> getAllWith(net.minecraftforge.common.util.ForgeDirection direction)
    • getAllWith

      public static com.google.common.collect.ImmutableSet<ExtendedFacing> getAllWith(Rotation rotation)
    • getAllWith

      public static com.google.common.collect.ImmutableSet<ExtendedFacing> getAllWith(Flip flip)
    • with

      public ExtendedFacing with(net.minecraftforge.common.util.ForgeDirection direction)
    • with

      public ExtendedFacing with(Rotation rotation)
    • with

      public ExtendedFacing with(Flip flip)
    • getOppositeDirection

      public ExtendedFacing getOppositeDirection()
    • getOppositeRotation

      public ExtendedFacing getOppositeRotation()
    • getOppositeFlip

      public ExtendedFacing getOppositeFlip()
    • getDuplicate

      public ExtendedFacing getDuplicate()
      Gets the same effective facing achieved by different rot/flip combo
      Returns:
      same effective facing, but different enum value
    • getIndex

      public int getIndex()
    • getName2

      public String getName2()
    • getLocalizedName

      public String getLocalizedName()
    • byName

      public static ExtendedFacing byName(String name)
    • byIndex

      public static ExtendedFacing byIndex(int index)
    • random

      public static ExtendedFacing random(Random rand)
    • getDirection

      public net.minecraftforge.common.util.ForgeDirection getDirection()
    • getRotation

      public Rotation getRotation()
    • getFlip

      public Flip getFlip()
    • getWorldOffset

      public Vec3 getWorldOffset(Vec3 abcOffset)
      Translates relative to front facing offset to world offset
      Parameters:
      abcOffset - A,B,C offset (facing relative L-->R,U-->D,F-->B)
      Returns:
      X, Y, Z offset in world
    • getWorldOffset

      public Vec3Impl getWorldOffset(Vec3Impl abcOffset)
    • getWorldOffset

      public void getWorldOffset(int[] point, int[] out)
    • getWorldOffset

      public void getWorldOffset(double[] point, double[] out)
    • getWorldDirection

      public net.minecraftforge.common.util.ForgeDirection getWorldDirection(net.minecraftforge.common.util.ForgeDirection abcDirection)
      do note the ABC coordinate system is (X, -Y, Z).
    • getOffsetABC

      public Vec3 getOffsetABC(Vec3 xyzOffset)
      Translates world offset to relative front facing offset
      Parameters:
      xyzOffset - X,Y,Z offset in world
      Returns:
      A, B, C offset (facing relative L-->R,U-->D,F-->B)
    • getOffsetABC

      public Vec3Impl getOffsetABC(Vec3Impl xyzOffset)
    • getOffsetABC

      public void getOffsetABC(int[] point, int[] out)
    • getOffsetABC

      public void getOffsetABC(double[] point, double[] out)
    • getIntegerAxisSwap

      public IntegerAxisSwap getIntegerAxisSwap()
    • getRelativeLeftInWorld

      public net.minecraftforge.common.util.ForgeDirection getRelativeLeftInWorld()
    • getRelativeRightInWorld

      public net.minecraftforge.common.util.ForgeDirection getRelativeRightInWorld()
    • getRelativeDownInWorld

      public net.minecraftforge.common.util.ForgeDirection getRelativeDownInWorld()
    • getRelativeUpInWorld

      public net.minecraftforge.common.util.ForgeDirection getRelativeUpInWorld()
    • getRelativeBackInWorld

      public net.minecraftforge.common.util.ForgeDirection getRelativeBackInWorld()
    • getRelativeForwardInWorld

      public net.minecraftforge.common.util.ForgeDirection getRelativeForwardInWorld()