Applied Energistics 2

Applied Energistics 2

137M Downloads

Crafting CPUs should only wait for items if they're used within the process

shartte opened this issue ยท 0 comments

commented

See #5158: Crafting CPUs will currently add items to the waitingFor list with an amount that may exceed what is actually needed to fullfil the crafting job. Most noticeable for the final output because it led to crashes, but overall this may also happen for intermediate products (i.e. make a 64xiron_ore->64xiron_ingot recipe, and a 1xiron_ingot->9xiron_nugget recipe and request 1 nugget, then see how much iron_ingots will be buffered within the CPU).

The CPU should only waitFor 1xiron_ingot in this scenario, which should lead to 63xiron_ingot being deposited directly in the network, rather than having the CPU neednessly buffer 63xiron_ingot which is then unavailable to the player while the crafting job is still in progress.