Package net.minecraft.item
Enum Class ModelTransformationMode
- All Implemented Interfaces:
Serializable,Comparable<ModelTransformationMode>,Constable,StringIdentifiable
public enum ModelTransformationMode
extends Enum<ModelTransformationMode>
implements StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/item/ModelTransformationModeintermediary net/minecraft/class_811official cxm
-
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.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ModelTransformationMode> static final IntFunction<ModelTransformationMode> private final byteprivate final StringFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
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 named NONELnet/minecraft/item/ModelTransformationMode;NONE:Lnet/minecraft/item/ModelTransformationMode;intermediary field_4315Lnet/minecraft/class_811;field_4315:Lnet/minecraft/class_811;official aLcxm;a:Lcxm;
-
THIRD_PERSON_LEFT_HAND
- Mappings:
Namespace Name Mixin selector named THIRD_PERSON_LEFT_HANDLnet/minecraft/item/ModelTransformationMode;THIRD_PERSON_LEFT_HAND:Lnet/minecraft/item/ModelTransformationMode;intermediary field_4323Lnet/minecraft/class_811;field_4323:Lnet/minecraft/class_811;official bLcxm;b:Lcxm;
-
THIRD_PERSON_RIGHT_HAND
- Mappings:
Namespace Name Mixin selector named THIRD_PERSON_RIGHT_HANDLnet/minecraft/item/ModelTransformationMode;THIRD_PERSON_RIGHT_HAND:Lnet/minecraft/item/ModelTransformationMode;intermediary field_4320Lnet/minecraft/class_811;field_4320:Lnet/minecraft/class_811;official cLcxm;c:Lcxm;
-
FIRST_PERSON_LEFT_HAND
- Mappings:
Namespace Name Mixin selector named FIRST_PERSON_LEFT_HANDLnet/minecraft/item/ModelTransformationMode;FIRST_PERSON_LEFT_HAND:Lnet/minecraft/item/ModelTransformationMode;intermediary field_4321Lnet/minecraft/class_811;field_4321:Lnet/minecraft/class_811;official dLcxm;d:Lcxm;
-
FIRST_PERSON_RIGHT_HAND
- Mappings:
Namespace Name Mixin selector named FIRST_PERSON_RIGHT_HANDLnet/minecraft/item/ModelTransformationMode;FIRST_PERSON_RIGHT_HAND:Lnet/minecraft/item/ModelTransformationMode;intermediary field_4322Lnet/minecraft/class_811;field_4322:Lnet/minecraft/class_811;official eLcxm;e:Lcxm;
-
HEAD
- Mappings:
Namespace Name Mixin selector named HEADLnet/minecraft/item/ModelTransformationMode;HEAD:Lnet/minecraft/item/ModelTransformationMode;intermediary field_4316Lnet/minecraft/class_811;field_4316:Lnet/minecraft/class_811;official fLcxm;f:Lcxm;
-
GUI
- Mappings:
Namespace Name Mixin selector named GUILnet/minecraft/item/ModelTransformationMode;GUI:Lnet/minecraft/item/ModelTransformationMode;intermediary field_4317Lnet/minecraft/class_811;field_4317:Lnet/minecraft/class_811;official gLcxm;g:Lcxm;
-
GROUND
- Mappings:
Namespace Name Mixin selector named GROUNDLnet/minecraft/item/ModelTransformationMode;GROUND:Lnet/minecraft/item/ModelTransformationMode;intermediary field_4318Lnet/minecraft/class_811;field_4318:Lnet/minecraft/class_811;official hLcxm;h:Lcxm;
-
FIXED
- Mappings:
Namespace Name Mixin selector named FIXEDLnet/minecraft/item/ModelTransformationMode;FIXED:Lnet/minecraft/item/ModelTransformationMode;intermediary field_4319Lnet/minecraft/class_811;field_4319:Lnet/minecraft/class_811;official iLcxm;i:Lcxm;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/item/ModelTransformationMode;CODEC:Lcom/mojang/serialization/Codec;intermediary field_42468Lnet/minecraft/class_811;field_42468:Lcom/mojang/serialization/Codec;official jLcxm;j:Lcom/mojang/serialization/Codec;
-
FROM_INDEX
- Mappings:
Namespace Name Mixin selector named FROM_INDEXLnet/minecraft/item/ModelTransformationMode;FROM_INDEX:Ljava/util/function/IntFunction;intermediary field_42469Lnet/minecraft/class_811;field_42469:Ljava/util/function/IntFunction;official kLcxm;k:Ljava/util/function/IntFunction;
-
index
private final byte index- Mappings:
Namespace Name Mixin selector named indexLnet/minecraft/item/ModelTransformationMode;index:Bintermediary field_42470Lnet/minecraft/class_811;field_42470:Bofficial lLcxm;l:B
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/item/ModelTransformationMode;name:Ljava/lang/String;intermediary field_42471Lnet/minecraft/class_811;field_42471:Ljava/lang/String;official mLcxm;m:Ljava/lang/String;
-
-
Constructor Details
-
ModelTransformationMode
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/item/ModelTransformationMode;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_811;<init>(Ljava/lang/String;IILjava/lang/String;)Vofficial <init>Lcxm;<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 named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLbba;c()Ljava/lang/String;
-
getIndex
public byte getIndex()- Mappings:
Namespace Name Mixin selector named getIndexLnet/minecraft/item/ModelTransformationMode;getIndex()Bintermediary method_48961Lnet/minecraft/class_811;method_48961()Bofficial aLcxm;a()B
-
isFirstPerson
public boolean isFirstPerson()- Mappings:
Namespace Name Mixin selector named isFirstPersonLnet/minecraft/item/ModelTransformationMode;isFirstPerson()Zintermediary method_29998Lnet/minecraft/class_811;method_29998()Zofficial bLcxm;b()Z
-