Class BlunderPolicyItem

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

public class BlunderPolicyItem extends HeldItem
Raises Speed by 2 stages if an attack fails an accuracy check.
  • Constructor Details

    • BlunderPolicyItem

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

    • onMiss

      public void onMiss(PixelmonWrapper attacker, PixelmonWrapper target, Attack attack)
      Description copied from class: HeldItem
      Triggers if the holder misses an attack.
      Overrides:
      onMiss in class HeldItem
      Parameters:
      attacker - The attack's user.
      target - The attack's intended target.
      attack - The attack used.