mojira.dev
MC-143420

Wandering Trader and Trader Llama will spawn when game rule doMobSpawning is false

The bug

I created a new world for 19w05a, executed the command /gamerule doMobSpawning false. And while trying out the new features in the snapshot; one Wandering Trader and Two Trader Llamas spawned.

Related issues

MC-143531 Wandering Trader doesn't seem to obey the "doMobSpawning" gamerule MC-143539 Wandering Trader spawn even when Domobspawning Is set to false MC-143547 Wandering Trader Llamas MC-143698 Wandering Trader spawning MC-143828 Wandering Traders spawn even if the gamerule doMobSpawning is set to false MC-143960 Merchant still appears naturally even with "the doMobSpawning" gamerule on false MC-144103 Wandering Trader spawns when doMobSpawning is false MC-144279 Wandering Trader Still Spawning MC-144335 Wandering Traders/Llamas ignore gamerule DoMobSpawning false MC-144908 Wandering Trader ignores doMobSpawning being false MC-145186 Wandering trader still spawn when doMobSpawning is false MC-145486 Wandering Trader still appears when doMobSpawning is off MC-145489 Wandering trader spawns when mob spawning is set off

Attachments

Comments

migrated
[media]
migrated

all mobs that are generated with the chunk generation are affected by this; travel through plains and you might find horses.

The gamerule only affects post-generation natural spawning.

migrated

They did spawn naturally. The chunks were loaded for a while before they spawned. I was building and they appeared.

migrated

What does /gamemode doMobSpawning return?

migrated

False. What part of the sentence "I created a new world for 19w05a, executed the command /gamerule doMobSpawning false.", do you not understand?

migrated

It could've been you tab-completed it, and set doMobLoot instead. No need to start reacting in such a way.

migrated

No, it couldn't of. I checked I had executed the command correctly after they spawned initially (Using the up arrow).

migrated

Can confirm in 19w05a

migrated

I believe you. I had been building a scale model of my home town in a superflat with doMobSpawning off and then, three in-game days later, he and his llamas just appear while I was building with structure blocks. However, it was night at the time, so he was invisible.

(19w06a)

SolidBlock

confirmed in 19w06a

migrated

I have left my account running for a few hours in the new snapshot (19w08a) and there was no sign of any trader llamas or wandering traders during that time. I can no longer seem to recreate this bug, so it may be resolved.

Makzevu

Confirmed for 19w08b.

Hugman_76

Can approve this happens since these entities exist.

migrated

This happened to me too.

migrated

This definitely happens to me. They spawned even though "doMobSpawning" was set to "false" from the very beginning of my world. This is definitely a bug worth fixing.

KirbAvion

Confirmed in 19w09a.

migrated

I think the fix should be reverted since the addition of "doTraderSpawning".

migrated

boq

Confirmed

doMobSpawning, trader_llama, wandering_trader

Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a, Minecraft 19w08b, Minecraft 19w09a

Minecraft 19w11a

Retrieved