Class EvolveEvent.Post
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.EvolveEvent
com.pixelmonmod.pixelmon.api.events.EvolveEvent.Post
- Enclosing class:
- EvolveEvent
Event fired after all the evolution logic is complete, the entity has been spawned (if not already in the world)
and the species/form updated
This event is not cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.EvolveEvent
EvolveEvent.Constants, EvolveEvent.Post, EvolveEvent.Pre
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Constructor Summary
-
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.EvolveEvent
getCause, getEvolution, getPlayer, getPokemon, isInternal
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
Post
public Post(net.minecraft.server.level.ServerPlayer player, Pokemon pokemon, Evolution evolution, String cause) Basic constructor for the post evolution event Including the player, Pokémon, evolution and entity- Parameters:
player
- The playerpokemon
- The Pokémonevolution
- The evolutioncause
- The cause of the evolution
-