Advertisement
ItamiKyojin

Mystical Agriculture Essence Compressor

Apr 21st, 2024
753
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.32 KB | Gaming | 0 0
  1. function Compress()
  2.     -- pull item from chest
  3.     local chest = peripheral.find("minecraft:chest")
  4.     -- combine all the way
  5.     for i, item in ipairs(chest.list()) do
  6.         print (item.name) -- prints the names of all items
  7.     end
  8.     -- return to chest
  9. end
  10.  
  11. while true do
  12.     Compress()
  13.     sleep(180)
  14. end
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement