MatthewGB

CobbleGen

Aug 17th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mined = 0
  2. moved = 0
  3. while 1<2 do
  4.  if turtle.detectUp() then
  5.   turtle.digUp()
  6.   mined = mined + 1
  7.  end
  8.  if turtle.getItemCount()>0 then
  9.   moved = moved + 1
  10.   turtle.drop()
  11.  end
  12.  sleep(0.5)
  13.  print("Mined: "..tostring(mined))
  14.  print("Moved: "..tostring(moved))
  15. end
Add Comment
Please, Sign In to add comment