update treeFarmer
This commit is contained in:
parent
e80c8b7a78
commit
470bcac06f
@ -54,7 +54,15 @@ local function placeTree()
|
|||||||
if itemDetail.name == "minecraft:oak_sapling" then
|
if itemDetail.name == "minecraft:oak_sapling" then
|
||||||
local blockFound, blockData = turtle.inspect()
|
local blockFound, blockData = turtle.inspect()
|
||||||
if not blockFound then
|
if not blockFound then
|
||||||
turtle.place()
|
turtle.up()
|
||||||
|
turtle.forward()
|
||||||
|
for i=0, 3 do
|
||||||
|
turtle.placeDown()
|
||||||
|
turtle.forward()
|
||||||
|
turtle.turnRight()
|
||||||
|
end
|
||||||
|
turtle.back()
|
||||||
|
turtle.down()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user