mojira.dev
MC-263974

Monsters are still generated in structures even if the spawn_monsters game rule is disabled

The bug:

When the spawn_monsters game rule is set to false, monsters are still generated as part of structures.

How to reproduce:

  1. Create a world with the spawn_monsters game rule set to false.

  2. Execute the following command:

    /locate structure #minecraft:ocean_ruin
  3. Teleport to the coordinates returned by the command.

  4. Look around the ocean ruin you found.
    → ❌ Some drowned have been generated around the ruin.

Expected result:

Monsters would not be able to generate around structures when the spawn_monsters game rule is set to false.

Observed result:

Monsters can still generate around structures even when the spawn_monsters game rule is set to false.

Linked issues

Comments 4

What underwater monsters?
Spawners are not exactly a bug, as it prevents natural spawning, not all kinds of spawning.

That spawn-animals and spawn-npcs prevent existence in general is MC-379.

I've removed the part about spawners since you already reported it in MC-168581. As for the monsters spawning underwater, I was able to reproduce this since spawn-monsters doesn't affect the generation of drowned in ocean ruin structures, similar to MC-118347.

Actually drowned spawning from ruins is included in their structure files, it's like a vindicator in a woodland mansion. It's not natural spawning/chunk generation in the same sense as animals spawning on world generation.

i just today was swimming in water or ocean and underwater zombies spawned

[Mod] ManosSef

(Unassigned)

Confirmed

Platform

Normal

Mob spawning

1.20.1, 1.21.11

Retrieved