Package net.minecraft.util.math
Enum AxisTransformation
- All Implemented Interfaces:
Serializable
,Comparable<AxisTransformation>
,java.lang.constant.Constable
public enum AxisTransformation extends Enum<AxisTransformation>
- Mappings:
Namespace Name official e
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
Fields Modifier and Type Field Description private static AxisTransformation[][]
COMBINATIONS
private int[]
mappings
private Matrix3f
matrix
-
Constructor Summary
Constructors Modifier Constructor Description private
AxisTransformation(int xMapping, int yMapping, int zMapping)
-
Method Summary
Modifier and Type Method Description Matrix3f
getMatrix()
int
map(int oldAxis)
AxisTransformation
prepend(AxisTransformation transformation)
static AxisTransformation
valueOf(String name)
Returns the enum constant of this type with the specified name.static AxisTransformation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
P123
- Mappings:
Namespace Name Mixin selector official a
Le;a:Le;
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
Le;b:Le;
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
Le;c:Le;
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
Le;d:Le;
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
Le;e:Le;
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
Le;f:Le;
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
-
COMBINATIONS
- Mappings:
Namespace Name Mixin selector official i
Le;i:[[Le;
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
Le;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
Le;h:La;
intermediary field_23369
Lnet/minecraft/class_4998;field_23369:Lnet/minecraft/class_4581;
named matrix
Lnet/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>
Le;<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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
prepend
- Mappings:
Namespace Name Mixin selector official a
Le;a(Le;)Le;
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
Le;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
Le;a()La;
intermediary method_26416
Lnet/minecraft/class_4998;method_26416()Lnet/minecraft/class_4581;
named getMatrix
Lnet/minecraft/util/math/AxisTransformation;getMatrix()Lnet/minecraft/util/math/Matrix3f;
-