net.minecraft.world.level.block

public enum Rotation

implements StringRepresentable

dsz
net.minecraft.world.level.block.Rotation
net.minecraft.class_2470
net.minecraft.unmapped.C_mboglirk
net.minecraft.util.BlockRotation
net.minecraft.util.BlockRotation

Enum constant summary

Enum Constant
a
NONE
field_11467
f_fcnwefgi
NONE
NONE
b
CLOCKWISE_90
field_11463
f_pmluekwg
CLOCKWISE_90
CLOCKWISE_90
c
CLOCKWISE_180
field_11464
f_vchsepty
CLOCKWISE_180
CLOCKWISE_180
d
COUNTERCLOCKWISE_90
field_11465
f_yyuwriod
COUNTERCLOCKWISE_90
COUNTERCLOCKWISE_90

Field summary

Modifier and TypeField
public static final IntFunction<Rotation>
e
BY_ID
field_55986
f_ccsgwqxl
INDEX_MAPPER
public static final com.mojang.serialization.Codec<Rotation>
f
CODEC
field_39313
f_urgoxszy
CODEC
CODEC
public static final StreamCodec<io.netty.buffer.ByteBuf, Rotation>
g
STREAM_CODEC
field_55987
f_dplyhhxj
PACKET_CODEC
PACKET_CODEC
private final int
h
index
field_55988
f_ivndrooy
index
private final String
i
id
field_39314
f_ojkekrbe
id
name
private final OctahedralGroup
j
rotation
field_23264
f_cqyrscgb
directionTransformation
directionTransformation

Constructor summary

ModifierConstructor
private (int arg0, String arg1, OctahedralGroup index)

Method summary

Modifier and TypeMethod
public Rotation
a(dsz arg0)
getRotated(Rotation arg0)
method_10501(class_2470 arg0)
m_wcosdjwm(C_mboglirk arg0)
rotate(BlockRotation rotation)
rotate(BlockRotation rotation)
public OctahedralGroup
a()
rotation()
method_26383()
m_aktxsoll()
getDirectionTransformation()
getDirectionTransformation()
public Direction
a(ja arg0)
rotate(Direction arg0)
method_10503(class_2350 arg0)
m_anfgpjja(C_xpuuihxf arg0)
rotate(Direction direction)
rotate(Direction direction)
public int
a(int arg0, int arg1)
rotate(int arg0, int arg1)
method_10502(int arg0, int arg1)
m_oynhctdm(int arg0, int arg1)
rotate(int rotation, int fullTurn)
rotate(int rotation, int fullTurn)
public static Rotation
a(azv arg0)
getRandom(RandomSource arg0)
method_16548(class_5819 arg0)
m_wsehisas(C_rlomrsco arg0)
random(Random random)
random(RandomGenerator random)
public static List<Rotation>
b(azv arg0)
getShuffled(RandomSource arg0)
method_16547(class_5819 arg0)
m_sxcuevie(C_rlomrsco arg0)
randomRotationOrder(Random random)
randomRotationOrder(RandomGenerator random)
public String
c()
getSerializedName()
method_15434()
m_dxbrenur()
asString()
asString()
private int
b()
getIndex()
method_66710()
m_bwbkauxw()
getIndex()