Package net.minecraft.util.math
Enum Class AxisTransformation
- All Implemented Interfaces:
Serializable,Comparable<AxisTransformation>,Constable
- Mappings:
Namespace Name official hintermediary net/minecraft/class_4998named 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
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final AxisTransformation[][]private static final intprivate final int[]private final Matrix3f -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateAxisTransformation(int xMapping, int yMapping, int zMapping) -
Method Summary
Modifier and TypeMethodDescriptionintmap(int oldAxis) prepend(AxisTransformation transformation) static AxisTransformationReturns 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 aLh;a:Lh;intermediary field_23362Lnet/minecraft/class_4998;field_23362:Lnet/minecraft/class_4998;named P123Lnet/minecraft/util/math/AxisTransformation;P123:Lnet/minecraft/util/math/AxisTransformation;
-
P213
- Mappings:
Namespace Name Mixin selector official bLh;b:Lh;intermediary field_23363Lnet/minecraft/class_4998;field_23363:Lnet/minecraft/class_4998;named P213Lnet/minecraft/util/math/AxisTransformation;P213:Lnet/minecraft/util/math/AxisTransformation;
-
P132
- Mappings:
Namespace Name Mixin selector official cLh;c:Lh;intermediary field_23364Lnet/minecraft/class_4998;field_23364:Lnet/minecraft/class_4998;named P132Lnet/minecraft/util/math/AxisTransformation;P132:Lnet/minecraft/util/math/AxisTransformation;
-
P231
- Mappings:
Namespace Name Mixin selector official dLh;d:Lh;intermediary field_23365Lnet/minecraft/class_4998;field_23365:Lnet/minecraft/class_4998;named P231Lnet/minecraft/util/math/AxisTransformation;P231:Lnet/minecraft/util/math/AxisTransformation;
-
P312
- Mappings:
Namespace Name Mixin selector official eLh;e:Lh;intermediary field_23366Lnet/minecraft/class_4998;field_23366:Lnet/minecraft/class_4998;named P312Lnet/minecraft/util/math/AxisTransformation;P312:Lnet/minecraft/util/math/AxisTransformation;
-
P321
- Mappings:
Namespace Name Mixin selector official fLh;f:Lh;intermediary field_23367Lnet/minecraft/class_4998;field_23367:Lnet/minecraft/class_4998;named P321Lnet/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 iLh;i:Iintermediary field_33113Lnet/minecraft/class_4998;field_33113:Inamed field_33113Lnet/minecraft/util/math/AxisTransformation;field_33113:I
-
COMBINATIONS
- Mappings:
Namespace Name Mixin selector official jLh;j:[[Lh;intermediary field_23370Lnet/minecraft/class_4998;field_23370:[[Lnet/minecraft/class_4998;named COMBINATIONSLnet/minecraft/util/math/AxisTransformation;COMBINATIONS:[[Lnet/minecraft/util/math/AxisTransformation;
-
mappings
private final int[] mappings- Mappings:
Namespace Name Mixin selector official gLh;g:[Iintermediary field_23368Lnet/minecraft/class_4998;field_23368:[Inamed mappingsLnet/minecraft/util/math/AxisTransformation;mappings:[I
-
matrix
- Mappings:
Namespace Name Mixin selector official hLh;h:Lc;intermediary field_23369Lnet/minecraft/class_4998;field_23369:Lnet/minecraft/class_4581;named matrixLnet/minecraft/util/math/AxisTransformation;matrix:Lnet/minecraft/util/math/Matrix3f;
-
-
Constructor Details
-
AxisTransformation
private AxisTransformation(int xMapping, int yMapping, int zMapping) - Mappings:
Namespace Name Mixin selector official <init>Lh;<init>(Ljava/lang/String;IIII)Vintermediary <init>Lnet/minecraft/class_4998;<init>(Ljava/lang/String;IIII)Vnamed <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 aLh;a(Lh;)Lh;intermediary method_26418Lnet/minecraft/class_4998;method_26418(Lnet/minecraft/class_4998;)Lnet/minecraft/class_4998;named prependLnet/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 aLh;a(I)Iintermediary method_26417Lnet/minecraft/class_4998;method_26417(I)Inamed mapLnet/minecraft/util/math/AxisTransformation;map(I)I
-
getMatrix
- Mappings:
Namespace Name Mixin selector official aLh;a()Lc;intermediary method_26416Lnet/minecraft/class_4998;method_26416()Lnet/minecraft/class_4581;named getMatrixLnet/minecraft/util/math/AxisTransformation;getMatrix()Lnet/minecraft/util/math/Matrix3f;
-