public static enum SpellcastingIllagerEntity.Spell extends Enum<SpellcastingIllagerEntity.Spell>
Enum Constant and Description |
---|
BLINDNESS |
DISAPPEAR |
FANGS |
NONE |
SUMMON_VEX |
WOLOLO |
Modifier and Type | Field and Description |
---|---|
private int |
id |
private double[] |
particleVelocity |
Modifier and Type | Method and Description |
---|---|
static SpellcastingIllagerEntity.Spell |
byId(int id) |
static SpellcastingIllagerEntity.Spell |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpellcastingIllagerEntity.Spell[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpellcastingIllagerEntity.Spell NONE
public static final SpellcastingIllagerEntity.Spell SUMMON_VEX
public static final SpellcastingIllagerEntity.Spell FANGS
public static final SpellcastingIllagerEntity.Spell WOLOLO
public static final SpellcastingIllagerEntity.Spell DISAPPEAR
public static final SpellcastingIllagerEntity.Spell BLINDNESS
public static SpellcastingIllagerEntity.Spell[] values()
for (SpellcastingIllagerEntity.Spell c : SpellcastingIllagerEntity.Spell.values()) System.out.println(c);
public static SpellcastingIllagerEntity.Spell 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 nullpublic static SpellcastingIllagerEntity.Spell byId(int id)