public abstract class BoardRobotGenericSearchBlock extends RedstoneBoardRobot
| Constructor and Description |
|---|
BoardRobotGenericSearchBlock(EntityRobotBase iRobot) |
| Modifier and Type | Method and Description |
|---|---|
protected BlockIndex |
blockFound() |
void |
delegateAIEnded(AIRobot ai)
This gets called when a delegate AI ends work naturally.
|
void |
end() |
abstract boolean |
isExpectedBlock(net.minecraft.world.World world,
int x,
int y,
int z)
This function has to be derived in a thread safe manner, as it may be
called from parallel jobs.
|
void |
loadSelfFromNBT(net.minecraft.nbt.NBTTagCompound nbt) |
protected boolean |
matchesGateFilter(net.minecraft.world.World world,
int x,
int y,
int z) |
protected void |
releaseBlockFound(boolean success) |
void |
update() |
void |
updateFilter() |
void |
writeSelfToNBT(net.minecraft.nbt.NBTTagCompound nbt) |
canLoadFromNBT, getNBTHandler, updateBoardabort, abortDelegateAI, cycle, delegateAIAborted, getActiveAI, getDelegateAI, getEnergyCost, loadAI, loadFromNBT, preempt, receiveItem, setSuccess, start, startDelegateAI, success, terminate, writeToNBTpublic BoardRobotGenericSearchBlock(EntityRobotBase iRobot)
public abstract boolean isExpectedBlock(net.minecraft.world.World world,
int x,
int y,
int z)
public void delegateAIEnded(AIRobot ai)
AIRobotdelegateAIEnded in class AIRobotai - The delegate AI which ended work.protected BlockIndex blockFound()
protected void releaseBlockFound(boolean success)
public final void updateFilter()
protected boolean matchesGateFilter(net.minecraft.world.World world,
int x,
int y,
int z)
public void writeSelfToNBT(net.minecraft.nbt.NBTTagCompound nbt)
writeSelfToNBT in class AIRobotpublic void loadSelfFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
loadSelfFromNBT in class AIRobot