Class EVGainEvent.Pre
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.battles.EVGainEvent
com.pixelmonmod.pixelmon.api.events.battles.EVGainEvent.Pre
- Enclosing class:
- EVGainEvent
Cancelling this will prevent the yields from being given at all.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.battles.EVGainEvent
EVGainEvent.DoubleYieldEvent, EVGainEvent.Post, EVGainEvent.Pre
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
Fields inherited from class com.pixelmonmod.pixelmon.api.events.battles.EVGainEvent
evYields, originalEVYields, pokemon
-
Constructor Summary
-
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.battles.EVGainEvent
getEvYields, getOriginalEVYields, getPokemon
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
Pre
-
-
Method Details
-
setYield
This is used to set the yields to a new value- Parameters:
evYields
- The new EVYields being given tot he Pokemon
-