java.io.Serializable
, java.lang.Comparable<Arrow.PickupStatus>
public static enum Arrow.PickupStatus extends java.lang.Enum<Arrow.PickupStatus>
Enum Constant | 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 | Description |
---|---|---|
static Arrow.PickupStatus |
valueOf(java.lang.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(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 nullCopyright © 2018. All rights reserved.