public static enum AbstractArrowEntity.PickupStatus extends java.lang.Enum<AbstractArrowEntity.PickupStatus>
Enum Constant and Description |
---|
ALLOWED |
CREATIVE_ONLY |
DISALLOWED |
Modifier and Type | Method and Description |
---|---|
static AbstractArrowEntity.PickupStatus |
getByOrdinal(int ordinal) |
static AbstractArrowEntity.PickupStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AbstractArrowEntity.PickupStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractArrowEntity.PickupStatus DISALLOWED
public static final AbstractArrowEntity.PickupStatus ALLOWED
public static final AbstractArrowEntity.PickupStatus CREATIVE_ONLY
public static AbstractArrowEntity.PickupStatus[] values()
for (AbstractArrowEntity.PickupStatus c : AbstractArrowEntity.PickupStatus.values()) System.out.println(c);
public static AbstractArrowEntity.PickupStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static AbstractArrowEntity.PickupStatus getByOrdinal(int ordinal)