mojira.dev
MC-302147

Copper golems do not account for path distance when searching for the nearest chest

When searching for a chest to put items into, a copper golem will always select the unvisited chest it is literally closest to, even if said chest is on another floor or behind a wall and there are other unvisited chests it could reach more quickly.

  1. Construct the structure shown the in video uploaded by OP.

  2. Place irrelevant items in all trapped treasure chests so the copper golem will jump over them one by one.

  3. Place the copper golem to trigger the jump.

Expected Result: The copper golem inspects the chests one by one, with the final chest inspected being the one farthest (in terms of walking) from its starting point.
Actual Result: After inspecting a couple of nearby chests, the copper golem proceeds to the final chest, then returns to visit the others in reverse order.

Linked issues

Attachments

Comments 4

Can confirm, relates to MC-300125. Updated title and description.

There are a couple of ways this could be fixed:

  • When a copper golem first obtains an item, it plans its route so that it can reach all chests as quickly as possible.

  • While pathing to a chest, a copper golem periodically checks for other unvisited chests which are closer than the one it is pathing to, and changes its route if it finds such a chest.

Thank you for your report!
After consideration, the issue is being closed as Invalid.

You have posted a feature request or a suggestion. This site is for bug reports only.
For suggestions, please visit The official Minecraft feedback site or visit the Minecraft Feedback Discord server.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

It is indeed my mistake. When the first box is a large box, the box behind the large box is indeed farther away from the box at the foot, so it is not a bug.

hotdog195

(Unassigned)

Confirmed

(Unassigned)

1.21.9 Pre-Release 1, 1.21.9 Pre-Release 2

Retrieved