MineColonies

MineColonies

65M Downloads

Builder spins in place endlessly when pathfinding

Bidgam opened this issue ยท 3 comments

commented

Is there an existing issue for this?

  • I have searched the existing issues.

Are you using the latest MineColonies Version?

  • I am running the latest beta/release version of MineColonies for my Minecraft version.
    I am also running the latest versions of other mods that are part of my problem.

Did you check on the Wiki? or ask on Discord?

  • I checked the MineColonies Wiki and made sure my issue is not covered there. Or I was sent from discord to open an issue here.

What were you playing at the time? Were you able to reproduce it in both settings?

  • Single Player
  • Multi Player

Minecraft Version

1.20

MineColonies Version

minecolonies-1.20.1-1.1.873-snapshot

Structurize Version

structurize-1.20.1-1.0.769-snapshot

Related Mods and their Versions

  1. Forge 1.20.1-47.4.0
  2. blockui-1.20.1-1.0.190-snapshot
  3. domum_ornamentum-1.20.1-1.0.285-snapshot-universal

Current Behavior

Builder spins endlessly after jumping out of water onto a block. Punching the builder releases them but they end up just going back to their builder hut and the process repeats.

Expected Behavior

The builder should not spin, it should be placing blocks.

Reproduction Steps

  1. Have a builder build something over water
  2. Watch them try to build it and then at some point jump onto a block nearby (probably a block they placed during the build process).
  3. Blocks are one block high over water, so there's a one block gap between the water and what they are building (they also spin when there's no gap, so this isn't the issue).

Other non-builders seem to be doing it as well, but I am not sure the consistency yet.

Logs

N/A

Anything else?

Issue is pretty basic and obvious, just what I described. Repeatability is 100%.

Related though: Improve the pathfinding please. The builders and others shouldn't be wading through an ocean to get around a corner of a floating platform, they should follow the platform. They should only be swimming if the building can't be reached by any other means (or if it's a build in progress that's far away).

Footer


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

Note: Due to the one block (or perhaps more) gap underneath the building structure overlaying the ocean, the builder often will jump into the water and walk under the constructed platform EVEN THOUGH they could just walk over it and build while on it. They jump into the water, go under the platform, and even jump up again on the other side... an inefficient pathfinding process for them (especially if they get stuck and spin endlessly).

commented

I checked the gap possibility and it doesn't seem to affect the colonist. In essence, when surrounded by water a block or two below the foundation that is being built above that water, the colonist has difficulty staying on the foundation and path to it. They like to drop into the water and build around or under the building, and when coming up to a platform/walkway, they start spinning endlessly once on it. You have to hit/interact with them to dislodge them, and usually they go back to the hut and repeat the problem all over again. This is 100% reproducible.

List review of issues:

  1. Colonist spins endlessly upon jumping out of water onto a block. Sometimes they will go about their way after a few seconds, but the builder in particular spins infinitely unless dislodged by the player.

  2. Colonists like to build in the water around or under a building that's being built a block or more above the water when it's not necessary (the platform was built and they can be on it while it's being built and/or they simply build from a ~5 block distance on a platform).

commented

A quick update. I've since updated the mod and, while I can't be sure, the spinning does continue but sometimes they unstick themselves. I'm doing more testing. This is now with minecolonies-1.20.1-1.1.885-snapshot