Class CameruptInteraction
java.lang.Object
com.pixelmonmod.pixelmon.entities.pixelmon.interactions.custom.PixelmonInteraction
com.pixelmonmod.pixelmon.entities.pixelmon.interactions.custom.CameruptInteraction
Fills a bucket with lava when using it on a Camerupt.
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.entities.pixelmon.interactions.custom.PixelmonInteraction
counter, maxInteractions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprocessInteract(AbstractBaseEntity pixelmon, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.item.ItemStack stack) Handles a player interacting with the Pokémon.voidresetCounter(AbstractBaseEntity pixelmon) Ticks the timer for incrementing the Pokémon's interactions.Methods inherited from class com.pixelmonmod.pixelmon.entities.pixelmon.interactions.custom.PixelmonInteraction
getInteraction
-
Constructor Details
-
CameruptInteraction
public CameruptInteraction()Initializes the interaction.
-
-
Method Details
-
processInteract
public boolean processInteract(AbstractBaseEntity pixelmon, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.item.ItemStack stack) Description copied from class:PixelmonInteractionHandles a player interacting with the Pokémon.- Overrides:
processInteractin classPixelmonInteractionplayer- The player interacting with the Pokémon.- Returns:
- Whether the interaction caused something to occur.
-
resetCounter
Description copied from class:PixelmonInteractionTicks the timer for incrementing the Pokémon's interactions.- Overrides:
resetCounterin classPixelmonInteraction
-