Class DynamaxEvent

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

public abstract class DynamaxEvent extends net.minecraftforge.eventbus.api.Event
Event fired when a Pokémon Dynamaxes or Gigantamaxes. Canceling the BattleEvolve sub-event will prevent the change.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event

    net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final boolean
    If this is Gigantamax
  • Constructor Summary

    Constructors
    Constructor
    Description
    DynamaxEvent(boolean gigantamax)
     
  • Method Summary

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • gigantamax

      public final boolean gigantamax
      If this is Gigantamax
  • Constructor Details

    • DynamaxEvent

      public DynamaxEvent(boolean gigantamax)