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 ekr$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 aLekr$b;a:Lekr$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 bLekr$b;b:Lekr$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 cLekr$b;c:Lekr$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 dLekr$b;d:Lekr$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 eLekr$b;e:Lekr$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 fLekr$b;f:Lekr$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 gLekr$b;g:Lekr$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 hLekr$b;h:Lekr$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 iLekr$b;i:Lekr$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 aLekr$b;a()Zintermediary method_29998Lnet/minecraft/class_809$class_811;method_29998()Znamed isFirstPersonLnet/minecraft/client/render/model/json/ModelTransformation$Mode;isFirstPerson()Z
-