Advertisement
Lordeah18

Untitled

Dec 30th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1.  
  2. --Clean compressor output
  3. function run()
  4. compressor = peripheral.wrap("minecraft:gc electric ingot compressor_1")
  5. if compressor.list()[2] ~= nil then
  6. compressor.pushItems("down", 2)
  7. end
  8. if compressor.list()[3] ~= nil then
  9. compressor.pushItems("down", 3)
  10. end
  11. end
  12.  
  13.  
  14. return {
  15. run = run
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement