Enum ModelRotation

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

@Environment(CLIENT)
public enum ModelRotation
extends Enum<ModelRotation>
Mappings:
Namespace Name
official bor
intermediary net/minecraft/class_1289
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 Lbor;a:Lbor;
      intermediary field_5330 Lnet/minecraft/class_1289;field_5330:Lnet/minecraft/class_1289;
      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 Lbor;b:Lbor;
      intermediary field_5331 Lnet/minecraft/class_1289;field_5331:Lnet/minecraft/class_1289;
      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 Lbor;c:Lbor;
      intermediary field_5332 Lnet/minecraft/class_1289;field_5332:Lnet/minecraft/class_1289;
      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 Lbor;d:Lbor;
      intermediary field_5333 Lnet/minecraft/class_1289;field_5333:Lnet/minecraft/class_1289;
      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 Lbor;e:Lbor;
      intermediary field_5334 Lnet/minecraft/class_1289;field_5334:Lnet/minecraft/class_1289;
      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 Lbor;f:Lbor;
      intermediary field_5335 Lnet/minecraft/class_1289;field_5335:Lnet/minecraft/class_1289;
      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 Lbor;g:Lbor;
      intermediary field_5336 Lnet/minecraft/class_1289;field_5336:Lnet/minecraft/class_1289;
      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 Lbor;h:Lbor;
      intermediary field_5337 Lnet/minecraft/class_1289;field_5337:Lnet/minecraft/class_1289;
      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 Lbor;i:Lbor;
      intermediary field_5338 Lnet/minecraft/class_1289;field_5338:Lnet/minecraft/class_1289;
      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 Lbor;j:Lbor;
      intermediary field_5339 Lnet/minecraft/class_1289;field_5339:Lnet/minecraft/class_1289;
      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 Lbor;k:Lbor;
      intermediary field_5340 Lnet/minecraft/class_1289;field_5340:Lnet/minecraft/class_1289;
      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 Lbor;l:Lbor;
      intermediary field_5341 Lnet/minecraft/class_1289;field_5341:Lnet/minecraft/class_1289;
      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 Lbor;m:Lbor;
      intermediary field_5342 Lnet/minecraft/class_1289;field_5342:Lnet/minecraft/class_1289;
      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 Lbor;n:Lbor;
      intermediary field_5343 Lnet/minecraft/class_1289;field_5343:Lnet/minecraft/class_1289;
      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 Lbor;o:Lbor;
      intermediary field_5344 Lnet/minecraft/class_1289;field_5344:Lnet/minecraft/class_1289;
      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 Lbor;p:Lbor;
      intermediary field_5345 Lnet/minecraft/class_1289;field_5345:Lnet/minecraft/class_1289;
      named X270_Y270 Lnet/minecraft/client/render/model/ModelRotation;X270_Y270:Lnet/minecraft/client/render/model/ModelRotation;
  • Field Details

    • field_5346

      private static final Map<Integer,​ModelRotation> field_5346
      Mappings:
      Namespace Name Mixin selector
      official q Lbor;q:Ljava/util/Map;
      intermediary field_5346 Lnet/minecraft/class_1289;field_5346:Ljava/util/Map;
      named field_5346 Lnet/minecraft/client/render/model/ModelRotation;field_5346:Ljava/util/Map;
    • field_5347

      private final int field_5347
      Mappings:
      Namespace Name Mixin selector
      official r Lbor;r:I
      intermediary field_5347 Lnet/minecraft/class_1289;field_5347:I
      named field_5347 Lnet/minecraft/client/render/model/ModelRotation;field_5347:I
    • field_5348

      private final org.lwjgl.util.vector.Matrix4f field_5348
      Mappings:
      Namespace Name Mixin selector
      official s Lbor;s:Lorg/lwjgl/util/vector/Matrix4f;
      intermediary field_5348 Lnet/minecraft/class_1289;field_5348:Lorg/lwjgl/util/vector/Matrix4f;
      named field_5348 Lnet/minecraft/client/render/model/ModelRotation;field_5348:Lorg/lwjgl/util/vector/Matrix4f;
    • field_5349

      private final int field_5349
      Mappings:
      Namespace Name Mixin selector
      official t Lbor;t:I
      intermediary field_5349 Lnet/minecraft/class_1289;field_5349:I
      named field_5349 Lnet/minecraft/client/render/model/ModelRotation;field_5349:I
    • field_5350

      private final int field_5350
      Mappings:
      Namespace Name Mixin selector
      official u Lbor;u:I
      intermediary field_5350 Lnet/minecraft/class_1289;field_5350:I
      named field_5350 Lnet/minecraft/client/render/model/ModelRotation;field_5350:I
  • Constructor Details

    • ModelRotation

      private ModelRotation​(int int2, int int3)
  • Method Details

    • values

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

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

      private static int getIndex​(int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official b Lbor;b(II)I
      intermediary method_4463 Lnet/minecraft/class_1289;method_4463(II)I
      named getIndex Lnet/minecraft/client/render/model/ModelRotation;getIndex(II)I
    • method_4459

      public org.lwjgl.util.vector.Matrix4f method_4459()
      Mappings:
      Namespace Name Mixin selector
      official a Lbor;a()Lorg/lwjgl/util/vector/Matrix4f;
      intermediary method_4459 Lnet/minecraft/class_1289;method_4459()Lorg/lwjgl/util/vector/Matrix4f;
      named method_4459 Lnet/minecraft/client/render/model/ModelRotation;method_4459()Lorg/lwjgl/util/vector/Matrix4f;
    • method_4461

      public Direction method_4461​(Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lbor;a(Lcq;)Lcq;
      intermediary method_4461 Lnet/minecraft/class_1289;method_4461(Lnet/minecraft/class_1383;)Lnet/minecraft/class_1383;
      named method_4461 Lnet/minecraft/client/render/model/ModelRotation;method_4461(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/util/math/Direction;
    • method_4462

      public int method_4462​(Direction direction, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lbor;a(Lcq;I)I
      intermediary method_4462 Lnet/minecraft/class_1289;method_4462(Lnet/minecraft/class_1383;I)I
      named method_4462 Lnet/minecraft/client/render/model/ModelRotation;method_4462(Lnet/minecraft/util/math/Direction;I)I
    • get

      public static ModelRotation get​(int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Lbor;a(II)Lbor;
      intermediary method_4460 Lnet/minecraft/class_1289;method_4460(II)Lnet/minecraft/class_1289;
      named get Lnet/minecraft/client/render/model/ModelRotation;get(II)Lnet/minecraft/client/render/model/ModelRotation;