Class MiltankInteraction
java.lang.Object
com.pixelmonmod.pixelmon.entities.pixelmon.interactions.custom.PixelmonInteraction
com.pixelmonmod.pixelmon.entities.pixelmon.interactions.custom.MiltankInteraction
Fills a bucket with milk when used on a Miltank.
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.entities.pixelmon.interactions.custom.PixelmonInteraction
counter, maxInteractions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
processInteract
(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.Methods inherited from class com.pixelmonmod.pixelmon.entities.pixelmon.interactions.custom.PixelmonInteraction
getInteraction, resetCounter
-
Constructor Details
-
MiltankInteraction
public MiltankInteraction()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:PixelmonInteraction
Handles a player interacting with the Pokémon.- Overrides:
processInteract
in classPixelmonInteraction
player
- The player interacting with the Pokémon.- Returns:
- Whether the interaction caused something to occur.
-