Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getBlock()
- turtle.suckDown()
- end
- function checkSlot()
- if (turtle.getItemCount(1)) == 1 then
- turtle.drop()
- end
- if (turtle.getItemCount(1)) == 0 then
- getBlock()
- else
- turtle.place()
- end
- end
- function run()
- turtle.select(1)
- while true do
- checkSlot()
- end
- end
- run()
Advertisement
Add Comment
Please, Sign In to add comment