.
This commit is contained in:
parent
ad75150a6b
commit
065d894635
@ -8,7 +8,7 @@ local toPlant = {
|
|||||||
[3] = "minecraft:carrot",
|
[3] = "minecraft:carrot",
|
||||||
}
|
}
|
||||||
|
|
||||||
local function selectSeed()
|
function selectSeed()
|
||||||
for i=1, 16 do
|
for i=1, 16 do
|
||||||
turtle.select(i)
|
turtle.select(i)
|
||||||
itemDetail = turtle.getItemDetail()
|
itemDetail = turtle.getItemDetail()
|
||||||
@ -45,7 +45,7 @@ local function doField()
|
|||||||
turtle.forward()
|
turtle.forward()
|
||||||
end
|
end
|
||||||
-- move to next row
|
-- move to next row
|
||||||
if i%2==1 then
|
if j%2==1 then
|
||||||
turtle.turnRight()
|
turtle.turnRight()
|
||||||
turtle.forward()
|
turtle.forward()
|
||||||
turtle.turnRight()
|
turtle.turnRight()
|
||||||
|
Loading…
Reference in New Issue
Block a user