Enum Class Rune

java.lang.Object
java.lang.Enum<Rune>
com.epicbot.api.shared.model.Rune
All Implemented Interfaces:
Serializable, Comparable<Rune>, Constable

public enum Rune extends Enum<Rune>
Spell runes and their item ids. Combination runes additionally expose the elemental runes they can substitute for (see getProvides()), which is useful when working out which runes a staff/combination rune satisfies.
  • Enum Constant Details

    • AIR

      public static final Rune AIR
    • WATER

      public static final Rune WATER
    • EARTH

      public static final Rune EARTH
    • FIRE

      public static final Rune FIRE
    • MIND

      public static final Rune MIND
    • BODY

      public static final Rune BODY
    • COSMIC

      public static final Rune COSMIC
    • CHAOS

      public static final Rune CHAOS
    • NATURE

      public static final Rune NATURE
    • LAW

      public static final Rune LAW
    • DEATH

      public static final Rune DEATH
    • ASTRAL

      public static final Rune ASTRAL
    • BLOOD

      public static final Rune BLOOD
    • SOUL

      public static final Rune SOUL
    • WRATH

      public static final Rune WRATH
    • MIST

      public static final Rune MIST
    • DUST

      public static final Rune DUST
    • MUD

      public static final Rune MUD
    • SMOKE

      public static final Rune SMOKE
    • STEAM

      public static final Rune STEAM
    • LAVA

      public static final Rune LAVA
  • Method Details

    • values

      public static Rune[] 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 Rune 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
    • getItemId

      public int getItemId()
    • getProvides

      public Rune[] getProvides()
      For combination runes, the elemental runes this rune can stand in for; empty for basic runes.