Class LegendPlateItem

All Implemented Interfaces:
ITranslatable, net.minecraft.world.flag.FeatureElement, net.minecraft.world.level.ItemLike, net.minecraftforge.common.extensions.IForgeItem

public class LegendPlateItem extends PlateItem
  • Constructor Details

    • LegendPlateItem

      public LegendPlateItem()
  • Method Details

    • preProcessDamagingAttackUser

      public double preProcessDamagingAttackUser(PixelmonWrapper attacker, PixelmonWrapper target, Attack attack, double damage)
      Description copied from class: HeldItem
      Triggers before the holder uses a damaging attack.
      Overrides:
      preProcessDamagingAttackUser in class TypeEnhancingItems
      Parameters:
      attacker - The attack's user.
      target - The attack's target.
      attack - The attack.
      damage - The damage to be dealt.
      Returns:
      The modified damage.
    • 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.
    • getNewType

      public Element getNewType(PixelmonWrapper target)