Package net.minecraft.client.model
Enum Class HumanoidModel.ArmPose
- All Implemented Interfaces:
Serializable
,Comparable<HumanoidModel.ArmPose>
,Constable
,net.neoforged.fml.common.asm.enumextension.IExtensibleEnum
- Enclosing class:
HumanoidModel<T extends LivingEntity>
public static enum HumanoidModel.ArmPose
extends Enum<HumanoidModel.ArmPose>
implements net.neoforged.fml.common.asm.enumextension.IExtensibleEnum
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
ArmPose
(boolean p_102896_) private
ArmPose
(boolean twoHanded, IArmPoseTransformer forgeArmPose) -
Method Summary
Modifier and TypeMethodDescription<T extends LivingEntity>
voidapplyTransform
(HumanoidModel<T> model, T entity, HumanoidArm arm) static net.neoforged.fml.common.asm.enumextension.ExtensionInfo
boolean
static HumanoidModel.ArmPose
Returns 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.
-
Enum Constant Details
-
EMPTY
-
ITEM
-
BLOCK
-
BOW_AND_ARROW
-
THROW_SPEAR
-
CROSSBOW_CHARGE
-
CROSSBOW_HOLD
-
SPYGLASS
-
TOOT_HORN
-
BRUSH
-
-
Field Details
-
twoHanded
private final boolean twoHanded -
forgeArmPose
-
-
Constructor Details
-
ArmPose
private ArmPose(boolean p_102896_) -
ArmPose
-
-
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
-
isTwoHanded
public boolean isTwoHanded() -
applyTransform
public <T extends LivingEntity> void applyTransform(HumanoidModel<T> model, T entity, HumanoidArm arm) -
getExtensionInfo
public static net.neoforged.fml.common.asm.enumextension.ExtensionInfo getExtensionInfo()
-