Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function megfordul()
- turtle.turnLeft()
- turtle.turnLeft()
- end
- tavolsag = 1
- k = 0
- while(1) do
- x, y = turtle.inspect()
- if(y.name ~= "minecraft:piston") then
- turtle.dig()
- turtle.suck()
- turtle.forward()
- x, y = turtle.inspect()
- if(y.name == "minecraft:piston") then
- megfordul()
- turtle.place()
- else
- megfordul()
- turtle.place()
- megfordul()
- end
- else
- megfordul()
- end
- end
Add Comment
Please, Sign In to add comment