public static enum EntityArrow.PickupStatus extends java.lang.Enum<EntityArrow.PickupStatus>
Enum Constant and Description |
---|
ALLOWED |
CREATIVE_ONLY |
DISALLOWED |
Modifier and Type | Method and Description |
---|---|
static EntityArrow.PickupStatus |
getByOrdinal(int ordinal) |
static EntityArrow.PickupStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EntityArrow.PickupStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityArrow.PickupStatus DISALLOWED
public static final EntityArrow.PickupStatus ALLOWED
public static final EntityArrow.PickupStatus CREATIVE_ONLY
public static EntityArrow.PickupStatus[] values()
for (EntityArrow.PickupStatus c : EntityArrow.PickupStatus.values()) System.out.println(c);
public static EntityArrow.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 EntityArrow.PickupStatus getByOrdinal(int ordinal)