Enum BipedModel.ArmPose
- java.lang.Object
-
- java.lang.Enum<BipedModel.ArmPose>
-
- net.minecraft.client.renderer.entity.model.BipedModel.ArmPose
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BipedModel.ArmPose>
- Enclosing class:
- BipedModel<T extends LivingEntity>
public static enum BipedModel.ArmPose extends java.lang.Enum<BipedModel.ArmPose>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLOCK
BOW_AND_ARROW
CROSSBOW_CHARGE
CROSSBOW_HOLD
EMPTY
ITEM
THROW_SPEAR
-
Field Summary
Fields Modifier and Type Field Description private boolean
twoHanded
-
Constructor Summary
Constructors Modifier Constructor Description private
ArmPose(boolean p_i241257_3_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isTwoHanded()
static BipedModel.ArmPose
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BipedModel.ArmPose[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EMPTY
public static final BipedModel.ArmPose EMPTY
-
ITEM
public static final BipedModel.ArmPose ITEM
-
BLOCK
public static final BipedModel.ArmPose BLOCK
-
BOW_AND_ARROW
public static final BipedModel.ArmPose BOW_AND_ARROW
-
THROW_SPEAR
public static final BipedModel.ArmPose THROW_SPEAR
-
CROSSBOW_CHARGE
public static final BipedModel.ArmPose CROSSBOW_CHARGE
-
CROSSBOW_HOLD
public static final BipedModel.ArmPose CROSSBOW_HOLD
-
-
Method Detail
-
values
public static BipedModel.ArmPose[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BipedModel.ArmPose c : BipedModel.ArmPose.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BipedModel.ArmPose valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
isTwoHanded
public boolean isTwoHanded()
-
-