public class AIRobotAttack extends AIRobot
| Constructor and Description |
|---|
AIRobotAttack(EntityRobotBase iRobot) |
AIRobotAttack(EntityRobotBase iRobot,
net.minecraft.entity.Entity iTarget) |
| Modifier and Type | Method and Description |
|---|---|
void |
delegateAIEnded(AIRobot ai)
This gets called when a delegate AI ends work naturally.
|
void |
end() |
int |
getEnergyCost() |
void |
preempt(AIRobot ai) |
void |
update() |
abort, abortDelegateAI, canLoadFromNBT, cycle, delegateAIAborted, getActiveAI, getDelegateAI, loadAI, loadFromNBT, loadSelfFromNBT, receiveItem, setSuccess, start, startDelegateAI, success, terminate, writeSelfToNBT, writeToNBTpublic AIRobotAttack(EntityRobotBase iRobot)
public AIRobotAttack(EntityRobotBase iRobot, net.minecraft.entity.Entity iTarget)
public void delegateAIEnded(AIRobot ai)
AIRobotdelegateAIEnded in class AIRobotai - The delegate AI which ended work.public int getEnergyCost()
getEnergyCost in class AIRobot