public enum PiglinActivity extends Enum<PiglinActivity>
Enum Constant and Description |
---|
ADMIRING_ITEM |
ATTACKING_WITH_MELEE_WEAPON |
CROSSBOW_CHARGE |
CROSSBOW_HOLD |
DANCING |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
static PiglinActivity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PiglinActivity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PiglinActivity ATTACKING_WITH_MELEE_WEAPON
public static final PiglinActivity CROSSBOW_HOLD
public static final PiglinActivity CROSSBOW_CHARGE
public static final PiglinActivity ADMIRING_ITEM
public static final PiglinActivity DANCING
public static final PiglinActivity DEFAULT
public static PiglinActivity[] values()
for (PiglinActivity c : PiglinActivity.values()) System.out.println(c);
public static PiglinActivity valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null