Class InteractionChangeForm
java.lang.Object
com.pixelmonmod.pixelmon.entities.pixelmon.interactions.InteractionChangeForm
- All Implemented Interfaces:
IInteraction
Changes a Pokémon's form when a specific item is used on it.
-
Constructor Summary
-
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
-
InteractionChangeForm
public InteractionChangeForm()
-
-
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
-