mojira.dev
MC-169132

Mobs loaded from structures ignore the /gamerule doMobSpawning false

Mobs loaded from structure blocks ignore /gamerule doMobSpawning false

Steps to Reproduce:
1. Load a world with /gamerule doMobSpawning set to false
2. Locate a structure that generates mobs upon generation (ex. Woodland Mansion)
❌ Notice the mobs still spawn

Linked issues

Attachments

Comments 3

I was able to reporduce. It seems mobs loaded from Structure Blocks aren't affected by the rule. I've reworked your report to reflect that.

I have it in 21w06a

Can confirm in 1.16.5 and 21w08b.

Ján Kinčeš

(Unassigned)

Confirmed

Mob spawning, Structures

1.15.1, 20w48a, 1.16.5, 21w06a, 21w08b, 1.18, 1.21

Retrieved