Class EVsGainedEvent.Item

java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.pokemon.EVsGainedEvent
com.pixelmonmod.pixelmon.api.events.pokemon.EVsGainedEvent.Item
All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
Direct Known Subclasses:
EVsGainedEvent.Item.Post, EVsGainedEvent.Item.Pre
Enclosing class:
EVsGainedEvent

public static class EVsGainedEvent.Item extends EVsGainedEvent implements net.neoforged.bus.api.ICancellableEvent
Event for when an item is used on a Pokémon to gain EVs
  • Constructor Details

    • Item

      public Item(Pokemon pokemon, EVStore evStore, EVYields evYields, net.minecraft.world.item.ItemStack itemStack)
    • Item

      public Item(Pokemon pokemon, EVStore evStore, int ev, BattleStatsType type, net.minecraft.world.item.ItemStack itemStack)
  • Method Details

    • getItemStack

      public net.minecraft.world.item.ItemStack getItemStack()