Class EVGainEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.battles.EVGainEvent
- Direct Known Subclasses:
EVGainEvent.DoubleYieldEvent
,EVGainEvent.Post
,EVGainEvent.Pre
public class EVGainEvent
extends net.minecraftforge.eventbus.api.Event
All events relating to when EVs are gained, or are about to be gained,
by a Pokemon typically after winning a battle, or knocking out an opponent.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
These events are fired before the EVs are given to the Pokemon.static class
static class
Cancelling this will prevent the yields from being given at all.Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
pokemon
-
originalEVYields
-
evYields
-
-
Constructor Details
-
EVGainEvent
-
-
Method Details
-
getPokemon
-
getOriginalEVYields
-
getEvYields
-