Enum Class BattleItem

java.lang.Object
java.lang.Enum<BattleItem>
com.pixelmonmod.pixelmon.api.battles.BattleItem
All Implemented Interfaces:
Serializable, Comparable<BattleItem>, Constable

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

    • X_ATTACK

      public static final BattleItem X_ATTACK
    • X_DEFENSE

      public static final BattleItem X_DEFENSE
    • X_SPECIAL_ATTACK

      public static final BattleItem X_SPECIAL_ATTACK
    • X_SPECIAL_DEFENSE

      public static final BattleItem X_SPECIAL_DEFENSE
    • X_SPEED

      public static final BattleItem X_SPEED
    • X_ACCURACY

      public static final BattleItem X_ACCURACY
    • DIRE_HIT

      public static final BattleItem DIRE_HIT
    • GUARD_SPEC

      public static final BattleItem GUARD_SPEC
    • MAX_MUSHROOM

      public static final BattleItem MAX_MUSHROOM
    • FLUFFY_TAIL

      public static final BattleItem FLUFFY_TAIL
    • RED_FLUTE

      public static final BattleItem RED_FLUTE
    • GREEN_FLUTE

      public static final BattleItem GREEN_FLUTE
    • BLUE_FLUTE

      public static final BattleItem BLUE_FLUTE
    • YELLOW_FLUTE

      public static final BattleItem YELLOW_FLUTE
  • Method Details

    • values

      public static BattleItem[] 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 BattleItem 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
    • getEffectType

      public BattleStatsType getEffectType()
    • getTextureName

      public String getTextureName()