Class HeldItemChangedEvent.Post

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.HeldItemChangedEvent
com.pixelmonmod.pixelmon.api.events.HeldItemChangedEvent.Post
Enclosing class:
HeldItemChangedEvent

public static class HeldItemChangedEvent.Post extends HeldItemChangedEvent
Event fired after a Pokémon's held item is changed. Cannot be cancelled player - The player the item is being changed for pokemon - The pokemon the item is being changed on newHeldItem - The item that is being held. Cannot be modified at this stage
  • Constructor Details

    • Post

      public Post(@Nullable net.minecraft.server.level.ServerPlayer player, Pokemon pokemon, net.minecraft.world.item.ItemStack newHeldItem)