How to Handle Recipe Leftovers and Ingredient Swaps
Managing Leftover Items
Certain recipes leave behind byproduct items after the crafting operation completes. For example, crafting a Cake requires milk buckets, which leave empty buckets behind once crafted.
Instead of ejecting these empty containers into the front-facing output container or dropping them on the ground, the Crafting Automat handles them internally:
1. During the craft, the consumed ingredients are deducted.
2. Leftover items, such as the empty buckets, are swapped directly into the 9 internal storage slots.
3. Connect an extraction hopper to the bottom or sides of the block to pull leftover containers out of storage so they do not clog the internal slots.
Using Valid Ingredient Replacements
The Crafting Automat supports recipe substitutions automatically:
- You can leave a standard recipe template in the matrix.
- If the internal storage holds an equivalent alternative ingredient recognized by the recipe, the block will consume that replacement instead of requiring you to rebuild the grid.
- As long as the internal storage contains a valid equivalent item, the block executes the craft seamlessly on each redstone pulse.