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

public static class ItemInteractionEvent.Post extends ItemInteractionEvent
Event fired after the interaction has completed. This event is not cancellable.
  • 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 player
      pixelmon - The Pokémon
      item - The item