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

public static enum ClassAbilityProcEvent.Proc extends Enum<ClassAbilityProcEvent.Proc>
A built-in class ability trigger.
  • Enum Constant Details

  • Method Details

    • values

      public static ClassAbilityProcEvent.Proc[] 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 ClassAbilityProcEvent.Proc 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
    • getAbilityType

      @NotNull public @NotNull String getAbilityType()
      The ability type it belongs to, one of ClassAbilities.TYPES.
    • hasMagnitude

      public boolean hasMagnitude()
      Whether it has a magnitude.
    • hasItem

      public boolean hasItem()
      Whether it hands out an item.