Enum Class ClassAbilityProcEvent.Proc
java.lang.Object
java.lang.Enum<ClassAbilityProcEvent.Proc>
dev.itsharshxd.zentrix.api.events.classes.ClassAbilityProcEvent.Proc
- All Implemented Interfaces:
Serializable,Comparable<ClassAbilityProcEvent.Proc>,Constable
- Enclosing class:
ClassAbilityProcEvent
A built-in class ability trigger.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMiner: a mined ore comes out smelted.Archer: a critical arrow hit grants regeneration and speed.Looter: the first eligible chest or barrel opened gets a bonus item.Fisherman: a copy of the catch drops.Trapper: part of the fall damage is prevented.Fisherman: a mineral drops with the catch.Warrior: a melee hit deals delayed bonus damage. -
Method Summary
Modifier and TypeMethodDescription@NotNull StringThe ability type it belongs to, one ofClassAbilities.TYPES.booleanhasItem()Whether it hands out an item.booleanWhether it has a magnitude.static ClassAbilityProcEvent.ProcReturns the enum constant of this class with the specified name.static ClassAbilityProcEvent.Proc[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TRUE_DAMAGE
Warrior: a melee hit deals delayed bonus damage. -
BOW_SHOT_BUFF
Archer: a critical arrow hit grants regeneration and speed. -
CHEST_BONUS
Looter: the first eligible chest or barrel opened gets a bonus item. -
FALL_DAMAGE_REDUCTION
Trapper: part of the fall damage is prevented. -
EXTRA_CATCH
Fisherman: a copy of the catch drops. -
MINERAL_DROP
Fisherman: a mineral drops with the catch. -
AUTO_SMELT
Miner: a mined ore comes out smelted.
-
-
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
-
getAbilityType
The ability type it belongs to, one ofClassAbilities.TYPES. -
hasMagnitude
public boolean hasMagnitude()Whether it has a magnitude. -
hasItem
public boolean hasItem()Whether it hands out an item.
-