Class RotationSegment

java.lang.Object
net.minecraft.world.level.block.state.properties.RotationSegment

public class RotationSegment extends Object
  • Field Details

  • Constructor Details

    • RotationSegment

      public RotationSegment()
  • Method Details

    • getMaxSegmentIndex

      public static int getMaxSegmentIndex()
    • convertToSegment

      public static int convertToSegment(Direction p_249634_)
    • convertToSegment

      public static int convertToSegment(float p_249057_)
    • convertToDirection

      public static Optional<Direction> convertToDirection(int p_250978_)
    • convertToDegrees

      public static float convertToDegrees(int p_250653_)