public abstract class RedstoneBoardRobot extends AIRobot implements IRedstoneBoard<EntityRobotBase>
| Modifier and Type | Field and Description |
|---|---|
static java.util.HashSet<BlockIndex> |
reservedBlocks |
| Constructor and Description |
|---|
RedstoneBoardRobot(EntityRobotBase iRobot) |
| Modifier and Type | Method and Description |
|---|---|
abstract RedstoneBoardRobotNBT |
getNBTHandler() |
static boolean |
isFreeBlock(BlockIndex index) |
static void |
releaseBlock(BlockIndex index) |
static boolean |
reserveBlock(BlockIndex index) |
void |
updateBoard(EntityRobotBase container) |
abort, abortDelegateAI, cycle, delegateAIAborted, delegateAIEnded, end, getActiveAI, getDelegateAI, getEnergyCost, loadAI, loadFromNBT, loadSelfFromNBT, preempt, start, startDelegateAI, terminate, update, writeSelfToNBT, writeToNBTpublic static java.util.HashSet<BlockIndex> reservedBlocks
public RedstoneBoardRobot(EntityRobotBase iRobot)
public abstract RedstoneBoardRobotNBT getNBTHandler()
getNBTHandler in interface IRedstoneBoard<EntityRobotBase>public final void updateBoard(EntityRobotBase container)
updateBoard in interface IRedstoneBoard<EntityRobotBase>public static boolean isFreeBlock(BlockIndex index)
public static boolean reserveBlock(BlockIndex index)
public static void releaseBlock(BlockIndex index)