Enum Class AxisTransformation

java.lang.Object
java.lang.Enum<AxisTransformation>
net.minecraft.util.math.AxisTransformation
All Implemented Interfaces:
Serializable, Comparable<AxisTransformation>, Constable

public enum AxisTransformation extends Enum<AxisTransformation>
Mappings:
Namespace Name
official i
intermediary net/minecraft/class_4998
named net/minecraft/util/math/AxisTransformation
  • Enum Constant Details

    • P123

      public static final AxisTransformation 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

      public static final 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

      public static final 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

      public static final 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

      public static final 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

      public static final 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

    • NUM_AXES

      private static final int NUM_AXES
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official i Li;i:I
      intermediary field_33113 Lnet/minecraft/class_4998;field_33113:I
      named NUM_AXES Lnet/minecraft/util/math/AxisTransformation;NUM_AXES:I
    • COMBINATIONS

      private static final AxisTransformation[][] 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

      private final Matrix3f 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

      public static AxisTransformation[] 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

      public static AxisTransformation valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • prepend

      public AxisTransformation prepend(AxisTransformation transformation)
      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

      public Matrix3f 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;