public static enum PiglinEntity.Activity extends Enum<PiglinEntity.Activity>
| Enum Constant and Description |
|---|
ADMIRING_ITEM |
CROSSBOW_CHARGE |
CROSSBOW_HOLD |
DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
static PiglinEntity.Activity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PiglinEntity.Activity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PiglinEntity.Activity CROSSBOW_HOLD
public static final PiglinEntity.Activity CROSSBOW_CHARGE
public static final PiglinEntity.Activity ADMIRING_ITEM
public static final PiglinEntity.Activity DEFAULT
public static PiglinEntity.Activity[] values()
for (PiglinEntity.Activity c : PiglinEntity.Activity.values()) System.out.println(c);
public static PiglinEntity.Activity 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