Class InteractionHeldItem

java.lang.Object
com.pixelmonmod.pixelmon.entities.pixelmon.interactions.InteractionHeldItem
All Implemented Interfaces:
IInteraction

public class InteractionHeldItem extends Object implements IInteraction
Gives the Pokémon a held item.
  • Constructor Details

    • InteractionHeldItem

      public InteractionHeldItem()
  • Method Details

    • processInteract

      public boolean processInteract(PixelmonEntity entityPixelmon, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.item.ItemStack itemStack)
      Specified by:
      processInteract in interface IInteraction