Enum Class ModelTransformationMode

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

public enum ModelTransformationMode extends Enum<ModelTransformationMode> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/client/render/model/json/ModelTransformationMode
intermediary net/minecraft/class_811
official cun
  • Enum Constant Details

    • NONE

      public static final ModelTransformationMode NONE
      Mappings:
      Namespace Name Mixin selector
      named NONE Lnet/minecraft/client/render/model/json/ModelTransformationMode;NONE:Lnet/minecraft/client/render/model/json/ModelTransformationMode;
      intermediary field_4315 Lnet/minecraft/class_811;field_4315:Lnet/minecraft/class_811;
      official a Lcun;a:Lcun;
    • THIRD_PERSON_LEFT_HAND

      public static final ModelTransformationMode THIRD_PERSON_LEFT_HAND
      Mappings:
      Namespace Name Mixin selector
      named THIRD_PERSON_LEFT_HAND Lnet/minecraft/client/render/model/json/ModelTransformationMode;THIRD_PERSON_LEFT_HAND:Lnet/minecraft/client/render/model/json/ModelTransformationMode;
      intermediary field_4323 Lnet/minecraft/class_811;field_4323:Lnet/minecraft/class_811;
      official b Lcun;b:Lcun;
    • THIRD_PERSON_RIGHT_HAND

      public static final ModelTransformationMode THIRD_PERSON_RIGHT_HAND
      Mappings:
      Namespace Name Mixin selector
      named THIRD_PERSON_RIGHT_HAND Lnet/minecraft/client/render/model/json/ModelTransformationMode;THIRD_PERSON_RIGHT_HAND:Lnet/minecraft/client/render/model/json/ModelTransformationMode;
      intermediary field_4320 Lnet/minecraft/class_811;field_4320:Lnet/minecraft/class_811;
      official c Lcun;c:Lcun;
    • FIRST_PERSON_LEFT_HAND

      public static final ModelTransformationMode FIRST_PERSON_LEFT_HAND
      Mappings:
      Namespace Name Mixin selector
      named FIRST_PERSON_LEFT_HAND Lnet/minecraft/client/render/model/json/ModelTransformationMode;FIRST_PERSON_LEFT_HAND:Lnet/minecraft/client/render/model/json/ModelTransformationMode;
      intermediary field_4321 Lnet/minecraft/class_811;field_4321:Lnet/minecraft/class_811;
      official d Lcun;d:Lcun;
    • FIRST_PERSON_RIGHT_HAND

      public static final ModelTransformationMode FIRST_PERSON_RIGHT_HAND
      Mappings:
      Namespace Name Mixin selector
      named FIRST_PERSON_RIGHT_HAND Lnet/minecraft/client/render/model/json/ModelTransformationMode;FIRST_PERSON_RIGHT_HAND:Lnet/minecraft/client/render/model/json/ModelTransformationMode;
      intermediary field_4322 Lnet/minecraft/class_811;field_4322:Lnet/minecraft/class_811;
      official e Lcun;e:Lcun;
    • GUI

      public static final ModelTransformationMode GUI
      Mappings:
      Namespace Name Mixin selector
      named GUI Lnet/minecraft/client/render/model/json/ModelTransformationMode;GUI:Lnet/minecraft/client/render/model/json/ModelTransformationMode;
      intermediary field_4317 Lnet/minecraft/class_811;field_4317:Lnet/minecraft/class_811;
      official g Lcun;g:Lcun;
    • GROUND

      public static final ModelTransformationMode GROUND
      Mappings:
      Namespace Name Mixin selector
      named GROUND Lnet/minecraft/client/render/model/json/ModelTransformationMode;GROUND:Lnet/minecraft/client/render/model/json/ModelTransformationMode;
      intermediary field_4318 Lnet/minecraft/class_811;field_4318:Lnet/minecraft/class_811;
      official h Lcun;h:Lcun;
    • FIXED

      public static final ModelTransformationMode FIXED
      Mappings:
      Namespace Name Mixin selector
      named FIXED Lnet/minecraft/client/render/model/json/ModelTransformationMode;FIXED:Lnet/minecraft/client/render/model/json/ModelTransformationMode;
      intermediary field_4319 Lnet/minecraft/class_811;field_4319:Lnet/minecraft/class_811;
      official i Lcun;i:Lcun;
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<ModelTransformationMode> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/client/render/model/json/ModelTransformationMode;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_42468 Lnet/minecraft/class_811;field_42468:Lcom/mojang/serialization/Codec;
      official j Lcun;j:Lcom/mojang/serialization/Codec;
    • FROM_INDEX

      public static final IntFunction<ModelTransformationMode> FROM_INDEX
      Mappings:
      Namespace Name Mixin selector
      named FROM_INDEX Lnet/minecraft/client/render/model/json/ModelTransformationMode;FROM_INDEX:Ljava/util/function/IntFunction;
      intermediary field_42469 Lnet/minecraft/class_811;field_42469:Ljava/util/function/IntFunction;
      official k Lcun;k:Ljava/util/function/IntFunction;
    • index

      private final byte index
      Mappings:
      Namespace Name Mixin selector
      named index Lnet/minecraft/client/render/model/json/ModelTransformationMode;index:B
      intermediary field_42470 Lnet/minecraft/class_811;field_42470:B
      official l Lcun;l:B
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/client/render/model/json/ModelTransformationMode;name:Ljava/lang/String;
      intermediary field_42471 Lnet/minecraft/class_811;field_42471:Ljava/lang/String;
      official m Lcun;m:Ljava/lang/String;
  • Constructor Details

    • ModelTransformationMode

      private ModelTransformationMode(int index, String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/model/json/ModelTransformationMode;<init>(Ljava/lang/String;IILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_811;<init>(Ljava/lang/String;IILjava/lang/String;)V
      official <init> Lcun;<init>(Ljava/lang/String;IILjava/lang/String;)V
  • Method Details

    • values

      public static ModelTransformationMode[] 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 ModelTransformationMode 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
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lazu;c()Ljava/lang/String;
    • getIndex

      public byte getIndex()
      Mappings:
      Namespace Name Mixin selector
      named getIndex Lnet/minecraft/client/render/model/json/ModelTransformationMode;getIndex()B
      intermediary method_48961 Lnet/minecraft/class_811;method_48961()B
      official a Lcun;a()B
    • isFirstPerson

      public boolean isFirstPerson()
      Mappings:
      Namespace Name Mixin selector
      named isFirstPerson Lnet/minecraft/client/render/model/json/ModelTransformationMode;isFirstPerson()Z
      intermediary method_29998 Lnet/minecraft/class_811;method_29998()Z
      official b Lcun;b()Z