Class BattleEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
- Direct Known Subclasses:
ApplyBonusStatsEvent
,AttackEvent
,BagItemEvent
,BattleEndEvent
,BattleStartedEvent
,BattleStatStageModifyBattleEvent
,BattleTickEvent
,ExperienceGainEvent
,ForceEndBattleEvent
,SetBattleAIEvent
,SpectateEvent
,TurnEndEvent
,UseBattleItemEvent
public class BattleEvent
extends net.minecraftforge.eventbus.api.Event
The parent class for all battle related events
-
Nested Class Summary
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the battle controller for the battle this event took place inMethods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
battleController
-
-
Constructor Details
-
BattleEvent
-
-
Method Details
-
getBattleController
Gets the battle controller for the battle this event took place in- Returns:
- The battle controller
-