Advertisement
Dinhero21

ComputerCraft Item Transfer

Dec 10th, 2023
890
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.21 KB | Source Code | 0 0
  1. -- Whats an itemduct?
  2.  
  3. INPUT_NAME  = "bottom"
  4. OUTPUT_NAME = "top"
  5.  
  6. input = peripheral.wrap(INPUT_NAME)
  7.  
  8. while true
  9. do
  10.   for slot = 1, input.size()
  11.   do
  12.     input.pushItems(OUTPUT_NAME, slot)
  13.   end
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement