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

public class RotationSegment

dtk
net.minecraft.world.level.block.state.properties.RotationSegment
net.minecraft.class_7718
net.minecraft.util.math.RotationPropertyHelper
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
CALCULATOR
f_263687_
private static final int
b
MAX_SEGMENT_INDEX
field_40345
MAX
f_244269_
private static final int
c
NORTH_0
field_40346
NORTH
f_243806_
private static final int
d
EAST_90
field_40347
EAST
f_243970_
private static final int
e
SOUTH_180
field_40348
SOUTH
f_244031_
private static final int
f
WEST_270
field_40349
WEST
f_243971_

Constructor summary

ModifierConstructor
public ()

Method summary

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