Class SetBattleAIEvent
java.lang.Object
net.neoforged.bus.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.-
Field Summary
FieldsFields inherited from class com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
battleController
-
Constructor Summary
ConstructorsConstructorDescriptionSetBattleAIEvent
(BattleController bc, BattleParticipant participant, BattleAIBase ai) -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
getBattleController
-
Field Details
-
participant
-
ai
-
-
Constructor Details
-
SetBattleAIEvent
-
-
Method Details
-
getParticipant
-
getAI
-
setAI
-