Class RazorFangItem

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

public class RazorFangItem extends HeldItem
10% of flinching the target with a move.
  • Constructor Details

    • RazorFangItem

      public RazorFangItem()
      Sets up the held item.
  • Method Details

    • modifyMoveEffects

      public void modifyMoveEffects(PixelmonWrapper user, PixelmonWrapper target, List<EffectBase> effects)
      Description copied from class: HeldItem
      Allows the user's held item to adjust the move's effects, such as adding Flinch from King's Rock
      Overrides:
      modifyMoveEffects in class HeldItem
      Parameters:
      user - The item holder and attacking Pokemon.
      target - The Pokemon being attacked.
      effects - The current effects of the attack.