Enum Class LevellableState

java.lang.Object
java.lang.Enum<LevellableState>
me.lokka30.levelledmobs.misc.LevellableState
All Implemented Interfaces:
Serializable, Comparable<LevellableState>, Constable

public enum LevellableState extends Enum<LevellableState>
This provides information on if a mob is levellable or not, and if not, a reason is supplied. A mob is levellable if their LevellableState = ALLOW.
Since:
2.4.0
  • Enum Constant Details

    • ALLOWED

      public static final LevellableState ALLOWED
      The entity is ALLOWED to be levelled. Note to developers: there must only be one 'ALLOWED' constant.
    • DENIED_FORCE_BLOCKED_ENTITY_TYPE

      public static final LevellableState DENIED_FORCE_BLOCKED_ENTITY_TYPE
      the plugin force blocked an entity type, such as a PLAYER or ARMOR STAND which are not meant to be 'levelled mobs'.
    • DENIED_CONFIGURATION_BLOCKED_ENTITY_TYPE

      public static final LevellableState DENIED_CONFIGURATION_BLOCKED_ENTITY_TYPE
      settings.yml has been configured to block mobs of such entity type from being levelled
    • DENIED_CONFIGURATION_COMPATIBILITY_DANGEROUS_CAVES

      public static final LevellableState DENIED_CONFIGURATION_COMPATIBILITY_DANGEROUS_CAVES
      settings.yml has been configured to block DangerousCaves mobs from being levelled.
    • DENIED_CONFIGURATION_COMPATIBILITY_ECO_BOSSES

      public static final LevellableState DENIED_CONFIGURATION_COMPATIBILITY_ECO_BOSSES
      A rule has been configured to block EcoBosses mobs from being levelled.
    • DENIED_CONFIGURATION_COMPATIBILITY_MYTHIC_MOBS

      public static final LevellableState DENIED_CONFIGURATION_COMPATIBILITY_MYTHIC_MOBS
      A rule has been configured to block MythicMobs mobs from being levelled.
    • DENIED_CONFIGURATION_COMPATIBILITY_ELITE_MOBS

      public static final LevellableState DENIED_CONFIGURATION_COMPATIBILITY_ELITE_MOBS
      A rule has been configured to block EliteMobs mobs from being levelled.
    • DENIED_CONFIGURATION_COMPATIBILITY_INFERNAL_MOBS

      public static final LevellableState DENIED_CONFIGURATION_COMPATIBILITY_INFERNAL_MOBS
      A rule has been configured to block Infernal Mobs mobs from being levelled.
    • DENIED_CONFIGURATION_COMPATIBILITY_CITIZENS

      public static final LevellableState DENIED_CONFIGURATION_COMPATIBILITY_CITIZENS
      A rule has been configured to block Citizens NPCs from being levelled.
    • DENIED_CONFIGURATION_COMPATIBILITY_SHOPKEEPERS

      public static final LevellableState DENIED_CONFIGURATION_COMPATIBILITY_SHOPKEEPERS
      A rule has been configured to block Shopkeepers NPCs from being levelled.
    • DENIED_CONFIGURATION_COMPATIBILITY_SIMPLEPETS

      public static final LevellableState DENIED_CONFIGURATION_COMPATIBILITY_SIMPLEPETS
      A rule has been configured to block Simple Pets from being levelled
    • DENIED_CONFIGURATION_COMPATIBILITY_ELITE_BOSSES

      public static final LevellableState DENIED_CONFIGURATION_COMPATIBILITY_ELITE_BOSSES
      A rule has been configured to block Elite Bosses from being levelled
    • DENIED_CONFIGURATION_COMPATIBILITY_BLOOD_NIGHT

      public static final LevellableState DENIED_CONFIGURATION_COMPATIBILITY_BLOOD_NIGHT
      A rule has been configured to block Blood Night from being levelled
    • DENIED_CONFIGURATION_CONDITION_NAMETAGGED

      public static final LevellableState DENIED_CONFIGURATION_CONDITION_NAMETAGGED
      A rule has been configured to block nametagged mobs from being levelled.
    • DENIED_CONFIGURATION_CONDITION_TAMED

      public static final LevellableState DENIED_CONFIGURATION_CONDITION_TAMED
      A rule has been configured to block tamed mobs from being levelled.
    • DENIED_NO_APPLICABLE_RULES

      public static final LevellableState DENIED_NO_APPLICABLE_RULES
      If no rules in the rule list applied to the mob then it will be denied
    • DENIED_OTHER

      public static final LevellableState DENIED_OTHER
      When a reason is not applicable, use this. Please contact a lead developer if you believe you must resort to using this.
    • DENIED_LEVEL_0

      public static final LevellableState DENIED_LEVEL_0
  • Method Details

    • values

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