Package org.bukkit.event.block
Enum 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
-
Enum Constant Summary
Enum Constants Enum Constant Description ARMOR_WASH
Player cleaning their armor.BANNER_WASH
Player cleaning their banner.BOTTLE_EMPTY
Player filling the cauldron by emptying their bottle.BOTTLE_FILL
Player emptying the cauldron by filling their bottle.BUCKET_EMPTY
Player filling the cauldron by emptying their bucket.BUCKET_FILL
Player emptying the cauldron by filling their bucket.EVAPORATE
Evaporating due to biome dryness.EXTINGUISH
Entity being extinguished.UNKNOWN
Unknown. -
Method Summary
Modifier and Type Method Description static CauldronLevelChangeEvent.ChangeReason
valueOf(String name)
Returns the enum constant of this type with the specified name.static CauldronLevelChangeEvent.ChangeReason[]
values()
Returns an array containing the constants of this enum type, 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. -
EXTINGUISH
Entity being extinguished. -
EVAPORATE
Evaporating due to biome dryness. -
UNKNOWN
Unknown.
-
-
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
-