Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Compress()
- -- pull item from chest
- local chest = peripheral.find("minecraft:chest")
- -- combine all the way
- for i, item in ipairs(chest.list()) do
- print (item.name) -- prints the names of all items
- end
- -- return to chest
- end
- while true do
- Compress()
- sleep(180)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement