use of buildcraft.api.robots.ResourceIdBlock in project BuildCraft by BuildCraft.
the class BoardRobotPlanter method releaseBlockFound.
private void releaseBlockFound() {
if (blockFound != null) {
robot.getRegistry().release(new ResourceIdBlock(blockFound));
blockFound = null;
}
}
use of buildcraft.api.robots.ResourceIdBlock in project BuildCraft by BuildCraft.
the class BoardRobotFarmer method releaseBlockFound.
private void releaseBlockFound() {
if (blockFound != null) {
robot.getRegistry().release(new ResourceIdBlock(blockFound));
blockFound = null;
}
}
use of buildcraft.api.robots.ResourceIdBlock in project BuildCraft by BuildCraft.
the class BoardRobotStripes method releaseBlockFound.
private void releaseBlockFound() {
if (blockFound != null) {
robot.getRegistry().release(new ResourceIdBlock(blockFound));
blockFound = null;
}
}
use of buildcraft.api.robots.ResourceIdBlock in project BuildCraft by BuildCraft.
the class BoardRobotGenericSearchBlock method releaseBlockFound.
protected void releaseBlockFound(boolean success) {
if (blockFound != null) {
// TODO: if !ai.success() -> can't break block, blacklist it
robot.getRegistry().release(new ResourceIdBlock(blockFound));
blockFound = null;
}
}
use of buildcraft.api.robots.ResourceIdBlock in project BuildCraft by BuildCraft.
the class AIRobotSearchAndGotoBlock method releaseBlockFound.
private void releaseBlockFound() {
if (blockFound != null) {
robot.getRegistry().release(new ResourceIdBlock(blockFound));
blockFound = null;
}
}
Aggregations