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

public class RotationSegment

czz
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 int
a
MAX_SEGMENT_INDEX
field_40345
MAX
f_244269_
private static final int
b
NORTH_0
field_40346
NORTH
f_243806_
private static final int
c
EAST_90
field_40347
EAST
f_243970_
private static final int
d
SOUTH_180
field_40348
SOUTH
f_244031_
private static final int
e
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(gv 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_)