Class AssaultVestItem

java.lang.Object
net.minecraft.world.item.Item
com.pixelmonmod.pixelmon.items.PixelmonItem
com.pixelmonmod.pixelmon.items.HeldItem
com.pixelmonmod.pixelmon.items.heldItems.AssaultVestItem
All Implemented Interfaces:
ITranslatable, net.minecraft.world.flag.FeatureElement, net.minecraft.world.level.ItemLike, net.minecraftforge.common.extensions.IForgeItem

public class AssaultVestItem extends HeldItem
Raises Special Defense by 50% and prevents status moves from being used.
  • Constructor Details

    • AssaultVestItem

      public AssaultVestItem()
      Initializes the held item.
  • Method Details

    • modifyStats

      public int[] modifyStats(PixelmonWrapper user, int[] stats)
      Description copied from class: HeldItem
      Modifies the Pokémon's stats at the beginning of a battle turn.
      Overrides:
      modifyStats in class HeldItem
      Parameters:
      user - The Pokémon.
      stats - The Pokémon's stats.
      Returns:
      The modified stats.
    • applySwitchInEffect

      public void applySwitchInEffect(PixelmonWrapper newPokemon)
      Description copied from class: HeldItem
      Triggers when the holder switches in and when a Pokémon receives a held item in battle.
      Overrides:
      applySwitchInEffect in class HeldItem
      Parameters:
      newPokemon - The Pokémon switching in.
    • applyRepeatedEffect

      public void applyRepeatedEffect(PixelmonWrapper pokemon)
      Description copied from class: HeldItem
      Triggers at the end of every turn.
      Overrides:
      applyRepeatedEffect in class HeldItem
      Parameters:
      pokemon - The holder.