Class InteractionElixir
java.lang.Object
com.pixelmonmod.pixelmon.entities.pixelmon.interactions.InteractionElixir
- All Implemented Interfaces:
IInteraction
Uses an Elixir on a Pokémon outside of battle.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
processInteract
(PixelmonEntity pixelmon, 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, wait
Methods inherited from interface com.pixelmonmod.pixelmon.api.interactions.IInteraction
processOnEmptyHand
-
Constructor Details
-
InteractionElixir
public InteractionElixir()
-
-
Method Details
-
processInteract
public boolean processInteract(PixelmonEntity pixelmon, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.item.ItemStack itemstack) - Specified by:
processInteract
in interfaceIInteraction
-