Class EVGainEvent.DoubleYieldEvent

java.lang.Object
net.minecraftforge.eventbus.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 Pokemon.
This indicates that the EVYields is being doubled for the Pokemon for some reason, such as pokerus, or an ev adjusting item.
This is not used for modifying the yields given to the Pokemon, if that is what you're looking for then please use the EVGainEvent.DoubleYieldEvent.Pre event.
  • Constructor Details

    • DoubleYieldEvent

      public DoubleYieldEvent(Pokemon pokemon, EVYields evYields)