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.

Linked issues

MC-143531 Wandering Trader doesn't seem to obey the "doMobSpawning" gamerule Resolved MC-143539 Wandering Trader spawn even when Domobspawning Is set to false Resolved MC-143547 Wandering Trader Llamas Resolved MC-143698 Wandering Trader spawning Resolved MC-143828 Wandering Traders spawn even if the gamerule doMobSpawning is set to false Resolved

Attachments

Comments 16

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.

Jonathan Adshead

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

What does /gamemode doMobSpawning return?

Jonathan Adshead

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

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

6 more comments

Can approve this happens since these entities exist.

This happened to me too.

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.

Confirmed in 19w09a.

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

Jonathan Adshead

boq

Confirmed

doMobSpawning, trader_llama, wandering_trader

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

Minecraft 19w11a

Retrieved