public class CameruptInteraction extends PixelmonInteraction
counter, maxInteractions| Constructor and Description |
|---|
CameruptInteraction()
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.
|
void |
resetCounter(AbstractBaseEntity pixelmon)
Ticks the timer for incrementing the Pokémon's interactions.
|
getInteractionpublic boolean processInteract(AbstractBaseEntity pixelmon, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand, net.minecraft.item.ItemStack stack)
PixelmonInteractionprocessInteract in class PixelmonInteractionplayer - The player interacting with the Pokémon.public void resetCounter(AbstractBaseEntity pixelmon)
PixelmonInteractionresetCounter in class PixelmonInteraction