Package org.bukkit.entity
Enum AbstractArrow.PickupStatus
- All Implemented Interfaces:
Serializable
,Comparable<AbstractArrow.PickupStatus>
,Constable
- Enclosing interface:
- AbstractArrow
public static enum AbstractArrow.PickupStatus extends Enum<AbstractArrow.PickupStatus>
Represents the pickup status of this arrow.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants 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. -
Method Summary
Modifier and Type Method 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.
-
Enum Constant Details
-
DISALLOWED
The arrow cannot be picked up. -
ALLOWED
The arrow can be picked up. -
CREATIVE_ONLY
The arrow can only be picked up by players in creative mode.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-