use of net.minecraft.world.Region in project Mekanism by mekanism.
the class TileEntityDigitalMiner method start.
public void start() {
if (getLevel() == null) {
return;
}
if (searcher.state == State.IDLE) {
BlockPos startingPos = getStartingPos();
searcher.setChunkCache(new Region(getLevel(), startingPos, startingPos.offset(getDiameter(), getMaxY() - getMinY() + 1, getDiameter())));
searcher.start();
}
running = true;
markDirty(false);
}