Class MegaEvolutionEvent.Pre
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.MegaEvolutionEvent
com.pixelmonmod.pixelmon.api.events.MegaEvolutionEvent.Pre
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
MegaEvolutionEvent
public static class MegaEvolutionEvent.Pre
extends MegaEvolutionEvent
implements net.neoforged.bus.api.ICancellableEvent
Fired just before the mega evolution logic occurs
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.MegaEvolutionEvent
MegaEvolutionEvent.Battle, MegaEvolutionEvent.MoveSkill, MegaEvolutionEvent.Post, MegaEvolutionEvent.Pre
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.MegaEvolutionEvent
getEntity, getPlayer, getPokemon, getStone, getStoneItem, isUltraBurst
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.neoforged.bus.api.ICancellableEvent
isCanceled, setCanceled
-
Constructor Details
-
Pre
Basic constructor for the pre event taking the pokemon- Parameters:
pokemon
- The evolving pokemon
-