Class ItemInteractionEvent.Post
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.pokemon.ItemInteractionEvent
com.pixelmonmod.pixelmon.api.events.pokemon.ItemInteractionEvent.Post
- Enclosing class:
ItemInteractionEvent
Event fired after the interaction has completed.
This event is not cancellable.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.pokemon.ItemInteractionEvent
ItemInteractionEvent.Post, ItemInteractionEvent.Pre
-
Constructor Summary
ConstructorsConstructorDescriptionPost
(net.minecraft.world.entity.player.Player player, PixelmonEntity pixelmon, net.minecraft.world.item.ItemStack item) Basic constructor for the post Item Interaction event Including the player, Pokémon, evolution and entity -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.pokemon.ItemInteractionEvent
getItem, getItemStack, getPixelmon, getPlayer, getPokemon
-
Constructor Details
-
Post
public Post(net.minecraft.world.entity.player.Player player, PixelmonEntity pixelmon, net.minecraft.world.item.ItemStack item) Basic constructor for the post Item Interaction event Including the player, Pokémon, evolution and entity- Parameters:
player
- The playerpixelmon
- The Pokémonitem
- The item
-