Required raw materials: sufficient consumable raw material supply, degassing water device, ME precise output bus, p2p redstone, comparator, redstone torch
It is known that degassed water has 16 states (1-15+0). As long as each state's signal activates only one redstone torch, combined with the pulse mode of the exact output bus and redstone card, the correct raw material can be output each time.
General principle: The signal output by the machine will extinguish the torches it passes through. It is then subtracted by a signal of strength 15 via a comparator, and then sent from p2p to the input on the other side, thereby extinguishing the other half of the torches, leaving only one that can trigger the output bus.
Advantages: simple structure, simple implementation, usable.
Disadvantage: sometimes the output bus will inexplicably fail to start. When the recipe signals are consistent for two consecutive times, it will shut down for one round. If they keep being the same, it keeps shutting down. In short, it's not perfect.
Part One, Raw Materials Area
Just the tungsten steel barrel in the picture, this part doesn't matter, as long as it can isolate the main network and provide stable supply.
Part 2 Signal Control Area
Just copy the homework directly, set the comparator to subtraction mode, the redstone line has a total length of 16, from the machine to the end, there are 16 positions in total, in order signals 0-15, signals 12 and 14 do nothing and do not place torches.
Principle, 16-length redstone line, machine direction outputs x, subtractor outputs 15-x, input from the far end of the redstone line, total lights up 15 redstone, extinguishes corresponding torches, the remaining one is the x-th torch. For example, signal 0 leaves torch 0, torches 1-15 are powered off.
Part 3 Output Area
Note that each output bus should have a redstone card, adjust to pulse mode, fill with acceleration cards, and the output bus marks and outputs raw materials and quantities according to signal 0-15 material requirements. The leftmost in the diagram is 0 and the rightmost is 15. Note that 0 is liquid helium, 12 and 14 are empty.
In the image below, a hypercube is used. You can also use any container with a wireless fluid transmission cover plate, all connected to one input bin of the degassed water machine.