Sokomine wrote:philipbenr wrote:
When crafting an item, how can I get an item as an output and then have another item be put back into my inventory? I wish to craft milk in drinking glasses that uses a bucketful of milk from kpgmobs and vessels.
There's a receipe (afaik in the food mod?) that uses two buckets of milk for one cheese - without returning any buckets. I'm not sure if two items may be returned simultaneously. Perhaps in such cases a special "machine" might be best. I didn't get around to give the barrels from my cottages mod any functionality yet.
replacements = { { "bucket:bucket_water", "bucket:bucket_empty"}, { "charcoal:charcoal", "default:torch 4"}}
This seems to work, giving you the standard output, an empty bucket and 4 torches (tested with charcoal mod). I thought I tried something similar a year ago without any luck, so maybe it's a new feature, idk.
Edit: The replacements are placed in the crafting grid. This means that as long as you can craft, the replacements are not placed in the crafting grid, because the crafting materials are in there. So not very suitable for 'mass' crafting production. It would have been nicer if the replacements would be placed directly in your inventory.