Class BattleStartedEvent

java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
com.pixelmonmod.pixelmon.api.events.battles.BattleStartedEvent
Direct Known Subclasses:
BattleStartedEvent.Post, BattleStartedEvent.Pre

public class BattleStartedEvent extends BattleEvent
This class represents the events fired when a battle begins between two sides. All battles are started using the
invalid reference
com.pixelmonmod.pixelmon.battles.BattleRegistry#startBattle(BattleParticipant, BattleParticipant)
functions which is where this event is most likely called from.
Check BattleStartedEvent.Pre and BattleStartedEvent.Post for more specific implementation details