net.minecraft.world.level.block

public enum Rotation

implements StringRepresentable

csz
net.minecraft.world.level.block.Rotation
net.minecraft.class_2470
net.minecraft.util.BlockRotation
net.minecraft.src.C_1886_
net.minecraft.world.level.block.EnumBlockRotation

Enum constant summary

Enum Constant
a
NONE
field_11467
NONE
NONE
b
CLOCKWISE_90
field_11463
CLOCKWISE_90
CLOCKWISE_90
c
CLOCKWISE_180
field_11464
CLOCKWISE_180
CLOCKWISE_180
d
COUNTERCLOCKWISE_90
field_11465
COUNTERCLOCKWISE_90
COUNTERCLOCKWISE_90

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<Rotation>
e
CODEC
field_39313
CODEC
f_221983_
private final String
f
id
field_39314
id
f_221984_
private final OctahedralGroup
g
rotation
field_23264
directionTransformation
f_55941_

Constructor summary

ModifierConstructor
private (String p_221987_, OctahedralGroup p_221988_)

Method summary

Modifier and TypeMethod
public Rotation
a(csz arg0)
getRotated(Rotation arg0)
method_10501(class_2470 arg0)
rotate(BlockRotation rotation)
m_55952_(C_1886_ arg0)
public OctahedralGroup
a()
rotation()
method_26383()
getDirectionTransformation()
m_55948_()
public Direction
a(gv arg0)
rotate(Direction arg0)
method_10503(class_2350 arg0)
rotate(Direction direction)
m_55954_(C_4687_ arg0)
public int
a(int arg0, int arg1)
rotate(int arg0, int arg1)
method_10502(int arg0, int arg1)
rotate(int rotation, int fullTurn)
m_55949_(int p_55951_, int arg1)
public static Rotation
a(aoh arg0)
getRandom(RandomSource arg0)
method_16548(class_5819 arg0)
random(Random random)
m_221990_(C_212974_ p_221991_)
public static List<Rotation>
b(aoh arg0)
getShuffled(RandomSource arg0)
method_16547(class_5819 arg0)
randomRotationOrder(Random random)
m_221992_(C_212974_ p_221993_)
public String
c()
getSerializedName()
method_15434()
asString()
m_7912_()