Skip to content

Recipe result detection through importers is lacking #170

@uhloin

Description

@uhloin

Issue type:

  • 🐛 Bug

Short description:

Happy New Year! Here is my present! ;-)
It is possible to start some specific crafting job, but cannot finish it.

Steps to reproduce the problem:

  1. Unpack minimal set of mods from mods.zip to .minecraft/mods
  2. Unpack save from idbug.zip to .minecraft/saves/idbug
  3. Run minecraft, load a world idbug
  4. Go to crafting terminal
  5. Start a crafting job with 10*4 Bronze Drills
  6. Issue: After some time Crafting Job Terminal shows pictures like attached. The Job still works some time more. Сontent of the chest is changing, some intermediate ingredients from the job appears in it or disappears.
  7. Issue2: The job finally deadlocked with status "Missing 1920" Bronze Ingots. And no, the job is not really need such ridiculous amount of them.

Possible causes and thoughts

  1. Machines may generate some excessive stuff, for example 4 items instead of 2 necessary for a next step and rest 2 may be not ready to be used immediately.

  2. Machines puts intermediate results to chest, but ID do not get then instantly and (may be) crafters compete for chest's content. It's potential possibility for other crafting jobs or exporters to steal those ingredients.

Looks like there should be some priority logic. Like this. If first crafting job is awaiting some ingredients then the same ingredients must be never exported or used by job with lower priority. All manually started jobs in the same network should be ranged with priority. All exporters with Craft checkbox should be next, with medium priority. All other exporters should be last with lowest priority. Job Terminal and may be exporters should explain situation with some status like "Crafting job #12 is waiting for this ingredient" or else players will confused and think the job is stuck with no reason.

Image Image

idbug.zip
mods.zip


Versions:

  • This mod: 1.4.0-433
  • Minecraft: 1.21.1
  • Mod loader version: NeoForge 21.1.217

Log file:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions