Class DestinyKnotItem

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

public class DestinyKnotItem extends HeldItem
Causes the opponent to become infatuated if the user becomes infatuated.
  • Constructor Details

    • DestinyKnotItem

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

    • onStatusAdded

      public void onStatusAdded(PixelmonWrapper user, PixelmonWrapper opponent, StatusBase status)
      Description copied from class: HeldItem
      Triggers when the holder is statused.
      Overrides:
      onStatusAdded in class HeldItem
      Parameters:
      user - The statused Pokémon.
      opponent - The Pokémon that caused the status.
      status - The new status.