Class InteractionHeldItem
java.lang.Object
com.pixelmonmod.pixelmon.entities.pixelmon.interactions.InteractionHeldItem
- All Implemented Interfaces:
IInteraction
Gives the Pokémon a held item.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprocessInteract(PixelmonEntity entityPixelmon, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.item.ItemStack itemStack) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.pixelmonmod.pixelmon.api.interactions.IInteraction
processOnEmptyHand
-
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:
processInteractin interfaceIInteraction
-