net.minecraft.util.math

public enum DirectionTransformation

implements StringIdentifiable

com.mojang.math.OctahedralGroup
com.mojang.math.OctahedralGroup
net.minecraft.class_4990
net.minecraft.util.math.DirectionTransformation

Enum constant summary

Enum Constant
IDENTITY
IDENTITY
field_23292
IDENTITY
ROT_180_FACE_XY
ROT_180_FACE_XY
field_23299
ROT_180_FACE_XY
ROT_180_FACE_XZ
ROT_180_FACE_XZ
field_23300
ROT_180_FACE_XZ
ROT_180_FACE_YZ
ROT_180_FACE_YZ
field_23301
ROT_180_FACE_YZ
ROT_120_NNN
ROT_120_NNN
field_23302
ROT_120_NNN
ROT_120_NNP
ROT_120_NNP
field_23303
ROT_120_NNP
ROT_120_NPN
ROT_120_NPN
field_23304
ROT_120_NPN
ROT_120_NPP
ROT_120_NPP
field_23305
ROT_120_NPP
ROT_120_PNN
ROT_120_PNN
field_23306
ROT_120_PNN
ROT_120_PNP
ROT_120_PNP
field_23307
ROT_120_PNP
ROT_120_PPN
ROT_120_PPN
field_23308
ROT_120_PPN
ROT_120_PPP
ROT_120_PPP
field_23309
ROT_120_PPP
ROT_180_EDGE_XY_NEG
ROT_180_EDGE_XY_NEG
field_23310
ROT_180_EDGE_XY_NEG
ROT_180_EDGE_XY_POS
ROT_180_EDGE_XY_POS
field_23311
ROT_180_EDGE_XY_POS
ROT_180_EDGE_XZ_NEG
ROT_180_EDGE_XZ_NEG
field_23312
ROT_180_EDGE_XZ_NEG
ROT_180_EDGE_XZ_POS
ROT_180_EDGE_XZ_POS
field_23313
ROT_180_EDGE_XZ_POS
ROT_180_EDGE_YZ_NEG
ROT_180_EDGE_YZ_NEG
field_23314
ROT_180_EDGE_YZ_NEG
ROT_180_EDGE_YZ_POS
ROT_180_EDGE_YZ_POS
field_23315
ROT_180_EDGE_YZ_POS
ROT_90_X_NEG
ROT_90_X_NEG
field_23316
ROT_90_X_NEG
ROT_90_X_POS
ROT_90_X_POS
field_23317
ROT_90_X_POS
ROT_90_Y_NEG
ROT_90_Y_NEG
field_23318
ROT_90_Y_NEG
ROT_90_Y_POS
ROT_90_Y_POS
field_23319
ROT_90_Y_POS
ROT_90_Z_NEG
ROT_90_Z_NEG
field_23320
ROT_90_Z_NEG
ROT_90_Z_POS
ROT_90_Z_POS
field_23321
ROT_90_Z_POS
INVERSION
INVERSION
field_23322
INVERSION
INVERT_X
INVERT_X
field_23323
INVERT_X
INVERT_Y
INVERT_Y
field_23266
INVERT_Y
INVERT_Z
INVERT_Z
field_23267
INVERT_Z
ROT_60_REF_NNN
ROT_60_REF_NNN
field_23268
ROT_60_REF_NNN
ROT_60_REF_NNP
ROT_60_REF_NNP
field_23269
ROT_60_REF_NNP
ROT_60_REF_NPN
ROT_60_REF_NPN
field_23270
ROT_60_REF_NPN
ROT_60_REF_NPP
ROT_60_REF_NPP
field_23271
ROT_60_REF_NPP
ROT_60_REF_PNN
ROT_60_REF_PNN
field_23272
ROT_60_REF_PNN
ROT_60_REF_PNP
ROT_60_REF_PNP
field_23273
ROT_60_REF_PNP
ROT_60_REF_PPN
ROT_60_REF_PPN
field_23274
ROT_60_REF_PPN
ROT_60_REF_PPP
ROT_60_REF_PPP
field_23275
ROT_60_REF_PPP
SWAP_XY
SWAP_XY
field_23276
SWAP_XY
SWAP_YZ
SWAP_YZ
field_23277
SWAP_YZ
SWAP_XZ
SWAP_XZ
field_23278
SWAP_XZ
SWAP_NEG_XY
SWAP_NEG_XY
field_23279
SWAP_NEG_XY
SWAP_NEG_YZ
SWAP_NEG_YZ
field_23280
SWAP_NEG_YZ
SWAP_NEG_XZ
SWAP_NEG_XZ
field_23281
SWAP_NEG_XZ
ROT_90_REF_X_NEG
ROT_90_REF_X_NEG
field_23282
ROT_90_REF_X_NEG
ROT_90_REF_X_POS
ROT_90_REF_X_POS
field_23283
ROT_90_REF_X_POS
ROT_90_REF_Y_NEG
ROT_90_REF_Y_NEG
field_23284
ROT_90_REF_Y_NEG
ROT_90_REF_Y_POS
ROT_90_REF_Y_POS
field_23285
ROT_90_REF_Y_POS
ROT_90_REF_Z_NEG
ROT_90_REF_Z_NEG
field_23286
ROT_90_REF_Z_NEG
ROT_90_REF_Z_POS
ROT_90_REF_Z_POS
field_23287
ROT_90_REF_Z_POS

Field summary

Modifier and TypeField
public static final DirectionTransformation
BLOCK_ROT_X_270
BLOCK_ROT_X_270
field_64506
X
public static final DirectionTransformation
BLOCK_ROT_X_180
BLOCK_ROT_X_180
field_64507
X2
public static final DirectionTransformation
BLOCK_ROT_X_90
BLOCK_ROT_X_90
field_64508
X3
public static final DirectionTransformation
BLOCK_ROT_Y_270
BLOCK_ROT_Y_270
field_64509
Y
public static final DirectionTransformation
BLOCK_ROT_Y_180
BLOCK_ROT_Y_180
field_64510
Y2
public static final DirectionTransformation
BLOCK_ROT_Y_90
BLOCK_ROT_Y_90
field_64511
Y3
public static final DirectionTransformation
BLOCK_ROT_Z_270
BLOCK_ROT_Z_270
field_64512
Z
public static final DirectionTransformation
BLOCK_ROT_Z_180
BLOCK_ROT_Z_180
field_64513
Z2
public static final DirectionTransformation
BLOCK_ROT_Z_90
BLOCK_ROT_Z_90
field_64514
Z3
private final org.joml.Matrix3fc
transformation
transformation
field_23288
matrix
private final String
name
name
field_23289
name
private Map<Direction, Direction>
rotatedDirections
rotatedDirections
field_23290
mappings
private final boolean
invertX
invertX
field_23291
flipX
private final boolean
invertY
invertY
field_23293
flipY
private final boolean
invertZ
invertZ
field_23294
flipZ
private final AxisTransformation
permutation
permutation
field_23295
axisTransformation
private static final DirectionTransformation[][]
CAYLEY_TABLE
CAYLEY_TABLE
field_56956
COMBINATIONS
private static final DirectionTransformation[]
INVERSE_TABLE
INVERSE_TABLE
field_56957
INVERSES

Constructor summary

ModifierConstructor
private (String $enum$name, AxisTransformation $enum$ordinal, boolean name, boolean axisTransformation, boolean flipX)

Method summary

Modifier and TypeMethod
private static int
trace(boolean invertX, boolean invertY, boolean invertZ, SymmetricGroup3 permutation)
trace(boolean invertX, boolean invertY, boolean invertZ, SymmetricGroup3 permutation)
method_75399(boolean arg0, boolean arg1, boolean arg2, class_4998 arg3)
toIndex(boolean flipX, boolean flipY, boolean flipZ, AxisTransformation axisTransformation)
private int
trace()
trace()
method_75402()
getIndex()
public DirectionTransformation
compose(OctahedralGroup that)
compose(OctahedralGroup that)
method_26385(class_4990 arg0)
prepend(DirectionTransformation transformation)
public DirectionTransformation
inverse()
inverse()
method_35813()
inverse()
public org.joml.Matrix3fc
transformation()
transformation()
method_35814()
getMatrix()
public String
getSerializedName()
getSerializedName()
method_15434()
asString()
public Direction
rotate(Direction direction)
rotate(Direction direction)
method_26388(class_2350 arg0)
map(Direction direction)
public org.joml.Vector3i
rotate(org.joml.Vector3i v)
rotate(org.joml.Vector3i v)
method_75398(org.joml.Vector3i arg0)
map(org.joml.Vector3i vec)
public boolean
inverts(Direction$Axis axis)
inverts(Direction$Axis axis)
method_26387(class_2350$class_2351 arg0)
shouldFlipDirection(Direction$Axis axis)
public AxisTransformation
permutation()
permutation()
method_75401()
getAxisTransformation()
public Orientation
rotate(FrontAndTop input)
rotate(FrontAndTop input)
method_26389(class_5000 arg0)
mapJigsawOrientation(Orientation orientation)