net.minecraft.world.level.block.state.properties

public class RotationSegment

dkn
net.minecraft.world.level.block.state.properties.RotationSegment
net.minecraft.class_7718
net.minecraft.unmapped.C_bxkfmpse
net.minecraft.util.math.RotationPropertyHelper
net.minecraft.state.properties.RotationSegment
net.minecraft.src.C_243468_
net.minecraft.world.level.block.state.properties.RotationSegment

Field summary

Modifier and TypeField
private static final SegmentedAnglePrecision
a
SEGMENTED_ANGLE16
field_41768
f_waebpyul
CALCULATOR
f_263687_
private static final int
b
MAX_SEGMENT_INDEX
field_40345
f_pxnbzxcs
MAX
MAX_SEGMENT_INDEX
f_244269_
private static final int
c
NORTH_0
field_40346
f_refqeyqb
NORTH
NORTH
f_243806_
private static final int
d
EAST_90
field_40347
f_kdrzqrfj
EAST
EAST
f_243970_
private static final int
e
SOUTH_180
field_40348
f_cxqnnzdy
SOUTH
SOUTH
f_244031_
private static final int
f
WEST_270
field_40349
f_qzkfbjxi
WEST
WEST
f_243971_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static int
a()
getMaxSegmentIndex()
method_45478()
m_iqfvmkfw()
getMax()
getMaxSegmentIndex()
m_247348_()
public static int
a(ic arg0)
convertToSegment(Direction arg0)
method_45481(class_2350 arg0)
m_nasztjpd(C_xpuuihxf arg0)
fromDirection(Direction direction)
convertToSegment(Direction direction)
m_245225_(C_4687_ p_249634_)
public static int
a(float arg0)
convertToSegment(float arg0)
method_45479(float arg0)
m_mdrgolfw(float arg0)
fromYaw(float yaw)
convertToSegment(float angle)
m_246374_(float p_249057_)
public static Optional<Direction>
a(int arg0)
convertToDirection(int arg0)
method_45480(int arg0)
m_ocyqoqej(int arg0)
toDirection(int rotation)
convertToDirection(int segment)
m_247487_(int p_250978_)
public static float
b(int arg0)
convertToDegrees(int arg0)
method_45482(int arg0)
m_saiqimdf(int arg0)
toDegrees(int rotation)
convertToAngle(int segment)
m_245107_(int p_250653_)