public class MiltankInteraction extends PixelmonInteraction
counter, maxInteractions
Constructor and Description |
---|
MiltankInteraction()
Initializes the interaction.
|
Modifier and Type | Method and Description |
---|---|
boolean |
processInteract(AbstractBaseEntity pixelmon,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand,
net.minecraft.item.ItemStack stack)
Handles a player interacting with the Pokémon.
|
getInteraction, resetCounter
public boolean processInteract(AbstractBaseEntity pixelmon, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand, net.minecraft.item.ItemStack stack)
PixelmonInteraction
processInteract
in class PixelmonInteraction
player
- The player interacting with the Pokémon.