Class RustedSwordItem

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

public class RustedSwordItem extends HeldItem
Changes Zacian's form on battle start.
  • Constructor Details

    • RustedSwordItem

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

    • onStartOfBattle

      public void onStartOfBattle(PixelmonWrapper pw)
      Description copied from class: HeldItem
      Triggers at the start of the battle (wherever this is).
      Overrides:
      onStartOfBattle in class HeldItem
      Parameters:
      pw - The Pokémon holding this.
    • onEndOfBattle

      public void onEndOfBattle(PixelmonWrapper pw)
      Description copied from class: HeldItem
      Triggers at the end of the battle.
      Overrides:
      onEndOfBattle in class HeldItem
      Parameters:
      pw - The Pokémon in battle at the battle's end.