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
These events are fired before the EVs are given to the Pokémon.
This indicates that the
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
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.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
Cancelling this will prevent the yields from being doubled.Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.battles.EVGainEvent
EVGainEvent.DoubleYieldEvent
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.events.battles.EVGainEvent
evYields, faintedPokemon, originalEVYields, pokemon
-
Constructor Summary
ConstructorsConstructorDescriptionDoubleYieldEvent
(Pokemon pokemon, Pokemon faintedPokemon, EVYields originalEVYields, EVYields evYields) DoubleYieldEvent
(Pokemon pokemon, EVYields evYields) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.battles.EVGainEvent
getEvYields, getFaintedPokemon, getOriginalEVYields, getPokemon
-
Constructor Details
-
DoubleYieldEvent
@Deprecated(since="9.2.11", forRemoval=true) public DoubleYieldEvent(Pokemon pokemon, EVYields evYields) Deprecated, for removal: This API element is subject to removal in a future version. -
DoubleYieldEvent
-