Enum ModelTransformation.Mode
java.lang.Object
java.lang.Enum<ModelTransformation.Mode>
net.minecraft.client.render.model.json.ModelTransformation.Mode
- All Implemented Interfaces:
Serializable,Comparable<ModelTransformation.Mode>,java.lang.constant.Constable
- Enclosing class:
- ModelTransformation
@Environment(CLIENT) public static enum ModelTransformation.Mode extends Enum<ModelTransformation.Mode>
- Mappings:
Namespace Name official eiw$bintermediary net/minecraft/class_809$class_811named net/minecraft/client/render/model/json/ModelTransformation$Mode
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description FIRST_PERSON_LEFT_HANDFIRST_PERSON_RIGHT_HANDFIXEDGROUNDGUIHEADNONETHIRD_PERSON_LEFT_HANDTHIRD_PERSON_RIGHT_HAND -
Constructor Summary
Constructors Modifier Constructor Description privateMode() -
Method Summary
Modifier and Type Method Description booleanisFirstPerson()static ModelTransformation.ModevalueOf(String name)Returns the enum constant of this type with the specified name.static ModelTransformation.Mode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NONE
- Mappings:
Namespace Name Mixin selector official aLeiw$b;a:Leiw$b;intermediary field_4315Lnet/minecraft/class_809$class_811;field_4315:Lnet/minecraft/class_809$class_811;named NONELnet/minecraft/client/render/model/json/ModelTransformation$Mode;NONE:Lnet/minecraft/client/render/model/json/ModelTransformation$Mode;
-
THIRD_PERSON_LEFT_HAND
- Mappings:
Namespace Name Mixin selector official bLeiw$b;b:Leiw$b;intermediary field_4323Lnet/minecraft/class_809$class_811;field_4323:Lnet/minecraft/class_809$class_811;named THIRD_PERSON_LEFT_HANDLnet/minecraft/client/render/model/json/ModelTransformation$Mode;THIRD_PERSON_LEFT_HAND:Lnet/minecraft/client/render/model/json/ModelTransformation$Mode;
-
THIRD_PERSON_RIGHT_HAND
- Mappings:
Namespace Name Mixin selector official cLeiw$b;c:Leiw$b;intermediary field_4320Lnet/minecraft/class_809$class_811;field_4320:Lnet/minecraft/class_809$class_811;named THIRD_PERSON_RIGHT_HANDLnet/minecraft/client/render/model/json/ModelTransformation$Mode;THIRD_PERSON_RIGHT_HAND:Lnet/minecraft/client/render/model/json/ModelTransformation$Mode;
-
FIRST_PERSON_LEFT_HAND
- Mappings:
Namespace Name Mixin selector official dLeiw$b;d:Leiw$b;intermediary field_4321Lnet/minecraft/class_809$class_811;field_4321:Lnet/minecraft/class_809$class_811;named FIRST_PERSON_LEFT_HANDLnet/minecraft/client/render/model/json/ModelTransformation$Mode;FIRST_PERSON_LEFT_HAND:Lnet/minecraft/client/render/model/json/ModelTransformation$Mode;
-
FIRST_PERSON_RIGHT_HAND
- Mappings:
Namespace Name Mixin selector official eLeiw$b;e:Leiw$b;intermediary field_4322Lnet/minecraft/class_809$class_811;field_4322:Lnet/minecraft/class_809$class_811;named FIRST_PERSON_RIGHT_HANDLnet/minecraft/client/render/model/json/ModelTransformation$Mode;FIRST_PERSON_RIGHT_HAND:Lnet/minecraft/client/render/model/json/ModelTransformation$Mode;
-
HEAD
- Mappings:
Namespace Name Mixin selector official fLeiw$b;f:Leiw$b;intermediary field_4316Lnet/minecraft/class_809$class_811;field_4316:Lnet/minecraft/class_809$class_811;named HEADLnet/minecraft/client/render/model/json/ModelTransformation$Mode;HEAD:Lnet/minecraft/client/render/model/json/ModelTransformation$Mode;
-
GUI
- Mappings:
Namespace Name Mixin selector official gLeiw$b;g:Leiw$b;intermediary field_4317Lnet/minecraft/class_809$class_811;field_4317:Lnet/minecraft/class_809$class_811;named GUILnet/minecraft/client/render/model/json/ModelTransformation$Mode;GUI:Lnet/minecraft/client/render/model/json/ModelTransformation$Mode;
-
GROUND
- Mappings:
Namespace Name Mixin selector official hLeiw$b;h:Leiw$b;intermediary field_4318Lnet/minecraft/class_809$class_811;field_4318:Lnet/minecraft/class_809$class_811;named GROUNDLnet/minecraft/client/render/model/json/ModelTransformation$Mode;GROUND:Lnet/minecraft/client/render/model/json/ModelTransformation$Mode;
-
FIXED
- Mappings:
Namespace Name Mixin selector official iLeiw$b;i:Leiw$b;intermediary field_4319Lnet/minecraft/class_809$class_811;field_4319:Lnet/minecraft/class_809$class_811;named FIXEDLnet/minecraft/client/render/model/json/ModelTransformation$Mode;FIXED:Lnet/minecraft/client/render/model/json/ModelTransformation$Mode;
-
-
Constructor Details
-
Mode
private Mode()
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
isFirstPerson
public boolean isFirstPerson()- Mappings:
Namespace Name Mixin selector official aLeiw$b;a()Zintermediary method_29998Lnet/minecraft/class_809$class_811;method_29998()Znamed isFirstPersonLnet/minecraft/client/render/model/json/ModelTransformation$Mode;isFirstPerson()Z
-