iconmaster

xpfarm

Feb 9th, 2013
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1.  
  2. xp = peripheral.wrap("right")
  3. xp.setAutoCollect(true)
  4.  
  5. while true do
  6. lastlevel = xp.getLevels()
  7. turtle.attack()
  8. turtle.select(1)
  9. turtle.suck()
  10. for i=1,4 do
  11. turtle.select(i)
  12. turtle.dropDown()
  13. end
  14. if xp.getLevels() ~= lastlevel then
  15. print(xp.getLevels())
  16. end
  17. end
Advertisement
Add Comment
Please, Sign In to add comment