Class SetBattleAIEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
com.pixelmonmod.pixelmon.api.events.battles.SetBattleAIEvent
Event fired when the AI for a
BattleParticipant
is being set. The used
BattleAIBase
can be changed. It is worth noting that players get their
AI set, even though it is not used unless simulateMode
in the
BattleController
is true.-
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
Fields inherited from class com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
battleController
-
Constructor Summary
ConstructorDescriptionSetBattleAIEvent
(BattleController bc, BattleParticipant participant, BattleAIBase ai) -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
getBattleController
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
participant
-
ai
-
-
Constructor Details
-
SetBattleAIEvent
-
-
Method Details
-
getParticipant
-
getAI
-
setAI
-