Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- slotSapling = 1
- slotCharbon = 2
- slotBois = 3
- slotCoffre = 5
- slotWaipoint = 4
- function isBlockType(type)
- turtle.select(type)
- return turtle.compare()
- end
- function isBlockBelow(type)
- turtle.select(type)
- return turtle.compareDown()
- end
- while true do
- turtle.forward()
- if not isBlockBelow(slotWaipoint) then
- turtle.back()
- break
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement