Enum Class SpecialAttackType

java.lang.Object
java.lang.Enum<SpecialAttackType>
etithespirit.orimod.client.audio.variation.SpecialAttackType
All Implemented Interfaces:
Serializable, Comparable<SpecialAttackType>, Constable

public enum SpecialAttackType extends Enum<SpecialAttackType>
Represents a type of attack that's different than just swinging your sword (because you are the lord of diamond swords).
Author:
Eti
  • Enum Constant Details

    • KNOCKBACK

      public static final SpecialAttackType KNOCKBACK
      The attack performed knockback on the target.
    • SWEEP

      public static final SpecialAttackType SWEEP
      The attack was coupled with a sweep of your sword.
  • Method Details

    • values

      public static SpecialAttackType[] 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 SpecialAttackType 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