Enum Class Effect

java.lang.Object
java.lang.Enum<Effect>
ac.boar.anticheat.data.effect.Effect
All Implemented Interfaces:
Serializable, Comparable<Effect>, Constable

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

    • JUMP_BOOST

      public static final Effect JUMP_BOOST
    • LEVITATION

      public static final Effect LEVITATION
    • CONDUIT_POWER

      public static final Effect CONDUIT_POWER
    • SLOW_FALLING

      public static final Effect SLOW_FALLING
    • BAD_OMEN

      public static final Effect BAD_OMEN
    • HERO_OF_THE_VILLAGE

      public static final Effect HERO_OF_THE_VILLAGE
    • DARKNESS

      public static final Effect DARKNESS
    • TRIAL_OMEN

      public static final Effect TRIAL_OMEN
    • WIND_CHARGED

      public static final Effect WIND_CHARGED
    • WEAVING

      public static final Effect WEAVING
    • OOZING

      public static final Effect OOZING
    • INFESTED

      public static final Effect INFESTED
    • RAID_OMEN

      public static final Effect RAID_OMEN
  • Method Details

    • values

      public static Effect[] 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 Effect 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
    • byId

      public static Effect byId(int id)