Package net.minecraft.entity.monster
Enum AbstractIllagerEntity.ArmPose
- java.lang.Object
-
- java.lang.Enum<AbstractIllagerEntity.ArmPose>
-
- net.minecraft.entity.monster.AbstractIllagerEntity.ArmPose
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AbstractIllagerEntity.ArmPose>
- Enclosing class:
- AbstractIllagerEntity
public static enum AbstractIllagerEntity.ArmPose extends java.lang.Enum<AbstractIllagerEntity.ArmPose>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTACKING
BOW_AND_ARROW
CELEBRATING
CROSSBOW_CHARGE
CROSSBOW_HOLD
CROSSED
NEUTRAL
SPELLCASTING
-
Constructor Summary
Constructors Modifier Constructor Description private
ArmPose()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractIllagerEntity.ArmPose
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AbstractIllagerEntity.ArmPose[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CROSSED
public static final AbstractIllagerEntity.ArmPose CROSSED
-
ATTACKING
public static final AbstractIllagerEntity.ArmPose ATTACKING
-
SPELLCASTING
public static final AbstractIllagerEntity.ArmPose SPELLCASTING
-
BOW_AND_ARROW
public static final AbstractIllagerEntity.ArmPose BOW_AND_ARROW
-
CROSSBOW_HOLD
public static final AbstractIllagerEntity.ArmPose CROSSBOW_HOLD
-
CROSSBOW_CHARGE
public static final AbstractIllagerEntity.ArmPose CROSSBOW_CHARGE
-
CELEBRATING
public static final AbstractIllagerEntity.ArmPose CELEBRATING
-
NEUTRAL
public static final AbstractIllagerEntity.ArmPose NEUTRAL
-
-
Method Detail
-
values
public static AbstractIllagerEntity.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 (AbstractIllagerEntity.ArmPose c : AbstractIllagerEntity.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 AbstractIllagerEntity.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
-
-