Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- redstone.setOutput("left", true)
- while true do
- planter = false
- for i = 1, 16 do
- turtle.select(i)
- print("on est au")
- print(i)
- if planter == false then
- print("on peut planter")
- if turtle.getItemDetail().name == "minecraft:sapling" then
- print("on plante")
- turtle.place()
- planter = true
- end
- end
- if turtle.getItemDetail().name == "minecraft:dye" then
- print("poudre")
- turtle.place()
- end
- if turtle.compareTo(16) == true then
- print("on pousse")
- redstone.setOutput("left", false)
- sleep(1)
- redstone.setOutput("left", true)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement