Package net.minecraft.client.model
Enum Class HumanoidModel.ArmPose
- All Implemented Interfaces:
- Serializable,- Comparable<HumanoidModel.ArmPose>,- Constable,- IExtensibleEnum
- Enclosing class:
- HumanoidModel<T extends LivingEntity>
public static enum HumanoidModel.ArmPose
extends Enum<HumanoidModel.ArmPose>
implements IExtensibleEnum
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescription
- 
Field SummaryFields
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprivateArmPose(boolean p_102896_) privateArmPose(boolean twoHanded, IArmPoseTransformer forgeArmPose) 
- 
Method SummaryModifier and TypeMethodDescription<T extends LivingEntity>
 voidapplyTransform(HumanoidModel<T> model, T entity, HumanoidArm arm) static HumanoidModel.ArmPosecreate(String name, boolean twoHanded, IArmPoseTransformer forgeArmPose) booleanstatic HumanoidModel.ArmPoseReturns the enum constant of this class with the specified name.static HumanoidModel.ArmPose[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enumclone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface net.minecraftforge.common.IExtensibleEnuminit
- 
Enum Constant Details- 
EMPTY
- 
ITEM
- 
BLOCK
- 
BOW_AND_ARROW
- 
THROW_SPEAR
- 
CROSSBOW_CHARGE
- 
CROSSBOW_HOLD
- 
SPYGLASS
- 
TOOT_HORN
- 
BRUSH
 
- 
- 
Field Details- 
twoHandedprivate final boolean twoHanded
- 
forgeArmPose
 
- 
- 
Constructor Details- 
ArmPoseprivate ArmPose(boolean p_102896_) 
- 
ArmPose
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- 
isTwoHandedpublic boolean isTwoHanded()
- 
createpublic static HumanoidModel.ArmPose create(String name, boolean twoHanded, @Nonnull IArmPoseTransformer forgeArmPose) 
- 
applyTransformpublic <T extends LivingEntity> void applyTransform(HumanoidModel<T> model, T entity, HumanoidArm arm) 
 
-