3F0xog

bpFuncs.lua

Jul 1st, 2022 (edited)
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | None | 0 0
  1. function SpitItem(side)
  2.     redstone.setOutput(side,true)
  3.     redstone.setOutput(side,false)
  4. end
  5.  
  6. function GetOutputItems(outputDropper)
  7.     local total = 0
  8.     for slot, item in pairs(outputDropper.list()) do
  9.         if item then
  10.             total = total + item.count
  11.         end
  12.        
  13.     end
  14.     return total
  15. end
Add Comment
Please, Sign In to add comment