Enum Class ModelRotation

java.lang.Object
java.lang.Enum<ModelRotation>
net.minecraft.client.render.model.ModelRotation
All Implemented Interfaces:
Serializable, Comparable<ModelRotation>, Constable, ModelBakeSettings

@Environment(CLIENT) public enum ModelRotation extends Enum<ModelRotation> implements ModelBakeSettings
Mappings:
Namespace Name
official eyy
intermediary net/minecraft/class_1086
named net/minecraft/client/render/model/ModelRotation
  • Enum Constant Details

    • X0_Y0

      public static final ModelRotation X0_Y0
      Mappings:
      Namespace Name Mixin selector
      official a Leyy;a:Leyy;
      intermediary field_5350 Lnet/minecraft/class_1086;field_5350:Lnet/minecraft/class_1086;
      named X0_Y0 Lnet/minecraft/client/render/model/ModelRotation;X0_Y0:Lnet/minecraft/client/render/model/ModelRotation;
    • X0_Y90

      public static final ModelRotation X0_Y90
      Mappings:
      Namespace Name Mixin selector
      official b Leyy;b:Leyy;
      intermediary field_5366 Lnet/minecraft/class_1086;field_5366:Lnet/minecraft/class_1086;
      named X0_Y90 Lnet/minecraft/client/render/model/ModelRotation;X0_Y90:Lnet/minecraft/client/render/model/ModelRotation;
    • X0_Y180

      public static final ModelRotation X0_Y180
      Mappings:
      Namespace Name Mixin selector
      official c Leyy;c:Leyy;
      intermediary field_5355 Lnet/minecraft/class_1086;field_5355:Lnet/minecraft/class_1086;
      named X0_Y180 Lnet/minecraft/client/render/model/ModelRotation;X0_Y180:Lnet/minecraft/client/render/model/ModelRotation;
    • X0_Y270

      public static final ModelRotation X0_Y270
      Mappings:
      Namespace Name Mixin selector
      official d Leyy;d:Leyy;
      intermediary field_5347 Lnet/minecraft/class_1086;field_5347:Lnet/minecraft/class_1086;
      named X0_Y270 Lnet/minecraft/client/render/model/ModelRotation;X0_Y270:Lnet/minecraft/client/render/model/ModelRotation;
    • X90_Y0

      public static final ModelRotation X90_Y0
      Mappings:
      Namespace Name Mixin selector
      official e Leyy;e:Leyy;
      intermediary field_5351 Lnet/minecraft/class_1086;field_5351:Lnet/minecraft/class_1086;
      named X90_Y0 Lnet/minecraft/client/render/model/ModelRotation;X90_Y0:Lnet/minecraft/client/render/model/ModelRotation;
    • X90_Y90

      public static final ModelRotation X90_Y90
      Mappings:
      Namespace Name Mixin selector
      official f Leyy;f:Leyy;
      intermediary field_5360 Lnet/minecraft/class_1086;field_5360:Lnet/minecraft/class_1086;
      named X90_Y90 Lnet/minecraft/client/render/model/ModelRotation;X90_Y90:Lnet/minecraft/client/render/model/ModelRotation;
    • X90_Y180

      public static final ModelRotation X90_Y180
      Mappings:
      Namespace Name Mixin selector
      official g Leyy;g:Leyy;
      intermediary field_5367 Lnet/minecraft/class_1086;field_5367:Lnet/minecraft/class_1086;
      named X90_Y180 Lnet/minecraft/client/render/model/ModelRotation;X90_Y180:Lnet/minecraft/client/render/model/ModelRotation;
    • X90_Y270

      public static final ModelRotation X90_Y270
      Mappings:
      Namespace Name Mixin selector
      official h Leyy;h:Leyy;
      intermediary field_5354 Lnet/minecraft/class_1086;field_5354:Lnet/minecraft/class_1086;
      named X90_Y270 Lnet/minecraft/client/render/model/ModelRotation;X90_Y270:Lnet/minecraft/client/render/model/ModelRotation;
    • X180_Y0

      public static final ModelRotation X180_Y0
      Mappings:
      Namespace Name Mixin selector
      official i Leyy;i:Leyy;
      intermediary field_5358 Lnet/minecraft/class_1086;field_5358:Lnet/minecraft/class_1086;
      named X180_Y0 Lnet/minecraft/client/render/model/ModelRotation;X180_Y0:Lnet/minecraft/client/render/model/ModelRotation;
    • X180_Y90

      public static final ModelRotation X180_Y90
      Mappings:
      Namespace Name Mixin selector
      official j Leyy;j:Leyy;
      intermediary field_5348 Lnet/minecraft/class_1086;field_5348:Lnet/minecraft/class_1086;
      named X180_Y90 Lnet/minecraft/client/render/model/ModelRotation;X180_Y90:Lnet/minecraft/client/render/model/ModelRotation;
    • X180_Y180

      public static final ModelRotation X180_Y180
      Mappings:
      Namespace Name Mixin selector
      official k Leyy;k:Leyy;
      intermediary field_5356 Lnet/minecraft/class_1086;field_5356:Lnet/minecraft/class_1086;
      named X180_Y180 Lnet/minecraft/client/render/model/ModelRotation;X180_Y180:Lnet/minecraft/client/render/model/ModelRotation;
    • X180_Y270

      public static final ModelRotation X180_Y270
      Mappings:
      Namespace Name Mixin selector
      official l Leyy;l:Leyy;
      intermediary field_5359 Lnet/minecraft/class_1086;field_5359:Lnet/minecraft/class_1086;
      named X180_Y270 Lnet/minecraft/client/render/model/ModelRotation;X180_Y270:Lnet/minecraft/client/render/model/ModelRotation;
    • X270_Y0

      public static final ModelRotation X270_Y0
      Mappings:
      Namespace Name Mixin selector
      official m Leyy;m:Leyy;
      intermediary field_5353 Lnet/minecraft/class_1086;field_5353:Lnet/minecraft/class_1086;
      named X270_Y0 Lnet/minecraft/client/render/model/ModelRotation;X270_Y0:Lnet/minecraft/client/render/model/ModelRotation;
    • X270_Y90

      public static final ModelRotation X270_Y90
      Mappings:
      Namespace Name Mixin selector
      official n Leyy;n:Leyy;
      intermediary field_5349 Lnet/minecraft/class_1086;field_5349:Lnet/minecraft/class_1086;
      named X270_Y90 Lnet/minecraft/client/render/model/ModelRotation;X270_Y90:Lnet/minecraft/client/render/model/ModelRotation;
    • X270_Y180

      public static final ModelRotation X270_Y180
      Mappings:
      Namespace Name Mixin selector
      official o Leyy;o:Leyy;
      intermediary field_5361 Lnet/minecraft/class_1086;field_5361:Lnet/minecraft/class_1086;
      named X270_Y180 Lnet/minecraft/client/render/model/ModelRotation;X270_Y180:Lnet/minecraft/client/render/model/ModelRotation;
    • X270_Y270

      public static final ModelRotation X270_Y270
      Mappings:
      Namespace Name Mixin selector
      official p Leyy;p:Leyy;
      intermediary field_5352 Lnet/minecraft/class_1086;field_5352:Lnet/minecraft/class_1086;
      named X270_Y270 Lnet/minecraft/client/render/model/ModelRotation;X270_Y270:Lnet/minecraft/client/render/model/ModelRotation;
  • Field Details

    • field_32982

      private static final int field_32982
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official q Leyy;q:I
      intermediary field_32982 Lnet/minecraft/class_1086;field_32982:I
      named field_32982 Lnet/minecraft/client/render/model/ModelRotation;field_32982:I
    • BY_INDEX

      private static final Map<Integer,​ModelRotation> BY_INDEX
      Mappings:
      Namespace Name Mixin selector
      official r Leyy;r:Ljava/util/Map;
      intermediary field_5357 Lnet/minecraft/class_1086;field_5357:Ljava/util/Map;
      named BY_INDEX Lnet/minecraft/client/render/model/ModelRotation;BY_INDEX:Ljava/util/Map;
    • rotation

      private final AffineTransformation rotation
      Mappings:
      Namespace Name Mixin selector
      official s Leyy;s:Li;
      intermediary field_23373 Lnet/minecraft/class_1086;field_23373:Lnet/minecraft/class_4590;
      named rotation Lnet/minecraft/client/render/model/ModelRotation;rotation:Lnet/minecraft/util/math/AffineTransformation;
    • directionTransformation

      private final DirectionTransformation directionTransformation
      Mappings:
      Namespace Name Mixin selector
      official t Leyy;t:Lf;
      intermediary field_23374 Lnet/minecraft/class_1086;field_23374:Lnet/minecraft/class_4990;
      named directionTransformation Lnet/minecraft/client/render/model/ModelRotation;directionTransformation:Lnet/minecraft/util/math/DirectionTransformation;
    • index

      private final int index
      Mappings:
      Namespace Name Mixin selector
      official u Leyy;u:I
      intermediary field_5364 Lnet/minecraft/class_1086;field_5364:I
      named index Lnet/minecraft/client/render/model/ModelRotation;index:I
  • Constructor Details

    • ModelRotation

      private ModelRotation(int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leyy;<init>(Ljava/lang/String;III)V
      intermediary <init> Lnet/minecraft/class_1086;<init>(Ljava/lang/String;III)V
      named <init> Lnet/minecraft/client/render/model/ModelRotation;<init>(Ljava/lang/String;III)V
  • Method Details

    • values

      public static ModelRotation[] 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 ModelRotation 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
    • getIndex

      private static int getIndex(int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official b Leyy;b(II)I
      intermediary method_4703 Lnet/minecraft/class_1086;method_4703(II)I
      named getIndex Lnet/minecraft/client/render/model/ModelRotation;getIndex(II)I
    • getRotation

      public AffineTransformation getRotation()
      Specified by:
      getRotation in interface ModelBakeSettings
      Mappings:
      Namespace Name Mixin selector
      official b Leze;b()Li;
      intermediary method_3509 Lnet/minecraft/class_3665;method_3509()Lnet/minecraft/class_4590;
      named getRotation Lnet/minecraft/client/render/model/ModelBakeSettings;getRotation()Lnet/minecraft/util/math/AffineTransformation;
    • get

      public static ModelRotation get(int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Leyy;a(II)Leyy;
      intermediary method_4699 Lnet/minecraft/class_1086;method_4699(II)Lnet/minecraft/class_1086;
      named get Lnet/minecraft/client/render/model/ModelRotation;get(II)Lnet/minecraft/client/render/model/ModelRotation;
    • getDirectionTransformation

      public DirectionTransformation getDirectionTransformation()
      Mappings:
      Namespace Name Mixin selector
      official a Leyy;a()Lf;
      intermediary method_35808 Lnet/minecraft/class_1086;method_35808()Lnet/minecraft/class_4990;
      named getDirectionTransformation Lnet/minecraft/client/render/model/ModelRotation;getDirectionTransformation()Lnet/minecraft/util/math/DirectionTransformation;