Class MegaEvolutionEvent.Pre

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.MegaEvolutionEvent
com.pixelmonmod.pixelmon.api.events.MegaEvolutionEvent.Pre
Enclosing class:
MegaEvolutionEvent

public static class MegaEvolutionEvent.Pre extends MegaEvolutionEvent
Fired just before the mega evolution logic occurs
  • Constructor Details

    • Pre

      public Pre(net.minecraft.server.level.ServerPlayer player, Pokemon pokemon)
      Basic constructor for the pre event taking the pokemon
      Parameters:
      pokemon - The evolving pokemon