by @drowsy stag & @visual basin
Unloader variant uses #749136352549011547 message
- Changes the color of a non-empty box if the first item in the box matches one of the items in a chest.
- Plug & play. No extra infrastructure required. This can be bolted on right before any box sorter.
- 50-53 items per slice chest can be selected, depending on how many 16 stackables there are in the chest.
- Can be expanded or made smaller.
- 1 dye is used per matched box.
- In 1.21.2+, if the box is the same color as it's being dyed the craft will fail, the dye will be safely removed, and the box will be ejected normally without issue. How this removed dye is handled is left up to the user.
- In 1.21 & 1.21.1, that redundant craft will not fail, so the 2 bottom most hoppers under the crafter, the sticky piston + Redstone Block + 2 Repeaters, and the composter the middle hopper points into, are not required but can be a safety feature.
- If an item or empty box is input, the output will spit out a hopper minecart. If enough hopper carts are spit out, it will break.
Filter Setup Instructions:
- The chest should be configured to have 55 dummy 64 stackables and 3 unstackables. To add an item to a chest, remove 1 stackable item, or 4 if the item being added is a 16 stackable, then add only 1 of the listed item into the chest.
- Add an item only to 1 chest.
- The signal strength of the comparators reading from the chests should be 2 then change to 1 when one item is removed from the chest.