MineColonies

MineColonies

53M Downloads

Recent update broke existing baker AI

LetterShapedGlyphs opened this issue ยท 1 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.15.2 forge-31.2.36
  • MineColonies Version: minecolonies-0.13.275-ALPHA-universal
  • Structurize Version: structurize-0.13.64-ALPHA
  • Related Mods and their Versions: n/a

Expected behavior

Baker continues to process wheat into bread, files a request when it has no ingredients

Actual behavior

Baker shows as "working", does not consume wheat given, does not complain about missing ingredients even when personal and hut inventories are empty.

Steps to reproduce the issue

  1. Create a baker using a version of Minecolonies before the hut was updated to use fuel.
  2. Give the baker a large amount of wheat (two stacks?)
  3. Update minecolonies to 0.13.275-ALPHA
  4. Try to get the baker to do anything.

Logs

Notes

The baker hut was first made in a version of minecolonies before the hut used fuel. I gave the baker two-three stacks of wheat and shortly after ended up updating minecolonies to 0.13.275-ALPHA. Upon loading in, the baker had an alert for me to upload my latest.log because something in it's AI was broken.

Resetting the request system and restarting the world caused the baker to no longer notify me of or throw errors in later logs. The above log is from the first time running the game after updating to the new baker mechanics (using fuel and an intermediate item).

I have tried resetting the request system, resetting the worker, firing the worker and hiring a different one, breaking the hut block and pasting it back in creative mode.

minecolonies-0.13.275-ALPHA-universal throws an error if run with structurize-0.13.70-ALPHA and explicitly requests structurize-0.13.64-ALPHA.


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.
commented

So apparently the new baker needs an explicit request for bread to be filed with the request system before it asks for or does anything. Not entirely sure why the baker was showing as "Working" instead of "Idle"... Still going to go ahead and close this now though as that's an entirely different sort of bug.