-
Bug
-
Resolution: Fixed
-
Minecraft 1.4.2, 20w14a, 1.16.3, 21w05b, 21w06a, 21w07a, 21w08a, 21w08b, 21w10a, 21w11a, 21w13a, 21w14a, 21w15a, 21w16a, 21w17a, 21w18a, 21w19a, 21w20a, 1.17 Pre-release 1, 1.17 Pre-release 2, 1.17 Pre-release 3, 1.17 Pre-release 4, 1.17 Pre-release 5, 1.17, 1.17.1, 21w37a, 21w38a, 21w39a, 21w40a, 21w41a, 21w43a, 1.18, 1.18.1, 22w06a, 1.18.2, 22w13a, 22w16b, 1.19 Pre-release 4, 1.19.3, 23w03a, 23w04a, 1.20.4, 24w12a
-
Windows 7 64 bit, Java 1.7.0_07 64 bit
-
Confirmed
-
Mob spawning
-
Low
-
Platform
Setting spawn-npcs=false in server.properties disables villagers completely
Setting spawn-animals=false prevents any mob from being spawned by commands or mob spawners.
What I expected to happen was...
Villagers and animals to stop naturally spawning.
Mobs to still be allowed to be summoned via commands
What actually happened was...
ALL Villagers, including pre-existing ones in the world, or ones newly placed via spawn eggs, disappear instantly.
Steps to Reproduce:
- Run a server
- Change server.properties to:
spawn-npcs=false spawn-animals=false spawn-monsters=false
- Join the server and execute the following commands
/summon villager /summon wolf /summon zombie
With difficulty on non-peaceful, you can see the Zombie summons fine. But the Villager and Wolf do not stay in the world.
For custom maps, commands should override any server.properties as it does with hostile mobs.