public static enum PotionEffectAddEvent.EffectCause extends Enum<PotionEffectAddEvent.EffectCause>
Enum Constant and Description |
---|
BEACON |
CAVE_SPIDER |
PLUGIN |
POTION_SPLASH |
UNKNOWN |
VILLAGE_TRADE |
WITHER_SKELETON |
WITHER_SKULL |
ZOMBIE_CONVERTED |
ZOMBIE_CONVERTING |
Modifier and Type | Method and Description |
---|---|
static PotionEffectAddEvent.EffectCause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PotionEffectAddEvent.EffectCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PotionEffectAddEvent.EffectCause POTION_SPLASH
public static final PotionEffectAddEvent.EffectCause BEACON
public static final PotionEffectAddEvent.EffectCause WITHER_SKELETON
public static final PotionEffectAddEvent.EffectCause WITHER_SKULL
public static final PotionEffectAddEvent.EffectCause PLUGIN
public static final PotionEffectAddEvent.EffectCause UNKNOWN
public static final PotionEffectAddEvent.EffectCause CAVE_SPIDER
public static final PotionEffectAddEvent.EffectCause VILLAGE_TRADE
public static final PotionEffectAddEvent.EffectCause ZOMBIE_CONVERTING
public static final PotionEffectAddEvent.EffectCause ZOMBIE_CONVERTED
public static PotionEffectAddEvent.EffectCause[] values()
for (PotionEffectAddEvent.EffectCause c : PotionEffectAddEvent.EffectCause.values()) System.out.println(c);
public static PotionEffectAddEvent.EffectCause 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 © 2022. All rights reserved.