Package net.storm.api.prayer
Enum Class PrayerInfo
- All Implemented Interfaces:
Serializable,Comparable<PrayerInfo>,Constable
Enumeration of all prayers available in the game with their associated metadata.
This enum maps each prayer to its corresponding widget component ID in the prayer
interface and the underlying Prayer enum from the RuneLite API. It provides
a convenient way to access prayer information and interact with the prayer interface.
The enum covers all standard prayers including:
- Defence prayers (Thick Skin, Rock Skin, Steel Skin)
- Strength prayers (Burst of Strength, Superhuman Strength, Ultimate Strength)
- Attack prayers (Clarity of Thought, Improved Reflexes, Incredible Reflexes)
- Restoration prayers (Rapid Restore, Rapid Heal)
- Protection prayers (Protect Item, Protect from Magic/Missiles/Melee)
- Combat prayers (Retribution, Redemption, Smite)
- Ranged prayers (Sharp Eye, Hawk Eye, Eagle Eye, Deadeye, Rigour)
- Magic prayers (Mystic Will, Mystic Lore, Mystic Might, Mystic Vigour, Augury)
- Melee prayers (Chivalry, Piety)
- Utility prayers (Preserve)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAugury - Level 77 Magic prayer, +25% Magic Attack, +25% Defence.Burst of Strength - Level 4 Strength prayer, +5% Strength.Chivalry - Level 60 melee prayer, +15% Attack, +18% Strength, +20% Defence.Clarity of Thought - Level 7 Attack prayer, +5% Attack.Deadeye - Level 44 Ranged prayer alternative for accounts without Rigour.Eagle Eye - Level 44 Ranged prayer, +15% Ranged.Hawk Eye - Level 26 Ranged prayer, +10% Ranged.Improved Reflexes - Level 16 Attack prayer, +10% Attack.Incredible Reflexes - Level 34 Attack prayer, +15% Attack.Mystic Lore - Level 27 Magic prayer, +10% Magic.Mystic Might - Level 45 Magic prayer, +15% Magic.Mystic Vigour - Level 45 Magic prayer alternative for accounts without Augury.Mystic Will - Level 9 Magic prayer, +5% Magic.Piety - Level 70 melee prayer, +20% Attack, +23% Strength, +25% Defence.Preserve - Level 55 prayer, boosts last 50% longer.Protect from Magic - Level 37 prayer, protects against magic attacks.Protect from Melee - Level 43 prayer, protects against melee attacks.Protect from Missiles - Level 40 prayer, protects against ranged attacks.Protect Item - Level 25 prayer, keeps an extra item on death.Rapid Heal - Level 22 prayer, doubles hitpoints restoration rate.Rapid Restore - Level 19 prayer, doubles stat restoration rate.Redemption - Level 49 prayer, heals when hitpoints drop low.Retribution - Level 46 prayer, deals damage to nearby enemies on death.Rigour - Level 74 Ranged prayer, +20% Ranged Attack, +23% Ranged Strength, +25% Defence.Rock Skin - Level 10 Defence prayer, +10% Defence.Sharp Eye - Level 8 Ranged prayer, +5% Ranged.Smite - Level 52 prayer, drains enemy prayer when dealing damage.Steel Skin - Level 28 Defence prayer, +15% Defence.Superhuman Strength - Level 13 Strength prayer, +10% Strength.Thick Skin - Level 1 Defence prayer, +5% Defence.Ultimate Strength - Level 31 Strength prayer, +15% Strength. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<net.runelite.api.Prayer, PrayerInfo> A lookup map for findingPrayerInfoby its correspondingPrayer. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.This method is scheduled for removal.static PrayerInfoReturns the enum constant of this class with the specified name.static PrayerInfo[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
THICK_SKIN
Thick Skin - Level 1 Defence prayer, +5% Defence. -
BURST_OF_STRENGTH
Burst of Strength - Level 4 Strength prayer, +5% Strength. -
CLARITY_OF_THOUGHT
Clarity of Thought - Level 7 Attack prayer, +5% Attack. -
ROCK_SKIN
Rock Skin - Level 10 Defence prayer, +10% Defence. -
SUPERHUMAN_STRENGTH
Superhuman Strength - Level 13 Strength prayer, +10% Strength. -
IMPROVED_REFLEXES
Improved Reflexes - Level 16 Attack prayer, +10% Attack. -
RAPID_RESTORE
Rapid Restore - Level 19 prayer, doubles stat restoration rate. -
RAPID_HEAL
Rapid Heal - Level 22 prayer, doubles hitpoints restoration rate. -
PROTECT_ITEM
Protect Item - Level 25 prayer, keeps an extra item on death. -
STEEL_SKIN
Steel Skin - Level 28 Defence prayer, +15% Defence. -
ULTIMATE_STRENGTH
Ultimate Strength - Level 31 Strength prayer, +15% Strength. -
INCREDIBLE_REFLEXES
Incredible Reflexes - Level 34 Attack prayer, +15% Attack. -
PROTECT_FROM_MAGIC
Protect from Magic - Level 37 prayer, protects against magic attacks. -
PROTECT_FROM_MISSILES
Protect from Missiles - Level 40 prayer, protects against ranged attacks. -
PROTECT_FROM_MELEE
Protect from Melee - Level 43 prayer, protects against melee attacks. -
RETRIBUTION
Retribution - Level 46 prayer, deals damage to nearby enemies on death. -
REDEMPTION
Redemption - Level 49 prayer, heals when hitpoints drop low. -
SMITE
Smite - Level 52 prayer, drains enemy prayer when dealing damage. -
SHARP_EYE
Sharp Eye - Level 8 Ranged prayer, +5% Ranged. -
HAWK_EYE
Hawk Eye - Level 26 Ranged prayer, +10% Ranged. -
EAGLE_EYE
Eagle Eye - Level 44 Ranged prayer, +15% Ranged. -
DEADEYE
Deadeye - Level 44 Ranged prayer alternative for accounts without Rigour. -
MYSTIC_WILL
Mystic Will - Level 9 Magic prayer, +5% Magic. -
MYSTIC_LORE
Mystic Lore - Level 27 Magic prayer, +10% Magic. -
MYSTIC_MIGHT
Mystic Might - Level 45 Magic prayer, +15% Magic. -
MYSTIC_VIGOUR
Mystic Vigour - Level 45 Magic prayer alternative for accounts without Augury. -
RIGOUR
Rigour - Level 74 Ranged prayer, +20% Ranged Attack, +23% Ranged Strength, +25% Defence. -
CHIVALRY
Chivalry - Level 60 melee prayer, +15% Attack, +18% Strength, +20% Defence. -
PIETY
Piety - Level 70 melee prayer, +20% Attack, +23% Strength, +25% Defence. -
AUGURY
Augury - Level 77 Magic prayer, +25% Magic Attack, +25% Defence. -
PRESERVE
Preserve - Level 55 prayer, boosts last 50% longer.
-
-
Field Details
-
MAP
A lookup map for findingPrayerInfoby its correspondingPrayer.This map is populated at class initialization and provides O(1) lookup time for converting from the RuneLite Prayer enum to PrayerInfo.
-
-
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
-
getInterfaceAddress
Deprecated, for removal: This API element is subject to removal in a future version.This method is scheduled for removal. Useinstead.invalid reference
#getComponent()Gets the interface address for this prayer's widget.- Returns:
- the
InterfaceAddressfor accessing this prayer's widget
-