Advertisement
balloonanimal

minecraft hopper

Feb 19th, 2013
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.54 KB | None | 0 0
  1. --pastebin code: mAT9f0dy
  2.  
  3. while true do
  4.    a = 0
  5.    b = 0
  6.    for i = 1, 16 do
  7.       turtle.suckUp()
  8.       a = a+1
  9.       sleep(0.5)  
  10.       if turtle.getItemCount(a) > b then
  11.          turtle.select(a)
  12.          while turtle.dropDown() == false do
  13.             term.setCursorPos(1, 1)
  14.             print("Master, the buffer below me is full!")
  15.             sleep(3)
  16.             shell.run("clear")
  17.          end
  18.       end
  19.    end
  20.    shell.run("clear")
  21.    term.setCursorPos(1, 1)
  22.    print("I am currently working as a hopper")
  23.    a = 0
  24. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement