Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- ( Holz ) --
- treeblock = "minecraft:log"
- function Holz()
- while(turtle.forward()==false) do
- turtle.dig()
- turtle.forward()
- end
- success, data = turtle.inspectUp()
- while(success and data.name=treeblock) do
- turtle.digUp()
- turtle.up()
- end
- while turtle.detectDown() == false do
- turtle.down()
- end
- turtle.back()
- end
Add Comment
Please, Sign In to add comment