Enum Class NpcParameter

java.lang.Object
java.lang.Enum<NpcParameter>
org.rspeer.game.parameter.NpcParameter
All Implemented Interfaces:
Serializable, Comparable<NpcParameter>, Constable

public enum NpcParameter extends Enum<NpcParameter>
  • Enum Constant Details

    • STAB_ATTACK

      public static final NpcParameter STAB_ATTACK
    • SLASH_ATTACK

      public static final NpcParameter SLASH_ATTACK
    • CRUSH_ATTACK

      public static final NpcParameter CRUSH_ATTACK
    • MAGIC_ATTACK

      public static final NpcParameter MAGIC_ATTACK
    • RANGED_ATTACK

      public static final NpcParameter RANGED_ATTACK
    • STAB_DEFENCE

      public static final NpcParameter STAB_DEFENCE
    • SLASH_DEFENCE

      public static final NpcParameter SLASH_DEFENCE
    • CRUSH_DEFENCE

      public static final NpcParameter CRUSH_DEFENCE
    • MAGIC_DEFENCE

      public static final NpcParameter MAGIC_DEFENCE
    • RANGED_DEFENCE

      public static final NpcParameter RANGED_DEFENCE
    • MELEE_STRENGTH

      public static final NpcParameter MELEE_STRENGTH
    • PRAYER_BONUS

      public static final NpcParameter PRAYER_BONUS
    • RANGED_STRENGTH

      public static final NpcParameter RANGED_STRENGTH
    • MAGIC_STRENGTH

      public static final NpcParameter MAGIC_STRENGTH
    • ATTACK_RANGE

      public static final NpcParameter ATTACK_RANGE
    • ATTACK_SPEED

      public static final NpcParameter ATTACK_SPEED
    • ALWAYS_DROP_ID

      public static final NpcParameter ALWAYS_DROP_ID
    • DRAGONBANE

      public static final NpcParameter DRAGONBANE
    • GOLEMBANE

      public static final NpcParameter GOLEMBANE
    • KALPHITE

      public static final NpcParameter KALPHITE
  • Method Details

    • values

      public static NpcParameter[] 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 NpcParameter 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
    • getId

      public int getId()
    • isString

      public boolean isString()