Serializable
, Comparable<CauldronLevelChangeEvent.ChangeReason>
public static enum CauldronLevelChangeEvent.ChangeReason extends Enum<CauldronLevelChangeEvent.ChangeReason>
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.
|
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.
|
public static final CauldronLevelChangeEvent.ChangeReason BUCKET_FILL
public static final CauldronLevelChangeEvent.ChangeReason BUCKET_EMPTY
public static final CauldronLevelChangeEvent.ChangeReason BOTTLE_FILL
public static final CauldronLevelChangeEvent.ChangeReason BOTTLE_EMPTY
public static final CauldronLevelChangeEvent.ChangeReason BANNER_WASH
public static final CauldronLevelChangeEvent.ChangeReason ARMOR_WASH
public static final CauldronLevelChangeEvent.ChangeReason EXTINGUISH
public static final CauldronLevelChangeEvent.ChangeReason EVAPORATE
public static final CauldronLevelChangeEvent.ChangeReason UNKNOWN
public static CauldronLevelChangeEvent.ChangeReason[] values()
for (CauldronLevelChangeEvent.ChangeReason c : CauldronLevelChangeEvent.ChangeReason.values()) System.out.println(c);
public static CauldronLevelChangeEvent.ChangeReason valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020. All rights reserved.