Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local checkInterval = 60 -- seconds
- local lastCheck = os.clock()
- while true do
- turtle.attack()
- sleep(0.1)
- if os.clock() - lastCheck >= checkInterval then
- for slot = 1, 16 do
- turtle.select(slot)
- local item = turtle.getItemDetail()
- if item then
- turtle.dropDown()
- end
- end
- turtle.select(1)
- lastCheck = os.clock()
- end
- end
Advertisement
Comments
-
- For enderman farm, whill drop every 60 secondes the loot in the chest below
Add Comment
Please, Sign In to add comment