public class AIRobotSearchBlockBase extends AIRobot
| Modifier and Type | Field and Description |
|---|---|
BlockIndex |
blockFound |
java.util.LinkedList<BlockIndex> |
path |
| Constructor and Description |
|---|
AIRobotSearchBlockBase(EntityRobotBase iRobot,
IBlockFilter iPathFound,
java.util.Iterator<BlockIndex> iBlockIter) |
| Modifier and Type | Method and Description |
|---|---|
void |
end() |
int |
getEnergyCost() |
void |
loadSelfFromNBT(net.minecraft.nbt.NBTTagCompound nbt) |
void |
start() |
boolean |
success() |
boolean |
takeResource() |
void |
unreserve() |
void |
update() |
void |
writeSelfToNBT(net.minecraft.nbt.NBTTagCompound nbt) |
abort, abortDelegateAI, canLoadFromNBT, cycle, delegateAIAborted, delegateAIEnded, getActiveAI, getDelegateAI, loadAI, loadFromNBT, preempt, receiveItem, startDelegateAI, terminate, writeToNBTpublic BlockIndex blockFound
public java.util.LinkedList<BlockIndex> path
public AIRobotSearchBlockBase(EntityRobotBase iRobot, IBlockFilter iPathFound, java.util.Iterator<BlockIndex> iBlockIter)
public void writeSelfToNBT(net.minecraft.nbt.NBTTagCompound nbt)
writeSelfToNBT in class AIRobotpublic void loadSelfFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
loadSelfFromNBT in class AIRobotpublic boolean takeResource()
public void unreserve()
public int getEnergyCost()
getEnergyCost in class AIRobot