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 intermediary net/minecraft/class_811official cfunamed net/minecraft/client/render/model/json/ModelTransformationMode
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.Codec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIdentifiable.Codec<ModelTransformationMode>static final IntFunction<ModelTransformationMode>private final byteprivate final StringFields inherited from interface net.minecraft.util.StringIdentifiable
field_38377 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.bytegetIndex()booleanstatic ModelTransformationModeReturns the enum constant of this class with the specified name.static ModelTransformationMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
- Mappings:
Namespace Name Mixin selector intermediary field_4315Lnet/minecraft/class_811;field_4315:Lnet/minecraft/class_811;official aLcfu;a:Lcfu;named NONELnet/minecraft/client/render/model/json/ModelTransformationMode;NONE:Lnet/minecraft/client/render/model/json/ModelTransformationMode;
-
THIRD_PERSON_LEFT_HAND
- Mappings:
Namespace Name Mixin selector intermediary field_4323Lnet/minecraft/class_811;field_4323:Lnet/minecraft/class_811;official bLcfu;b:Lcfu;named THIRD_PERSON_LEFT_HANDLnet/minecraft/client/render/model/json/ModelTransformationMode;THIRD_PERSON_LEFT_HAND:Lnet/minecraft/client/render/model/json/ModelTransformationMode;
-
THIRD_PERSON_RIGHT_HAND
- Mappings:
Namespace Name Mixin selector intermediary field_4320Lnet/minecraft/class_811;field_4320:Lnet/minecraft/class_811;official cLcfu;c:Lcfu;named THIRD_PERSON_RIGHT_HANDLnet/minecraft/client/render/model/json/ModelTransformationMode;THIRD_PERSON_RIGHT_HAND:Lnet/minecraft/client/render/model/json/ModelTransformationMode;
-
FIRST_PERSON_LEFT_HAND
- Mappings:
Namespace Name Mixin selector intermediary field_4321Lnet/minecraft/class_811;field_4321:Lnet/minecraft/class_811;official dLcfu;d:Lcfu;named FIRST_PERSON_LEFT_HANDLnet/minecraft/client/render/model/json/ModelTransformationMode;FIRST_PERSON_LEFT_HAND:Lnet/minecraft/client/render/model/json/ModelTransformationMode;
-
FIRST_PERSON_RIGHT_HAND
- Mappings:
Namespace Name Mixin selector intermediary field_4322Lnet/minecraft/class_811;field_4322:Lnet/minecraft/class_811;official eLcfu;e:Lcfu;named FIRST_PERSON_RIGHT_HANDLnet/minecraft/client/render/model/json/ModelTransformationMode;FIRST_PERSON_RIGHT_HAND:Lnet/minecraft/client/render/model/json/ModelTransformationMode;
-
HEAD
- Mappings:
Namespace Name Mixin selector intermediary field_4316Lnet/minecraft/class_811;field_4316:Lnet/minecraft/class_811;official fLcfu;f:Lcfu;named HEADLnet/minecraft/client/render/model/json/ModelTransformationMode;HEAD:Lnet/minecraft/client/render/model/json/ModelTransformationMode;
-
GUI
- Mappings:
Namespace Name Mixin selector intermediary field_4317Lnet/minecraft/class_811;field_4317:Lnet/minecraft/class_811;official gLcfu;g:Lcfu;named GUILnet/minecraft/client/render/model/json/ModelTransformationMode;GUI:Lnet/minecraft/client/render/model/json/ModelTransformationMode;
-
GROUND
- Mappings:
Namespace Name Mixin selector intermediary field_4318Lnet/minecraft/class_811;field_4318:Lnet/minecraft/class_811;official hLcfu;h:Lcfu;named GROUNDLnet/minecraft/client/render/model/json/ModelTransformationMode;GROUND:Lnet/minecraft/client/render/model/json/ModelTransformationMode;
-
FIXED
- Mappings:
Namespace Name Mixin selector intermediary field_4319Lnet/minecraft/class_811;field_4319:Lnet/minecraft/class_811;official iLcfu;i:Lcfu;named FIXEDLnet/minecraft/client/render/model/json/ModelTransformationMode;FIXED:Lnet/minecraft/client/render/model/json/ModelTransformationMode;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector intermediary field_42468Lnet/minecraft/class_811;field_42468:Lcom/mojang/serialization/Codec;official jLcfu;j:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/client/render/model/json/ModelTransformationMode;CODEC:Lcom/mojang/serialization/Codec;
-
FROM_INDEX
- Mappings:
Namespace Name Mixin selector intermediary field_42469Lnet/minecraft/class_811;field_42469:Ljava/util/function/IntFunction;official kLcfu;k:Ljava/util/function/IntFunction;named FROM_INDEXLnet/minecraft/client/render/model/json/ModelTransformationMode;FROM_INDEX:Ljava/util/function/IntFunction;
-
index
private final byte index- Mappings:
Namespace Name Mixin selector intermediary field_42470Lnet/minecraft/class_811;field_42470:Bofficial lLcfu;l:Bnamed indexLnet/minecraft/client/render/model/json/ModelTransformationMode;index:B
-
name
- Mappings:
Namespace Name Mixin selector intermediary field_42471Lnet/minecraft/class_811;field_42471:Ljava/lang/String;official mLcfu;m:Ljava/lang/String;named nameLnet/minecraft/client/render/model/json/ModelTransformationMode;name:Ljava/lang/String;
-
-
Constructor Details
-
ModelTransformationMode
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_811;<init>(Ljava/lang/String;IILjava/lang/String;)Vofficial <init>Lcfu;<init>(Ljava/lang/String;IILjava/lang/String;)Vnamed <init>Lnet/minecraft/client/render/model/json/ModelTransformationMode;<init>(Ljava/lang/String;IILjava/lang/String;)V
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLapr;c()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-
getIndex
public byte getIndex()- Mappings:
Namespace Name Mixin selector intermediary method_48961Lnet/minecraft/class_811;method_48961()Bofficial aLcfu;a()Bnamed getIndexLnet/minecraft/client/render/model/json/ModelTransformationMode;getIndex()B
-
isFirstPerson
public boolean isFirstPerson()- Mappings:
Namespace Name Mixin selector intermediary method_29998Lnet/minecraft/class_811;method_29998()Zofficial bLcfu;b()Znamed isFirstPersonLnet/minecraft/client/render/model/json/ModelTransformationMode;isFirstPerson()Z
-