public class AIRobotSearchAndGotoBlock extends AIRobot
| Constructor and Description |
|---|
AIRobotSearchAndGotoBlock(EntityRobotBase iRobot) |
AIRobotSearchAndGotoBlock(EntityRobotBase iRobot,
boolean iRandom,
IBlockFilter iPathFound) |
AIRobotSearchAndGotoBlock(EntityRobotBase iRobot,
boolean iRandom,
IBlockFilter iPathFound,
double iMaxDistanceToEnd) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canLoadFromNBT() |
void |
delegateAIEnded(AIRobot ai)
This gets called when a delegate AI ends work naturally.
|
BlockIndex |
getBlockFound() |
void |
loadSelfFromNBT(net.minecraft.nbt.NBTTagCompound nbt) |
void |
start() |
boolean |
success() |
void |
writeSelfToNBT(net.minecraft.nbt.NBTTagCompound nbt) |
abort, abortDelegateAI, cycle, delegateAIAborted, end, getActiveAI, getDelegateAI, getEnergyCost, loadAI, loadFromNBT, preempt, receiveItem, setSuccess, startDelegateAI, terminate, update, writeToNBTpublic AIRobotSearchAndGotoBlock(EntityRobotBase iRobot)
public AIRobotSearchAndGotoBlock(EntityRobotBase iRobot, boolean iRandom, IBlockFilter iPathFound)
public AIRobotSearchAndGotoBlock(EntityRobotBase iRobot, boolean iRandom, IBlockFilter iPathFound, double iMaxDistanceToEnd)
public void delegateAIEnded(AIRobot ai)
AIRobotdelegateAIEnded in class AIRobotai - The delegate AI which ended work.public BlockIndex getBlockFound()
public boolean canLoadFromNBT()
canLoadFromNBT in class AIRobotpublic void writeSelfToNBT(net.minecraft.nbt.NBTTagCompound nbt)
writeSelfToNBT in class AIRobotpublic void loadSelfFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
loadSelfFromNBT in class AIRobot