Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function sort()
- for i=1,14,1 do
- turtle.select(i)
- block = turtle.getItemDetail()
- if block != nil then
- if block.name == "minecraft:netherrack" then
- turtle.drop()
- end
- end
- end
- end
- x = 0
- y = 0
- while true do
- turtle.select(15)
- turtle.placeDown()
- turtle.forward()
- turtle.select(16)
- turtle.placeDown()
- sleep(5)
- sort()
- turtle.select(16)
- turtle.digDown()
- turtle.turnRight()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- x = x + 1
- print(x)
- end
Advertisement
Add Comment
Please, Sign In to add comment