Class InteractionPotion
java.lang.Object
com.pixelmonmod.pixelmon.entities.pixelmon.interactions.InteractionPotion
- All Implemented Interfaces:
IInteraction
Heals a Pokémon with a Potion.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
processInteract
(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, wait
Methods inherited from interface com.pixelmonmod.pixelmon.api.interactions.IInteraction
processOnEmptyHand
-
Constructor Details
-
InteractionPotion
public InteractionPotion()
-
-
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 interfaceIInteraction
-