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>
- Enclosing class:
- CauldronLevelChangeEvent
public static enum CauldronLevelChangeEvent.ChangeReason extends Enum<CauldronLevelChangeEvent.ChangeReason>
-
-
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
All Methods Static Methods Concrete Methods 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 Detail
-
BUCKET_FILL
public static final CauldronLevelChangeEvent.ChangeReason BUCKET_FILL
Player emptying the cauldron by filling their bucket.
-
BUCKET_EMPTY
public static final CauldronLevelChangeEvent.ChangeReason BUCKET_EMPTY
Player filling the cauldron by emptying their bucket.
-
BOTTLE_FILL
public static final CauldronLevelChangeEvent.ChangeReason BOTTLE_FILL
Player emptying the cauldron by filling their bottle.
-
BOTTLE_EMPTY
public static final CauldronLevelChangeEvent.ChangeReason BOTTLE_EMPTY
Player filling the cauldron by emptying their bottle.
-
BANNER_WASH
public static final CauldronLevelChangeEvent.ChangeReason BANNER_WASH
Player cleaning their banner.
-
ARMOR_WASH
public static final CauldronLevelChangeEvent.ChangeReason ARMOR_WASH
Player cleaning their armor.
-
EXTINGUISH
public static final CauldronLevelChangeEvent.ChangeReason EXTINGUISH
Entity being extinguished.
-
EVAPORATE
public static final CauldronLevelChangeEvent.ChangeReason EVAPORATE
Evaporating due to biome dryness.
-
UNKNOWN
public static final CauldronLevelChangeEvent.ChangeReason UNKNOWN
Unknown.
-
-
Method Detail
-
values
public static CauldronLevelChangeEvent.ChangeReason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CauldronLevelChangeEvent.ChangeReason c : CauldronLevelChangeEvent.ChangeReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CauldronLevelChangeEvent.ChangeReason valueOf(String name)
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
-
-