CyclopsMC / IntegratedCrafting

Craft stuff in Integrated Dynamics networks
MIT License
7 stars 6 forks source link

Multiple batches crafted for indirect recipes #75

Closed 7eggert closed 2 years ago

7eggert commented 2 years ago

Issue type:


Short description:

  1. If a recipe e.g. requires 2 glass
  2. and if there is no glass nor sand
  3. and my recipe for sand puts a stack of cobblestone into the grinders (two in a row, first one has the cafting interface)

then two stacks of cobblestone will be ground into two stacks of sand to smelt two glass

Expected behaviour:

Extra items from a recipe should be virtually put into storage so following recipes from walking the tree will use them.


Versions:

IntegratedCrafting-1.16.5-1.0.20.jar IntegratedDynamics-1.16.5-1.10.6.jar IntegratedREST-1.16.5-1.1.5.jar IntegratedTerminals-1.16.5-1.2.11.jar IntegratedTunnels-1.16.5-1.8.9.jar forge-1.16.5-36.2.20-installer.jar

rubensworks commented 2 years ago

Thanks for reporting!

rubensworks commented 2 years ago

I don't really understand the bug, could you clarify?

7eggert commented 2 years ago

I have a recipe for a speed upgrade (Mekanism), it takes two glass. I have a recipe for glass from sand I have a recipe for 64 sand from 64 cobblestone because otherwise one of two machines is idle I craft a speed upgrade I have to wait for 128 sand to smelt two glass

rubensworks commented 2 years ago

Thanks, I think I understand the issue now. It sounds like this may be related to #6. Ok if we close this issue here and merge it into #6?

7eggert commented 2 years ago

It's maybe related by me trying a workaround and it wouldn't be necessary without, :-) but not really.

Let me use all my artistic skills:

untitled

I'd expect 64 magenta items to be produced to make one blue item (and also for 8), but 128 (or 1024) would be produced.

rubensworks commented 2 years ago

Thanks, closing this in favor of #6.