Enum Class PrayerInfo

java.lang.Object
java.lang.Enum<PrayerInfo>
net.storm.api.prayer.PrayerInfo
All Implemented Interfaces:
Serializable, Comparable<PrayerInfo>, Constable

public enum PrayerInfo extends Enum<PrayerInfo>
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:
  • Prayer
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Augury - 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

    Fields
    Modifier and Type
    Field
    Description
    static final Map<net.runelite.api.Prayer,PrayerInfo>
    A lookup map for finding PrayerInfo by its corresponding Prayer.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    This method is scheduled for removal.
    static PrayerInfo
    Returns the enum constant of this class with the specified name.
    static PrayerInfo[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • THICK_SKIN

      public static final PrayerInfo THICK_SKIN
      Thick Skin - Level 1 Defence prayer, +5% Defence.
    • BURST_OF_STRENGTH

      public static final PrayerInfo BURST_OF_STRENGTH
      Burst of Strength - Level 4 Strength prayer, +5% Strength.
    • CLARITY_OF_THOUGHT

      public static final PrayerInfo CLARITY_OF_THOUGHT
      Clarity of Thought - Level 7 Attack prayer, +5% Attack.
    • ROCK_SKIN

      public static final PrayerInfo ROCK_SKIN
      Rock Skin - Level 10 Defence prayer, +10% Defence.
    • SUPERHUMAN_STRENGTH

      public static final PrayerInfo SUPERHUMAN_STRENGTH
      Superhuman Strength - Level 13 Strength prayer, +10% Strength.
    • IMPROVED_REFLEXES

      public static final PrayerInfo IMPROVED_REFLEXES
      Improved Reflexes - Level 16 Attack prayer, +10% Attack.
    • RAPID_RESTORE

      public static final PrayerInfo RAPID_RESTORE
      Rapid Restore - Level 19 prayer, doubles stat restoration rate.
    • RAPID_HEAL

      public static final PrayerInfo RAPID_HEAL
      Rapid Heal - Level 22 prayer, doubles hitpoints restoration rate.
    • PROTECT_ITEM

      public static final PrayerInfo PROTECT_ITEM
      Protect Item - Level 25 prayer, keeps an extra item on death.
    • STEEL_SKIN

      public static final PrayerInfo STEEL_SKIN
      Steel Skin - Level 28 Defence prayer, +15% Defence.
    • ULTIMATE_STRENGTH

      public static final PrayerInfo ULTIMATE_STRENGTH
      Ultimate Strength - Level 31 Strength prayer, +15% Strength.
    • INCREDIBLE_REFLEXES

      public static final PrayerInfo INCREDIBLE_REFLEXES
      Incredible Reflexes - Level 34 Attack prayer, +15% Attack.
    • PROTECT_FROM_MAGIC

      public static final PrayerInfo PROTECT_FROM_MAGIC
      Protect from Magic - Level 37 prayer, protects against magic attacks.
    • PROTECT_FROM_MISSILES

      public static final PrayerInfo PROTECT_FROM_MISSILES
      Protect from Missiles - Level 40 prayer, protects against ranged attacks.
    • PROTECT_FROM_MELEE

      public static final PrayerInfo PROTECT_FROM_MELEE
      Protect from Melee - Level 43 prayer, protects against melee attacks.
    • RETRIBUTION

      public static final PrayerInfo RETRIBUTION
      Retribution - Level 46 prayer, deals damage to nearby enemies on death.
    • REDEMPTION

      public static final PrayerInfo REDEMPTION
      Redemption - Level 49 prayer, heals when hitpoints drop low.
    • SMITE

      public static final PrayerInfo SMITE
      Smite - Level 52 prayer, drains enemy prayer when dealing damage.
    • SHARP_EYE

      public static final PrayerInfo SHARP_EYE
      Sharp Eye - Level 8 Ranged prayer, +5% Ranged.
    • HAWK_EYE

      public static final PrayerInfo HAWK_EYE
      Hawk Eye - Level 26 Ranged prayer, +10% Ranged.
    • EAGLE_EYE

      public static final PrayerInfo EAGLE_EYE
      Eagle Eye - Level 44 Ranged prayer, +15% Ranged.
    • DEADEYE

      public static final PrayerInfo DEADEYE
      Deadeye - Level 44 Ranged prayer alternative for accounts without Rigour.
    • MYSTIC_WILL

      public static final PrayerInfo MYSTIC_WILL
      Mystic Will - Level 9 Magic prayer, +5% Magic.
    • MYSTIC_LORE

      public static final PrayerInfo MYSTIC_LORE
      Mystic Lore - Level 27 Magic prayer, +10% Magic.
    • MYSTIC_MIGHT

      public static final PrayerInfo MYSTIC_MIGHT
      Mystic Might - Level 45 Magic prayer, +15% Magic.
    • MYSTIC_VIGOUR

      public static final PrayerInfo MYSTIC_VIGOUR
      Mystic Vigour - Level 45 Magic prayer alternative for accounts without Augury.
    • RIGOUR

      public static final PrayerInfo RIGOUR
      Rigour - Level 74 Ranged prayer, +20% Ranged Attack, +23% Ranged Strength, +25% Defence.
    • CHIVALRY

      public static final PrayerInfo CHIVALRY
      Chivalry - Level 60 melee prayer, +15% Attack, +18% Strength, +20% Defence.
    • PIETY

      public static final PrayerInfo PIETY
      Piety - Level 70 melee prayer, +20% Attack, +23% Strength, +25% Defence.
    • AUGURY

      public static final PrayerInfo AUGURY
      Augury - Level 77 Magic prayer, +25% Magic Attack, +25% Defence.
    • PRESERVE

      public static final PrayerInfo PRESERVE
      Preserve - Level 55 prayer, boosts last 50% longer.
  • Field Details

    • MAP

      public static final Map<net.runelite.api.Prayer,PrayerInfo> MAP
      A lookup map for finding PrayerInfo by its corresponding Prayer.

      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

      public static PrayerInfo[] 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

      public static PrayerInfo valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getInterfaceAddress

      @Deprecated(forRemoval=true) public InterfaceAddress getInterfaceAddress()
      Deprecated, for removal: This API element is subject to removal in a future version.
      This method is scheduled for removal. Use
      invalid reference
      #getComponent()
      instead.
      Gets the interface address for this prayer's widget.
      Returns:
      the InterfaceAddress for accessing this prayer's widget