Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local block, data = turtle.inspect()
- if block then
- if data.name == "minecraft:acacia_slab" then
- turtle.turnRight()
- end
- end
- term.clear()
- while true do
- sleep(0)
- local blockd, datad = turtle.inspectDown()
- if blockd then
- turtle.digDown()
- end
- turtle.forward()
- local block, data = turtle.inspect()
- if block then
- if data.name == "minecraft:chest" then
- for i = 1,16 do
- turtle.select(i)
- local start, reason = turtle.drop()
- if start == false and reason == "No space for items" then
- while true do
- sleep(0)
- term.clear()
- print("trying...")
- start, reason = turtle.drop()
- if start == true then break end
- end
- end
- end
- turtle.turnRight()
- turtle.turnRight()
- elseif data.name == "minecraft:acacia_planks" then
- turtle.turnRight()
- turtle.turnRight()
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement