Package org.bukkit.event.block
Enum Class CauldronLevelChangeEvent.ChangeReason
java.lang.Object
java.lang.Enum<CauldronLevelChangeEvent.ChangeReason>
org.bukkit.event.block.CauldronLevelChangeEvent.ChangeReason
- All Implemented Interfaces:
Serializable
,Comparable<CauldronLevelChangeEvent.ChangeReason>
,Constable
- Enclosing class:
- CauldronLevelChangeEvent
public static enum CauldronLevelChangeEvent.ChangeReason
extends Enum<CauldronLevelChangeEvent.ChangeReason>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionPlayer cleaning their armor.Player cleaning their banner.Player filling the cauldron by emptying their bottle.Player emptying the cauldron by filling their bottle.Player filling the cauldron by emptying their bucket.Player emptying the cauldron by filling their bucket.Evaporating due to biome dryness.Entity being extinguished.Filling due to natural fluid sources, eg rain or dripstone.Player cleaning a shulker box.Unknown. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BUCKET_FILL
Player emptying the cauldron by filling their bucket. -
BUCKET_EMPTY
Player filling the cauldron by emptying their bucket. -
BOTTLE_FILL
Player emptying the cauldron by filling their bottle. -
BOTTLE_EMPTY
Player filling the cauldron by emptying their bottle. -
BANNER_WASH
Player cleaning their banner. -
ARMOR_WASH
Player cleaning their armor. -
SHULKER_WASH
Player cleaning a shulker box. -
EXTINGUISH
Entity being extinguished. -
EVAPORATE
Evaporating due to biome dryness. -
NATURAL_FILL
Filling due to natural fluid sources, eg rain or dripstone. -
UNKNOWN
Unknown.
-
-
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
-