MineColonies

MineColonies

57M Downloads

Crafters get stuck when insufficient materials for a crafting request are available in their hut

Oraxian opened this issue ยท 0 comments

commented

Prerequisites

  • I am running the latest alpha version of MineColonies and Structurize for my Minecraft version.
  • I checked the MineColonies/Structurize wiki and made sure my issue is not covered there.
  • I made sure that this issue is not a duplicate of any existing issue.

Context

  • Minecraft Version: 1.16.5
  • MineColonies Version: 0.14.256-ALPHA
  • Structurize Version: 0.13.197-ALPHA
  • Related Mods and their Versions:

Expected behavior

This issue may or may not be related to #7320, as it shares some similarities. The issue I reported there has been resolved, as far as I can tell. It's been difficult to pin this one down exactly, but this is what I know:

  • A request is made for a crafter to make one of their recipes by another colonist.
  • The crafter is found stuck in a loop - they move between their hut and a work station in their building continuously. No work is done - crafting or their normal job (if applicable.)
  • When at the hut block, they transfer materials from the hut inventory needed to craft the request, but there is not enough to craft everything. They then put the materials back and loop again. Materials are available in warehouse, and I believe enough were delivered by the couriers initially. It's unclear why the materials went missing (see below.)
  • No request is ever generated to get additional materials - even when they are available in the warehouse.
  • If the player manually gives them the needed materials, they craft the recipe and the issue resolves.

3 Specific cases I observed:

  • Stonemason crafting stone into stone bricks (to resolve request from a builder.)

  • Not enough stone (not sure how this happened - they had crafted dozens of stacks of bricks before with no issues)- they started the loop.

  • I manually gave them stone - they finished the request and resumed normal operation.

  • A stone smelter was available to make the stone, and lots of cobblestone was in the warehouse. And from this point forward, all stone brick requests resolved normally, even when stone had to be smelted - just as you would expect. So it's not every time.

  • Planter crafting books on plantation (to resolve request from library:)

  • Not enough sugar cane for the paper - they started the loop.

  • I manually gave them sugar cane - request completed, things got back to normal.

  • Assistant cook found stuck in this loop, and not crafting any food recipes. Plenty of food ingredients in warehouse, but no finished products - many hungry colonists.

  • resolved by manually giving them the raw ingredients

  • They resumed normal operation from there on - requests to get stock from warehouse resumed working normally.

This is not happening every time, and I'm having a hard time figuring out how to manually trigger it consistently. This colony is highly automated, and the entire supply chain is normally done automatically by the colonists without my intervention. But I think it has something to do with couriers removing crafting supplies from the hut AFTER they are delivered but BEFORE the crafting request is complete. I did see them remove potatoes from the restaurant that were needed for a "fish and chips" recipe after I manually delivered them. Maybe the couriers can't always differentiate materials that need to stay, vs. the extras that need to go to warehouse? At least under specific circumstances?

Actual behavior

Crafting stops when insufficient materials are in the hut, no request to resolve is generated, and worker stops doing anything productive. I would expect a new request to be generated to supply them again. No request for player resolution ever shows up on clipboard.

Steps to reproduce the issue

Doesn't reproduce every time, but grabbing crafting materials from the hut will sometimes break things. I can't identify the exact automated process that's breaking, beyond suspecting the couriers.

Let me know if you need more info.


Viewers

  • Add a thumbs-up to the bug report if you are also affected. This helps the bug report become more visible to the team and doesn't clutter the comments.
  • Add a comment if you have any insights or background information that isn't already part of the conversation.