A little while ago, I tried making an iron farm on my Xbox One Minecraft World, but I noticed, even in my village, when the villagers get spooked or even hit by zombies or such they don't spawn iron golems, which I thought they did. Is that mechanic only for Java Edition or am I somehow doing something wrong?
I used the design from this video: