Class SegmentedAnglePrecision

java.lang.Object
net.minecraft.util.SegmentedAnglePrecision

public class SegmentedAnglePrecision extends Object
  • Field Details

    • mask

      private final int mask
    • precision

      private final int precision
    • degreeToAngle

      private final float degreeToAngle
    • angleToDegree

      private final float angleToDegree
  • Constructor Details

    • SegmentedAnglePrecision

      public SegmentedAnglePrecision(int p_265275_)
  • Method Details

    • isSameAxis

      public boolean isSameAxis(int p_265505_, int p_265708_)
    • fromDirection

      public int fromDirection(Direction p_265731_)
    • fromDegreesWithTurns

      public int fromDegreesWithTurns(float p_265346_)
    • fromDegrees

      public int fromDegrees(float p_265688_)
    • toDegreesWithTurns

      public float toDegreesWithTurns(int p_265278_)
    • toDegrees

      public float toDegrees(int p_265623_)
    • normalize

      public int normalize(int p_265542_)
    • getMask

      public int getMask()