Enum Class UnregisterReason
- All Implemented Interfaces:
Serializable
,Comparable<UnregisterReason>
,Constable
Deprecated.
This enum is no longer needed
Defines how a block handled by Slimefun is being unregistered.
It is notably used by
SlimefunBlockHandler.onBreak(org.bukkit.entity.Player, org.bukkit.block.Block, SlimefunItem, UnregisterReason)
.
- Author:
- TheBusyBiscuit
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.An android miner breaks the block.Deprecated.An explosion destroys the block.Deprecated.A player breaks the block. -
Method Summary
Modifier and TypeMethodDescriptionstatic UnregisterReason
Deprecated.Returns the enum constant of this class with the specified name.static UnregisterReason[]
values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXPLODE
Deprecated.An explosion destroys the block. -
PLAYER_BREAK
Deprecated.A player breaks the block. -
ANDROID_DIG
Deprecated.An android miner breaks the block.
-
-
Method Details
-
values
Deprecated.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
Deprecated.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
-