Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function growCheck()
- local isBlock, data = turtle.inspect()
- while true do
- if (data["state"]["age"] == 7) then
- return true
- else
- return false
- end
- end
- end
- x = 0
- while x < 1 do
- if growCheck() == true then
- turtle.dig()
- turtle.suck()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment