did stuff
This commit is contained in:
parent
2437ea7a07
commit
72c4b27e64
@ -96,7 +96,7 @@ local function recursiveOreMining()
|
|||||||
--turtle.turnturnLeft()
|
--turtle.turnturnLeft()
|
||||||
turtle.turnLeft()
|
turtle.turnLeft()
|
||||||
blockFound, blockData = turtle.inspect()
|
blockFound, blockData = turtle.inspect()
|
||||||
if isOre(blockData) then
|
if isWanted(blockData) then
|
||||||
tutel.secureDig()
|
tutel.secureDig()
|
||||||
--turtle.forward()
|
--turtle.forward()
|
||||||
turtle.forward()
|
turtle.forward()
|
||||||
@ -107,7 +107,7 @@ local function recursiveOreMining()
|
|||||||
end
|
end
|
||||||
|
|
||||||
blockFound, blockData = turtle.inspectUp()
|
blockFound, blockData = turtle.inspectUp()
|
||||||
if isOre(blockData) then
|
if isWanted(blockData) then
|
||||||
tutel.secureDigUp()
|
tutel.secureDigUp()
|
||||||
--turtle.up()
|
--turtle.up()
|
||||||
turtle.up()
|
turtle.up()
|
||||||
@ -117,7 +117,7 @@ local function recursiveOreMining()
|
|||||||
end
|
end
|
||||||
|
|
||||||
blockFound, blockData = turtle.inspectDown()
|
blockFound, blockData = turtle.inspectDown()
|
||||||
if isOre(blockData) then
|
if isWanted(blockData) then
|
||||||
tutel.secureDigDown()
|
tutel.secureDigDown()
|
||||||
--turtle.down()
|
--turtle.down()
|
||||||
turtle.down()
|
turtle.down()
|
||||||
|
Loading…
Reference in New Issue
Block a user