Modifier and Type | Method and Description |
---|---|
static SpellId |
getById(java.lang.Integer id)
Returns the SpellId NAME associated with the given SpellId, or NOTHING if no mapping exists for
the id.
|
static SpellId |
getByName(java.lang.String name)
Retrieves a `SpellId` int by its NAME.
|
int |
getId()
Retrieves the 'ItemId' int by the item NAME.
For Example: 'int fireStrike = SpellId.FIRE_STRIKE.getId()' |
static SpellId |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpellId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpellId NOTHING
public static final SpellId WIND_STRIKE
public static final SpellId CONFUSE
public static final SpellId WATER_STRIKE
public static final SpellId ENCHANT_LVL1_AMULET
public static final SpellId EARTH_STRIKE
public static final SpellId WEAKEN
public static final SpellId FIRE_STRIKE
public static final SpellId BONES_TO_BANANAS
public static final SpellId WIND_BOLT
public static final SpellId CURSE
public static final SpellId LOW_LEVEL_ALCHEMY
public static final SpellId WATER_BOLT
public static final SpellId VARROCK_TELEPORT
public static final SpellId ENCHANT_LVL2_AMULET
public static final SpellId EARTH_BOLT
public static final SpellId LUMBRIDGE_TELEPORT
public static final SpellId TELEKINETIC_GRAB
public static final SpellId FIRE_BOLT
public static final SpellId FALADOR_TELEPORT
public static final SpellId CRUMBLE_UNDEAD
public static final SpellId WIND_BLAST
public static final SpellId SUPERHEAT_ITEM
public static final SpellId CAMELOT_TELEPORT
public static final SpellId WATER_BLAST
public static final SpellId ENCHANT_LVL3_AMULET
public static final SpellId IBAN_BLAST
public static final SpellId ARDOUGNE_TELEPORT
public static final SpellId EARTH_BLAST
public static final SpellId HIGH_LEVEL_ALCHEMY
public static final SpellId CHARGE_WATER_ORB
public static final SpellId ENCHANT_LVL4_AMULET
public static final SpellId WATCHTOWER_TELEPORT
public static final SpellId FIRE_BLAST
public static final SpellId CHARGE_EARTH_ORB
public static final SpellId CLAWS_OF_GUTHIX
public static final SpellId SARADOMIN_STRIKE
public static final SpellId FLAMES_OF_ZAMORAK
public static final SpellId WIND_WAVE
public static final SpellId CHARGE_FIRE_ORB
public static final SpellId WATER_WAVE
public static final SpellId CHARGE_AIR_ORB
public static final SpellId VULNERABILITY
public static final SpellId ENCHANT_LVL5_AMULET
public static final SpellId EARTH_WAVE
public static final SpellId ENFEEBLE
public static final SpellId FIRE_WAVE
public static final SpellId STUN
public static final SpellId CHARGE
public static SpellId[] values()
for (SpellId c : SpellId.values()) System.out.println(c);
public static SpellId valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static SpellId getById(java.lang.Integer id)
id
- the id for which to retrieve the SpellIdpublic static SpellId getByName(java.lang.String name)
name
- the name of the Spell Object