Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local runs = 10
- for run = 1, runs do
- for _ = 1, 9 do
- turtle.forward()
- turtle.placeDown()
- end
- turtle.forward()
- turtle.down()
- itemDetail = turtle.getItemDetail().damage
- -- Check if item in hand has durability less than 1000
- while itemDetail < 1000 do
- turtle.placeDown()
- itemDetail = turtle.getItemDetail().damage
- end
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.up()
- for _ = 1, 9 do
- turtle.forward()
- turtle.placeDown()
- end
- turtle.forward()
- turtle.turnLeft()
- turtle.turnLeft()
- end
Advertisement
Add Comment
Please, Sign In to add comment