net.minecraft.world.level.block

public enum Rotation

implements StringRepresentable

dqf
net.minecraft.world.level.block.Rotation
net.minecraft.class_2470
net.minecraft.util.BlockRotation
net.minecraft.world.level.block.EnumBlockRotation

Enum constant summary

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

Field summary

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

Constructor summary

ModifierConstructor
private (String arg0, OctahedralGroup arg1)

Method summary

Modifier and TypeMethod
public Rotation
a(dqf arg0)
getRotated(Rotation arg0)
method_10501(class_2470 arg0)
rotate(BlockRotation rotation)
public OctahedralGroup
a()
rotation()
method_26383()
getDirectionTransformation()
public Direction
a(jn arg0)
rotate(Direction arg0)
method_10503(class_2350 arg0)
rotate(Direction direction)
public int
a(int arg0, int arg1)
rotate(int arg0, int arg1)
method_10502(int arg0, int arg1)
rotate(int rotation, int fullTurn)
public static Rotation
a(azh arg0)
getRandom(RandomSource arg0)
method_16548(class_5819 arg0)
random(Random random)
public static List<Rotation>
b(azh arg0)
getShuffled(RandomSource arg0)
method_16547(class_5819 arg0)
randomRotationOrder(Random random)
public String
c()
getSerializedName()
method_15434()
asString()