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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.pokemon.EVsGainedEvent
EVsGainedEvent.Item -
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.events.pokemon.EVsGainedEvent
evStore, evYields, pokemon -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.bus.api.ICancellableEvent
isCanceled, setCanceled
-
Constructor Details
-
Item
-
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()
-