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
named net/minecraft/util/math/AxisTransformation
intermediary net/minecraft/class_4998
official i
  • Enum Constant Details

    • P123

      public static final AxisTransformation P123
      Mappings:
      Namespace Name Mixin selector
      named P123 Lnet/minecraft/util/math/AxisTransformation;P123:Lnet/minecraft/util/math/AxisTransformation;
      intermediary field_23362 Lnet/minecraft/class_4998;field_23362:Lnet/minecraft/class_4998;
      official a Li;a:Li;
    • P213

      public static final AxisTransformation P213
      Mappings:
      Namespace Name Mixin selector
      named P213 Lnet/minecraft/util/math/AxisTransformation;P213:Lnet/minecraft/util/math/AxisTransformation;
      intermediary field_23363 Lnet/minecraft/class_4998;field_23363:Lnet/minecraft/class_4998;
      official b Li;b:Li;
    • P132

      public static final AxisTransformation P132
      Mappings:
      Namespace Name Mixin selector
      named P132 Lnet/minecraft/util/math/AxisTransformation;P132:Lnet/minecraft/util/math/AxisTransformation;
      intermediary field_23364 Lnet/minecraft/class_4998;field_23364:Lnet/minecraft/class_4998;
      official c Li;c:Li;
    • P231

      public static final AxisTransformation P231
      Mappings:
      Namespace Name Mixin selector
      named P231 Lnet/minecraft/util/math/AxisTransformation;P231:Lnet/minecraft/util/math/AxisTransformation;
      intermediary field_23365 Lnet/minecraft/class_4998;field_23365:Lnet/minecraft/class_4998;
      official d Li;d:Li;
    • P312

      public static final AxisTransformation P312
      Mappings:
      Namespace Name Mixin selector
      named P312 Lnet/minecraft/util/math/AxisTransformation;P312:Lnet/minecraft/util/math/AxisTransformation;
      intermediary field_23366 Lnet/minecraft/class_4998;field_23366:Lnet/minecraft/class_4998;
      official e Li;e:Li;
    • P321

      public static final AxisTransformation P321
      Mappings:
      Namespace Name Mixin selector
      named P321 Lnet/minecraft/util/math/AxisTransformation;P321:Lnet/minecraft/util/math/AxisTransformation;
      intermediary field_23367 Lnet/minecraft/class_4998;field_23367:Lnet/minecraft/class_4998;
      official f Li;f:Li;
  • Field Details

    • NUM_AXES

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

      private static final AxisTransformation[][] COMBINATIONS
      Mappings:
      Namespace Name Mixin selector
      named COMBINATIONS Lnet/minecraft/util/math/AxisTransformation;COMBINATIONS:[[Lnet/minecraft/util/math/AxisTransformation;
      intermediary field_23370 Lnet/minecraft/class_4998;field_23370:[[Lnet/minecraft/class_4998;
      official j Li;j:[[Li;
    • mappings

      private final int[] mappings
      Mappings:
      Namespace Name Mixin selector
      named mappings Lnet/minecraft/util/math/AxisTransformation;mappings:[I
      intermediary field_23368 Lnet/minecraft/class_4998;field_23368:[I
      official g Li;g:[I
    • matrix

      private final Matrix3f matrix
      Mappings:
      Namespace Name Mixin selector
      named matrix Lnet/minecraft/util/math/AxisTransformation;matrix:Lorg/joml/Matrix3f;
      intermediary field_23369 Lnet/minecraft/class_4998;field_23369:Lorg/joml/Matrix3f;
      official h Li;h:Lorg/joml/Matrix3f;
  • Constructor Details

    • AxisTransformation

      private AxisTransformation(int xMapping, int yMapping, int zMapping)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/math/AxisTransformation;<init>(Ljava/lang/String;IIII)V
      intermediary <init> Lnet/minecraft/class_4998;<init>(Ljava/lang/String;IIII)V
      official <init> Li;<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
      named prepend Lnet/minecraft/util/math/AxisTransformation;prepend(Lnet/minecraft/util/math/AxisTransformation;)Lnet/minecraft/util/math/AxisTransformation;
      intermediary method_26418 Lnet/minecraft/class_4998;method_26418(Lnet/minecraft/class_4998;)Lnet/minecraft/class_4998;
      official a Li;a(Li;)Li;
    • map

      public int map(int oldAxis)
      Mappings:
      Namespace Name Mixin selector
      named map Lnet/minecraft/util/math/AxisTransformation;map(I)I
      intermediary method_26417 Lnet/minecraft/class_4998;method_26417(I)I
      official a Li;a(I)I
    • getMatrix

      public Matrix3f getMatrix()
      Mappings:
      Namespace Name Mixin selector
      named getMatrix Lnet/minecraft/util/math/AxisTransformation;getMatrix()Lorg/joml/Matrix3f;
      intermediary method_26416 Lnet/minecraft/class_4998;method_26416()Lorg/joml/Matrix3f;
      official a Li;a()Lorg/joml/Matrix3f;