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

public class RotationSegment

dza
net.minecraft.world.level.block.state.properties.RotationSegment
net.minecraft.class_7718
net.minecraft.util.math.RotationPropertyHelper
net.minecraft.world.level.block.state.properties.RotationSegment

Field summary

Modifier and TypeField
private static final SegmentedAnglePrecision
a
SEGMENTED_ANGLE16
field_41768
CALCULATOR
private static final int
b
MAX_SEGMENT_INDEX
field_40345
MAX
private static final int
c
NORTH_0
field_40346
NORTH
private static final int
d
EAST_90
field_40347
EAST
private static final int
e
SOUTH_180
field_40348
SOUTH
private static final int
f
WEST_270
field_40349
WEST

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static int
a()
getMaxSegmentIndex()
method_45478()
getMax()
public static int
a(jm arg0)
convertToSegment(Direction arg0)
method_45481(class_2350 arg0)
fromDirection(Direction direction)
public static int
a(float arg0)
convertToSegment(float arg0)
method_45479(float arg0)
fromYaw(float yaw)
public static Optional<Direction>
a(int arg0)
convertToDirection(int arg0)
method_45480(int arg0)
toDirection(int rotation)
public static float
b(int arg0)
convertToDegrees(int arg0)
method_45482(int arg0)
toDegrees(int rotation)