public static enum AbstractArrow.PickupStatus extends Enum<AbstractArrow.PickupStatus>
Enum Constant and Description |
---|
ALLOWED
The arrow can be picked up.
|
CREATIVE_ONLY
The arrow can only be picked up by players in creative mode.
|
DISALLOWED
The arrow cannot be picked up.
|
Modifier and Type | Method and Description |
---|---|
static AbstractArrow.PickupStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractArrow.PickupStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractArrow.PickupStatus DISALLOWED
public static final AbstractArrow.PickupStatus ALLOWED
public static final AbstractArrow.PickupStatus CREATIVE_ONLY
public static AbstractArrow.PickupStatus[] values()
for (AbstractArrow.PickupStatus c : AbstractArrow.PickupStatus.values()) System.out.println(c);
public static AbstractArrow.PickupStatus 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 nullCopyright © 2022. All rights reserved.