Integrated Crafting

Integrated Crafting

37M Downloads

Requesting 2 crafting tables only issues 4 planks despite needing 8 and 1 plank in storage

wesselvdv opened this issue ยท 4 comments

commented

Issue type:

  • ๐Ÿ› Bug

Short description:

When issuing a crafting job that requires intermediate resources (e.g. planks), Integrated Crafting fails to account for existing items in storage, resulting in too few crafting steps being issued.


Steps to reproduce the problem:

  1. Set up two crafting recipe variable cards:
    • 1 log โ†’ 4 planks
    • 4 planks โ†’ 1 crafting table
  2. Place 1 plank manually into the storage network.
  3. Request 1 crafting table:
    • The system correctly crafts 4 new planks and completes the table.
  4. Now request 2 crafting tables:
    • The system still only crafts 4 planks, ignoring the existing 1 plank and failing to craft enough planks to meet the 8 required.

Expected behaviour:

The crafting job planner should detect that 1 plank is already available, and should issue only enough intermediate jobs (log โ†’ planks) to produce the remaining 7. Instead, it seems to ignore the existing intermediate and underproduces planks, causing crafting failure or stalling.


Versions:

  • This mod: 1.26.2
  • Minecraft: 1.21.1
  • Mod loader version: NeoForge 21.1.172

Log file:

commented

Adding to your explanation; you say it should take into account the one existing plank for the 2-table crafting job, but it may as well fully ignore it, if the recipe for planks already makes enough planks in total at once (it cannot craft the remaining 3, it has to make 4 at once).

commented

Adding to your explanation; you say it should take into account the one existing plank for the 2-table crafting job, but it may as well fully ignore it, if the recipe for planks already makes enough planks in total at once (it cannot craft the remaining 3, it has to make 4 at once).

I agree, maybe that approach is even better.

commented

Thanks for reporting!

commented

Just tested myself with the latest versions of all ID mods, and this works just fine on my end.
Will add a game test just in case.

Image