Class PunchingGloveItem

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

public class PunchingGloveItem extends HeldItem
Increases the power of punching moves by 10% and prevents contact with targets done by those moves. Stacks with Iron Fist.
  • Constructor Details

    • PunchingGloveItem

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

    • modifyPowerAndAccuracyUser

      public int[] modifyPowerAndAccuracyUser(int[] modifiedMoveStats, PixelmonWrapper user, PixelmonWrapper target, Attack a)
      Description copied from class: HeldItem
      Modifies the power and accuracy of the Pokémon's attack.
      Overrides:
      modifyPowerAndAccuracyUser in class HeldItem
      Parameters:
      modifiedMoveStats - The attack's power and accuracy.
      user - The attack's user.
      target - The attack's target.
      a - The attack.
      Returns:
      The modified power and accuracy.