net.minecraft.util

public class SegmentedAnglePrecision

auz
net.minecraft.util.SegmentedAnglePrecision
net.minecraft.class_8013
net.minecraft.util.math.RotationCalculator
net.minecraft.src.C_263625_
net.minecraft.util.SegmentedAnglePrecision

Field summary

Modifier and TypeField
private final int
a
mask
field_41760
max
f_263790_
private final int
b
precision
field_41761
precision
f_263801_
private final float
c
degreeToAngle
field_41762
rotationPerDegrees
f_263695_
private final float
d
angleToDegree
field_41763
degreesPerRotation
f_263823_

Constructor summary

ModifierConstructor
public (int precision)

Method summary

Modifier and TypeMethod
public boolean
a(int arg0, int arg1)
isSameAxis(int arg0, int arg1)
method_48123(int arg0, int arg1)
areRotationsParallel(int alpha, int beta)
m_264207_(int p_265708_, int arg1)
public int
a(ic arg0)
fromDirection(Direction arg0)
method_48124(class_2350 arg0)
toRotation(Direction direction)
m_264060_(C_4687_ arg0)
public int
a(float arg0)
fromDegreesWithTurns(float arg0)
method_48121(float arg0)
toRotation(float degrees)
m_264592_(float arg0)
public int
b(float arg0)
fromDegrees(float arg0)
method_48125(float arg0)
toClampedRotation(float degrees)
m_264419_(float arg0)
public float
a(int arg0)
toDegreesWithTurns(int arg0)
method_48122(int arg0)
toDegrees(int rotation)
m_264289_(int arg0)
public float
b(int arg0)
toDegrees(int arg0)
method_48126(int arg0)
toWrappedDegrees(int rotation)
m_264138_(int arg0)
public int
c(int arg0)
normalize(int arg0)
method_48127(int arg0)
clamp(int rotationBits)
m_264384_(int arg0)
public int
a()
getMask()
method_48120()
getMax()
m_264451_()