mojira.dev
MCPE-179293

Iron golems not spawning in tickingareas

I have a fully working iron farm inside a ticking area. I have tested wether all the village is being loaded inside (which it is) and even if the tickingarea is working in general (I tested it with items that ended up desappearing, which means entities being updated, and with hoppers and chests working, so tile entities as well). However, it won't generate any iron at all unless I am nearby (then it works perfectly).

Unless there is something werid going on there, the problem should be that iron golems aren't spawning even if it is loaded.

Comments 9

For iron golems to spawn in Bedrock Edition, there must a player near the village.

Quoted from Minecraft Wiki:

A player must be within 80 blocks of the village horizontally and within 44 blocks vertically.

Honestly, golems needing players to spawn seems like a bug, as villages are independent from the player.

That only makes sense if we were talking about normal mobs, but, for instance, piglins can spawn from portals in a tickingarea, which makes sense considering that its spawn is independent from the player. So should golems do.

Honestly, golems needing players to spawn seems like a bug, as villages are independent from the player.

That only makes sense if we were talking about normal mobs, but, for instance, piglins can spawn from portals in a tickingarea, which makes sense considering that its spawn is independent from the player. So should golems do.

I think the zombified piglins spawning from portals may be the only exception to mobs spawning based on distance to the player. However, those piglins will instantly despawn if a player is not near enough.

The wiki statement quoted by another commenter is only partially correct. The actual distance in blocks within which a player must come to a village for it to be "active" is

8 x sim distance (in chunks) from the village edge

Default and minimum-sized villages are 64 x 24 x 64 in size, so the player must be within 64 horizontal and 44 vertical of its center on sim 4; 80 horizontal and 60 vertical on sim 6; and so on.

@unknown Indeed, your information mentioned was added to the iron golem page in 2022, but the part I quoted was never updated past 2020.

The maximum distance the player can be from the village for iron golems to spawn can be calculated with the following formulas. These are approximate because they yield a cuboid volume, but the simulation distance volume is an octahedral shape based on taxicab distance.

Horizontal = 8 × Simulation Distance + 32
Vertical = 8 × Simulation Distance + 12

Villager breeding is another example of mob generation that can happen without a player close, and it honestly seems more similar to spawning golem than to spawning cows, for example.

At least for me, it seems that while coding it, they used the same code as with other mob spawning and didn't notice that it should not be affected by the player distance from the village. Seeing it as a normal feature, and not only as a technical player, if there is a zombie with a name tag or with can pick up loot enabled in a village loaded by a tickingarea, golems should be able to spawn in order to save the villagers since those zombies won't despawn and will still be able to kill them.

Villager breeding is another example of mob generation that can happen without a player close, and it honestly seems more similar to spawning golem than to spawning cows, for example.

At least for me, it seems that while coding it, they used the same code as with other mob spawning and didn't notice that it should not be affected by the player distance from the village. Seeing it as a normal feature, and not only as a technical player, if there is a zombie with a name tag or with can pick up loot enabled in a village loaded by a tickingarea, golems should be able to spawn in order to save the villagers since those zombies won't despawn and will still be able to kill them.

1.20.80 Switch OLED, Game Card

Breaking & replacing all POI (Beds/Job Site Blocks) only gets the iron golems to spawn for a brief moment of time, only to stop abrupty once again.

 

Basically, the spawning is very inconsistent.

Thank you for your report!

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

Could you please add a video and/or export and attach a world showcasing the issue?

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Arturo Martínez

(Unassigned)

Confirmed

Multiple

1.20.62 Hotfix, 1.20.70

Retrieved