public abstract class BoardRobotGenericBreakBlock extends RedstoneBoardRobot
| Modifier and Type | Field and Description |
|---|---|
protected BlockIndex |
indexStored |
| Constructor and Description |
|---|
BoardRobotGenericBreakBlock(EntityRobotBase iRobot) |
| Modifier and Type | Method and Description |
|---|---|
void |
delegateAIEnded(AIRobot ai) |
void |
end() |
protected AIRobot |
getBlockBreakAI() |
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.
|
abstract boolean |
isExpectedTool(net.minecraft.item.ItemStack stack) |
void |
loadSelfFromNBT(net.minecraft.nbt.NBTTagCompound nbt) |
void |
preempt(AIRobot ai) |
void |
update() |
void |
updateFilter() |
void |
writeSelfToNBT(net.minecraft.nbt.NBTTagCompound nbt) |
canLoadFromNBT, getNBTHandler, updateBoardabort, abortDelegateAI, cycle, delegateAIAborted, getActiveAI, getDelegateAI, getEnergyCost, loadAI, loadFromNBT, receiveItem, start, startDelegateAI, success, terminate, writeToNBTprotected BlockIndex indexStored
public BoardRobotGenericBreakBlock(EntityRobotBase iRobot)
public abstract boolean isExpectedTool(net.minecraft.item.ItemStack stack)
public abstract boolean isExpectedBlock(net.minecraft.world.World world,
int x,
int y,
int z)
public void delegateAIEnded(AIRobot ai)
delegateAIEnded in class AIRobotprotected AIRobot getBlockBreakAI()
public final void updateFilter()
public void writeSelfToNBT(net.minecraft.nbt.NBTTagCompound nbt)
writeSelfToNBT in class AIRobotpublic void loadSelfFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
loadSelfFromNBT in class AIRobot