Class OrientationStrategies

java.lang.Object
appeng.api.orientation.OrientationStrategies

public final class OrientationStrategies extends Object
Default implementations for IOrientationStrategy.
  • Constructor Details

    • OrientationStrategies

      public OrientationStrategies()
  • Method Details

    • none

      public static IOrientationStrategy none()
      The blocks orientation cannot be changed.
    • horizontalFacing

      public static IOrientationStrategy horizontalFacing()
    • facingAttached

      public static IOrientationStrategy facingAttached(boolean allowRotation)
      Block can be oriented in 6 directions, but not swivel around that axis. Semantically the block is attached to the face of another block, but the facing points away from the side it is attached to. This influences how the default placement is deduced.
    • facingAttached

      public static IOrientationStrategy facingAttached()
    • facing

      public static IOrientationStrategy facing()
      Block can be oriented in 6 directions, but not swivel around that axis.
    • full

      public static IOrientationStrategy full()
      Block can be oriented in 6 directions and then can also be swiveled around that axis in 90° increments.