Enum Class Beacon.BuffReceiver

java.lang.Object
java.lang.Enum<Beacon.BuffReceiver>
de.Keyle.MyPet.api.skill.skills.Beacon.BuffReceiver
All Implemented Interfaces:
Serializable, Comparable<Beacon.BuffReceiver>, Constable
Enclosing interface:
Beacon

public static enum Beacon.BuffReceiver extends Enum<Beacon.BuffReceiver>
Determines which players receive the beacon's potion-effect buffs.
  • Enum Constant Details

    • Owner

      public static final Beacon.BuffReceiver Owner
      Only the pet's owner receives buffs.
    • Party

      public static final Beacon.BuffReceiver Party
      All members of the owner's party receive buffs.
    • Everyone

      public static final Beacon.BuffReceiver Everyone
      All players within range receive buffs.
  • Method Details

    • values

      public static Beacon.BuffReceiver[] 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 Beacon.BuffReceiver 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