Package org.bukkit.entity
Enum Class AbstractArrow.PickupStatus
- All Implemented Interfaces:
Serializable
,Comparable<AbstractArrow.PickupStatus>
,Constable
- Enclosing interface:
AbstractArrow
Represents the pickup status of this arrow.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe arrow can be picked up.The arrow can only be picked up by players in creative mode.The arrow cannot be picked up. -
Method Summary
Modifier and TypeMethodDescriptionstatic AbstractArrow.PickupStatus
Returns the enum constant of this class with the specified name.static AbstractArrow.PickupStatus[]
values()
Returns an array containing the constants of this enum class, 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 class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-