Class BattleStartedEvent

java.lang.Object
net.minecraftforge.eventbus.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 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