public static enum Arrow.PickupStatus extends Enum<Arrow.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 Arrow.PickupStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Arrow.PickupStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Arrow.PickupStatus DISALLOWED
public static final Arrow.PickupStatus ALLOWED
public static final Arrow.PickupStatus CREATIVE_ONLY
public static Arrow.PickupStatus[] values()
for (Arrow.PickupStatus c : Arrow.PickupStatus.values()) System.out.println(c);
public static Arrow.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 © 2021. All rights reserved.