Class BattleStartedEvent.Pre
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
com.pixelmonmod.pixelmon.api.events.battles.BattleStartedEvent
com.pixelmonmod.pixelmon.api.events.battles.BattleStartedEvent.Pre
- Enclosing class:
- BattleStartedEvent
Fired before the battle is registered and begins.
This is the event where all pre-battle checks should be performed as cancelling this event will prevent the battle from starting. However, it is note-worthy that this event is fired after the checks for evolutions and other battles are performed.
This is the event where all pre-battle checks should be performed as cancelling this event will prevent the battle from starting. However, it is note-worthy that this event is fired after the checks for evolutions and other battles are performed.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.battles.BattleStartedEvent
BattleStartedEvent.Post, BattleStartedEvent.PreNested 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 inherited from class com.pixelmonmod.pixelmon.api.events.battles.BattleStartedEvent
teamOne, teamTwoFields inherited from class com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
battleController -
Constructor Summary
ConstructorsConstructorDescriptionPre(BattleController bc, BattleParticipant[] team1, BattleParticipant[] team2) -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.battles.BattleStartedEvent
getTeamOne, getTeamTwoMethods inherited from class com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
getBattleControllerMethods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
Pre
-