Class DynamaxEvent

java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.DynamaxEvent
Direct Known Subclasses:
DynamaxEvent.BattleEvolve, DynamaxEvent.PostEvolve

public abstract class DynamaxEvent extends net.neoforged.bus.api.Event
Event fired when a Pokémon Dynamaxes or Gigantamaxes. Canceling the BattleEvolve sub-event will prevent the change.
  • Field Details

    • gigantamax

      public final boolean gigantamax
      If this is Gigantamax
  • Constructor Details

    • DynamaxEvent

      public DynamaxEvent(boolean gigantamax)