Class SetBattleAIEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
com.pixelmonmod.pixelmon.api.events.battles.SetBattleAIEvent

public class SetBattleAIEvent extends BattleEvent
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.