Sorting Machine
Forty template slots in eight coloured columns, seven sorting modes and three trigger modes.
The
Sorting Machine takes items out of an inventory in batches you lay out as
templates, and sends each batch into the tubes in the colour of its column.
Set it up
- Place it against the source inventory. Its output face points away from the source; a screwdriver cycles all six directions.
- Connect tubes to the output.
- Supply BluePower at 60 V or more. Each newly sorted item uses 25 watts for one update.
The panel
- Forty template slots in eight columns of five. Put real items in them; their stack sizes are the quantities requested. Hoppers cannot change the templates.
- Each column has a colour control; the empty selector means uncoloured output.
- Left-click a mode or colour control to cycle it forward, right-click to cycle it back.
Sorting modes
The seven sorting icons, in order:
- Extract one requested stack from the selected column, then move to the next column that has templates.
- Extract every request in the selected column together, then move on.
- Extract the first complete column the source can satisfy.
- Extract any satisfied request, in that column's colour.
- Extract any satisfied request, or send the first whole source stack in the fallback colour.
- Select a satisfied request, then collect matching stock up to its normal stack size.
- Collect a matching whole stack, or send the first source stack in the fallback colour.
Trigger modes
The upper mode control chooses when it works:
| Mode | Works |
|---|---|
| Redstone | On each rising edge. |
| Automatic | Continuously. |
| Queued redstone | Counts redstone pulses and works them off one by one. |
In the two sequential sorting modes (1 and 2), one operation completes one column. In the others it completes one extraction.
Missing stock and blocked outputs keep their pending work. Each colour has its own queue, so one blocked channel can wait while another keeps moving, and returned items keep their routing.