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