Pre-aluminum this is the least resource and space intensive solution. In a future setting you would of course utilize item filters using NBT tags. But I’d like to not babysit my machines all the way to aluminum 
3 Likes