MineColonies

MineColonies

57M Downloads

Wandering workers end up wandering inside mineshafts if passes under their building

Knaxia 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.17.1 (Forge 37.1.1)
  • MineColonies Version: minecolonies-1.17.1-1.0.329-ALPHA
  • Structurize Version: structurize-1.17.1-1.0.311-BETA
  • Related Mods and their Versions: [none]

Expected behavior

Production workers, which have currently no assigned task, wander around close to their work block.

Actual behavior

If you have a mine built near a production building, and a mineshaft has been built and goes under their work block, when the worker are at work but without a work order, they will often end up entering the mine and going down to wander inside the mineshaft that goes under their building.

Steps to reproduce the issue

  1. Build a mine
  2. Build a worker hut that has a production worker that can wander when without an order (sawmill, blacksmith, stone smelter, crusher, stone mason, lvl 3 restaurant with assistant cook, sifter, fletcher.. you name it)
  3. Have your miner create a mineshaft that passes under the other worker's block, doesn't matter how deep
  4. Wait as your production wanders around until they enter the mines and head for the mineshaft

Logs

  • latest.log: [not needed]
  • crashlog: [not needed]

Notes

It seems that the wander features, which was added recently, doesn't take the Y coordinates in consideration when telling them to walk around. I remember that before, if they had no order to fill, they would stick to their home or their work block until something was brought up.

I had that happen to 2 different workers, which almost got them killed a few times. First my assistant cook (Restaurant was next to the mine) and she would always head down to the higher level mineshaft that was build when the mine was still level 1 (Y:56) and wanders around there. Since my miner and the guards are on the bottom layers, there are no protections around and they're at risk of getting attacked. Same happens to my second mine, where my stone smelter is near by, but this time, he will go all the way down to the current mining layer (Y: 32) and do the same. My miner and guards are there, but there's still a high risk. Plus if he has a job request appear, it's a long way back up.


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.