Package net.minecraft.util.math
Enum Class AxisTransformation
- All Implemented Interfaces:
Serializable
,Comparable<AxisTransformation>
,Constable
- Mappings:
Namespace Name official i
intermediary net/minecraft/class_4998
named net/minecraft/util/math/AxisTransformation
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final AxisTransformation[][]
private static final int
private final int[]
private final Matrix3f
-
Constructor Summary
ModifierConstructorDescriptionprivate
AxisTransformation
(int xMapping, int yMapping, int zMapping) -
Method Summary
Modifier and TypeMethodDescriptionint
map
(int oldAxis) prepend
(AxisTransformation transformation) static AxisTransformation
Returns the enum constant of this class with the specified name.static AxisTransformation[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
P123
- Mappings:
Namespace Name Mixin selector official a
Li;a:Li;
intermediary field_23362
Lnet/minecraft/class_4998;field_23362:Lnet/minecraft/class_4998;
named P123
Lnet/minecraft/util/math/AxisTransformation;P123:Lnet/minecraft/util/math/AxisTransformation;
-
P213
- Mappings:
Namespace Name Mixin selector official b
Li;b:Li;
intermediary field_23363
Lnet/minecraft/class_4998;field_23363:Lnet/minecraft/class_4998;
named P213
Lnet/minecraft/util/math/AxisTransformation;P213:Lnet/minecraft/util/math/AxisTransformation;
-
P132
- Mappings:
Namespace Name Mixin selector official c
Li;c:Li;
intermediary field_23364
Lnet/minecraft/class_4998;field_23364:Lnet/minecraft/class_4998;
named P132
Lnet/minecraft/util/math/AxisTransformation;P132:Lnet/minecraft/util/math/AxisTransformation;
-
P231
- Mappings:
Namespace Name Mixin selector official d
Li;d:Li;
intermediary field_23365
Lnet/minecraft/class_4998;field_23365:Lnet/minecraft/class_4998;
named P231
Lnet/minecraft/util/math/AxisTransformation;P231:Lnet/minecraft/util/math/AxisTransformation;
-
P312
- Mappings:
Namespace Name Mixin selector official e
Li;e:Li;
intermediary field_23366
Lnet/minecraft/class_4998;field_23366:Lnet/minecraft/class_4998;
named P312
Lnet/minecraft/util/math/AxisTransformation;P312:Lnet/minecraft/util/math/AxisTransformation;
-
P321
- Mappings:
Namespace Name Mixin selector official f
Li;f:Li;
intermediary field_23367
Lnet/minecraft/class_4998;field_23367:Lnet/minecraft/class_4998;
named P321
Lnet/minecraft/util/math/AxisTransformation;P321:Lnet/minecraft/util/math/AxisTransformation;
-
-
Field Details
-
field_33113
private static final int field_33113- See Also:
- Mappings:
Namespace Name Mixin selector official i
Li;i:I
intermediary field_33113
Lnet/minecraft/class_4998;field_33113:I
named field_33113
Lnet/minecraft/util/math/AxisTransformation;field_33113:I
-
COMBINATIONS
- Mappings:
Namespace Name Mixin selector official j
Li;j:[[Li;
intermediary field_23370
Lnet/minecraft/class_4998;field_23370:[[Lnet/minecraft/class_4998;
named COMBINATIONS
Lnet/minecraft/util/math/AxisTransformation;COMBINATIONS:[[Lnet/minecraft/util/math/AxisTransformation;
-
mappings
private final int[] mappings- Mappings:
Namespace Name Mixin selector official g
Li;g:[I
intermediary field_23368
Lnet/minecraft/class_4998;field_23368:[I
named mappings
Lnet/minecraft/util/math/AxisTransformation;mappings:[I
-
matrix
- Mappings:
Namespace Name Mixin selector official h
Li;h:Lorg/joml/Matrix3f;
intermediary field_23369
Lnet/minecraft/class_4998;field_23369:Lorg/joml/Matrix3f;
named matrix
Lnet/minecraft/util/math/AxisTransformation;matrix:Lorg/joml/Matrix3f;
-
-
Constructor Details
-
AxisTransformation
private AxisTransformation(int xMapping, int yMapping, int zMapping) - Mappings:
Namespace Name Mixin selector official <init>
Li;<init>(Ljava/lang/String;IIII)V
intermediary <init>
Lnet/minecraft/class_4998;<init>(Ljava/lang/String;IIII)V
named <init>
Lnet/minecraft/util/math/AxisTransformation;<init>(Ljava/lang/String;IIII)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
prepend
- Mappings:
Namespace Name Mixin selector official a
Li;a(Li;)Li;
intermediary method_26418
Lnet/minecraft/class_4998;method_26418(Lnet/minecraft/class_4998;)Lnet/minecraft/class_4998;
named prepend
Lnet/minecraft/util/math/AxisTransformation;prepend(Lnet/minecraft/util/math/AxisTransformation;)Lnet/minecraft/util/math/AxisTransformation;
-
map
public int map(int oldAxis) - Mappings:
Namespace Name Mixin selector official a
Li;a(I)I
intermediary method_26417
Lnet/minecraft/class_4998;method_26417(I)I
named map
Lnet/minecraft/util/math/AxisTransformation;map(I)I
-
getMatrix
- Mappings:
Namespace Name Mixin selector official a
Li;a()Lorg/joml/Matrix3f;
intermediary method_26416
Lnet/minecraft/class_4998;method_26416()Lorg/joml/Matrix3f;
named getMatrix
Lnet/minecraft/util/math/AxisTransformation;getMatrix()Lorg/joml/Matrix3f;
-