Class EVGainEvent.DoubleYieldEvent

java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.battles.EVGainEvent
com.pixelmonmod.pixelmon.api.events.battles.EVGainEvent.DoubleYieldEvent
Direct Known Subclasses:
EVGainEvent.DoubleYieldEvent.Post, EVGainEvent.DoubleYieldEvent.Pre
Enclosing class:
EVGainEvent

public static class EVGainEvent.DoubleYieldEvent extends EVGainEvent
These events are fired before the EVs are given to the Pokémon.
This indicates that the EVYields is being doubled for the Pokémon for some reason, such as pokerus, or an ev adjusting item.
This is not used for modifying the yields given to the Pokémon, if that is what you're looking for then please use the EVGainEvent.Pre event.
  • Constructor Details