Package dev.twilite.game.facade
Enum Class Spell.Modern
- All Implemented Interfaces:
Spell,Serializable,Comparable<Spell.Modern>,Constable
- Enclosing interface:
Spell
Standard spellbook spells.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface dev.twilite.game.facade.Spell
Spell.Ancient, Spell.Arceuus, Spell.Lunar, Spell.Modern -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionintbook()intintinttoString()static Spell.ModernReturns the enum constant of this class with the specified name.static Spell.Modern[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOfMethods inherited from interface dev.twilite.game.facade.Spell
definition, displayName
-
Enum Constant Details
-
HOME_TELEPORT
-
WIND_STRIKE
-
CONFUSE
-
ENCHANT_CROSSBOW_BOLT
-
WATER_STRIKE
-
ENCHANT_JEWELLERY
-
EARTH_STRIKE
-
WEAKEN
-
FIRE_STRIKE
-
BONES_TO_BANANAS
-
WIND_BOLT
-
CURSE
-
BIND
-
LOW_LEVEL_ALCHEMY
-
WATER_BOLT
-
VARROCK_TELEPORT
-
EARTH_BOLT
-
LUMBRIDGE_TELEPORT
-
TELEKINETIC_GRAB
-
FIRE_BOLT
-
FALADOR_TELEPORT
-
CRUMBLE_UNDEAD
-
TELEPORT_TO_HOUSE
-
WIND_BLAST
-
SUPERHEAT_ITEM
-
CAMELOT_TELEPORT
-
WATER_BLAST
-
KOUREND_CASTLE_TELEPORT
-
IBAN_BLAST
-
SNARE
-
MAGIC_DART
-
ARDOUGNE_TELEPORT
-
EARTH_BLAST
-
CIVITAS_ILLA_FORTIS_TELEPORT
-
HIGH_LEVEL_ALCHEMY
-
CHARGE_WATER_ORB
-
WATCHTOWER_TELEPORT
-
FIRE_BLAST
-
CHARGE_EARTH_ORB
-
BONES_TO_PEACHES
-
SARADOMIN_STRIKE
-
CLAWS_OF_GUTHIX
-
FLAMES_OF_ZAMORAK
-
TROLLHEIM_TELEPORT
-
WIND_WAVE
-
CHARGE_FIRE_ORB
-
APE_ATOLL_TELEPORT
-
WATER_WAVE
-
CHARGE_AIR_ORB
-
VULNERABILITY
-
EARTH_WAVE
-
ENFEEBLE
-
TELEOTHER_LUMBRIDGE
-
FIRE_WAVE
-
ENTANGLE
-
STUN
-
CHARGE
-
WIND_SURGE
-
TELEOTHER_FALADOR
-
WATER_SURGE
-
TELE_BLOCK
-
TELE_TO_BOUNTY_TARGET
-
TELEOTHER_CAMELOT
-
EARTH_SURGE
-
FIRE_SURGE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
book
-
levelRequired
public int levelRequired()- Specified by:
levelRequiredin interfaceSpell
-
componentId
public int componentId()- Specified by:
componentIdin interfaceSpell
-
configItem
public int configItem()- Specified by:
configItemin interfaceSpell
-
autocastId
public int autocastId()- Specified by:
autocastIdin interfaceSpell
-
toString
- Overrides:
toStringin classEnum<Spell.Modern>
-