mojira.dev
MCPE-142257

Iron golems not removed from village dwellers list when killed or moved to another village by command blocks

When a village dweller dies, joins another village, or goes to the nether, it should be immediately removed from the village dwellers' list so that the village can breed or spawn a replacement. This works correctly when mobs are killed or moved β€œnaturally.” However, in my test worlds, when killing or teleporting golems with command blocks, the iron golems are not being removed from the dwellers' list until their timestamp reaches 20 minutes after they are killed or moved to another village.

Steps to reproduce

  1. Load

[media]
  1. . It contains a small village that can spawn iron golems on a platform. Command blocks mark golem spawns with gold blocks and then kill the golems.

  2. Wait 25 minutes.

  3. Load

[media]
  1. . It contains a small village that can spawn iron golems on a platform. Command blocks mark golem spawns with gold blocks and then teleport the golems up to another village 180 blocks above.

  2. Wait 25 minutes.

Expected results

Each village spawns a golem about once every 35 seconds, so >40 in 25 minutes.

Observed results

Each village spawns a golem once every 20 minutes, so 1-2 in 25 minutes.

Note

Using MCCToolchest to view village data shows golems remaining in the spawn village dwellers' list until their ts (timestamp) values reach 24000 ticks. In the second test world, both villages show the golem as a dweller.

Linked issues

Attachments

Comments 5

Thank you for your report!

However, this issue has been temporarily closed as Awaiting Response.

Is this still an issue in the latest version? If yes, can you please add it to the affected versions (or mention it if you are not the reporter)?

This ticket will automatically reopen when you reply.

Quick Links:
πŸ““ Issue Guidelines – πŸ’¬ Mojang Support – πŸ“§ Suggestions – πŸ“– Minecraft Wiki

Is this still an issue in the latest version? If yes, can you please add it to the affected versions (or mention it if you are not the reporter)?

This ticket will automatically reopen when you reply.

Tested on 1.19 on 9 June 2022. This is still an issue. Golems killed via command block prevent spawns more frequently than every 20 min.

I don't know if it is still an issue, the second village, the one with a platform high above is spawning a lot of iron golems, covering the expected ~40 golems per 25 minutes. The first one is stuck with ~5 golems per half an hour. Is it the same for you?

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

For any account or purchasing related issues, please contact Minecraft Customer Support directly, as we cannot assist with those here at the bug tracker.

Quick Links:
πŸ““ Issue Guidelines – πŸ’¬ Mojang Support – πŸ“§ Suggestions – πŸ“– Minecraft Wiki

GoldenHelmet

(Unassigned)

Plausible

Windows

1.17.30, 1.18.31, 1.19.0

Retrieved