public class SetBattleAIEvent
extends net.minecraftforge.fml.common.eventhandler.Event
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
BattleControllerBase
is true.Modifier and Type | Field and Description |
---|---|
BattleControllerBase |
bc |
BattleParticipant |
participant |
Constructor and Description |
---|
SetBattleAIEvent(BattleControllerBase bc,
BattleParticipant participant,
BattleAIBase ai) |
Modifier and Type | Method and Description |
---|---|
BattleAIBase |
getAI() |
void |
setAI(BattleAIBase ai) |
public final BattleControllerBase bc
public final BattleParticipant participant
public SetBattleAIEvent(BattleControllerBase bc, BattleParticipant participant, BattleAIBase ai)
public BattleAIBase getAI()
public void setAI(BattleAIBase ai)