Package me.lokka30.levelledmobs.misc
Enum Class LevellableState
- All Implemented Interfaces:
Serializable
,Comparable<LevellableState>
,Constable
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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe entity is ALLOWED to be levelled.settings.yml has been configured to block mobs of such entity type from being levelledA rule has been configured to block Blood Night from being levelledA rule has been configured to block Citizens NPCs from being levelled.settings.yml has been configured to block DangerousCaves mobs from being levelled.A rule has been configured to block EcoBosses mobs from being levelled.A rule has been configured to block Elite Bosses from being levelledA rule has been configured to block EliteMobs mobs from being levelled.A rule has been configured to block Infernal Mobs mobs from being levelled.A rule has been configured to block MythicMobs mobs from being levelled.A rule has been configured to block Shopkeepers NPCs from being levelled.A rule has been configured to block Simple Pets from being levelledA rule has been configured to block nametagged mobs from being levelled.A rule has been configured to block tamed mobs from being levelled.the plugin force blocked an entity type, such as a PLAYER or ARMOR STAND which are not meant to be 'levelled mobs'.If no rules in the rule list applied to the mob then it will be deniedWhen a reason is not applicable, use this. -
Method Summary
Modifier and TypeMethodDescriptionstatic LevellableState
Returns the enum constant of this class with the specified name.static LevellableState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALLOWED
The entity is ALLOWED to be levelled. Note to developers: there must only be one 'ALLOWED' constant. -
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
settings.yml has been configured to block mobs of such entity type from being levelled -
DENIED_CONFIGURATION_COMPATIBILITY_DANGEROUS_CAVES
settings.yml has been configured to block DangerousCaves mobs from being levelled. -
DENIED_CONFIGURATION_COMPATIBILITY_ECO_BOSSES
A rule has been configured to block EcoBosses mobs from being levelled. -
DENIED_CONFIGURATION_COMPATIBILITY_MYTHIC_MOBS
A rule has been configured to block MythicMobs mobs from being levelled. -
DENIED_CONFIGURATION_COMPATIBILITY_ELITE_MOBS
A rule has been configured to block EliteMobs mobs from being levelled. -
DENIED_CONFIGURATION_COMPATIBILITY_INFERNAL_MOBS
A rule has been configured to block Infernal Mobs mobs from being levelled. -
DENIED_CONFIGURATION_COMPATIBILITY_CITIZENS
A rule has been configured to block Citizens NPCs from being levelled. -
DENIED_CONFIGURATION_COMPATIBILITY_SHOPKEEPERS
A rule has been configured to block Shopkeepers NPCs from being levelled. -
DENIED_CONFIGURATION_COMPATIBILITY_SIMPLEPETS
A rule has been configured to block Simple Pets from being levelled -
DENIED_CONFIGURATION_COMPATIBILITY_ELITE_BOSSES
A rule has been configured to block Elite Bosses from being levelled -
DENIED_CONFIGURATION_COMPATIBILITY_BLOOD_NIGHT
A rule has been configured to block Blood Night from being levelled -
DENIED_CONFIGURATION_CONDITION_NAMETAGGED
A rule has been configured to block nametagged mobs from being levelled. -
DENIED_CONFIGURATION_CONDITION_TAMED
A rule has been configured to block tamed mobs from being levelled. -
DENIED_NO_APPLICABLE_RULES
If no rules in the rule list applied to the mob then it will be denied -
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
-
-
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
-