[SPIGOT-5565] spawn-animals=false -> animals still spawning Created: 04/Feb/20  Updated: 10/May/21  Resolved: 10/May/21

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Johannes Krüger Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: animals, spawning
Environment:

No Plugins, everytime new clean generated world.

Vanilla:

minecraft server version 1.15.2

Bukkit:

This server is running CraftBukkit version git-Bukkit-e911c70 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)

Spigot:

This server is running CraftBukkit version git-Spigot-800b93f-e911c70 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)

Paper:

This server is running Paper version git-Paper-90 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)

 


Version: This server is running CraftBukkit version git-Spigot-800b93f-e911c70 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)
Guidelines Read: Yes

 Description   

The option for not spawning animals with

server.properties:
spawn-animals=false

is not working.

 

Tested in and with allways newest version:

Vanilla:

Bukkit:

Spigot:

 

even with /gamerule doMobSpawning false
animals still spawning.

Option is working for spawn-monsters and spawn-villagers.



 Comments   
Comment by Marvin Rieple [ 10/May/21 ]

Made a PR for this: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/pull-requests/842/overview

Comment by Black Hole [ 04/Feb/20 ]

It might be related to SPIGOT-5484

Comment by Shane Bee [ 04/Feb/20 ]

I just fired up a fresh spigot server.
Setting:
server.properties:
spawn-animals=false

Animals are spawning during world/chunk generation, but using the summon command tells me "Unable to summon entity"
Same issue applies with the game rule.

Firing up a vanilla server with the same settings, no animals were found in sight!

Comment by md_5 [ 04/Feb/20 ]

> even with /gamerule doMobSpawning false
animals still spawning.

Skeptical, my test server has that and I don’t recall seeing any mobs.

Generated at Tue Apr 15 08:23:00 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.