Mineuniverse
Mods
Limit Mob Spawn

Limit Mob Spawn

MOD
Limit spawning mobs
by Kotori316
Download Claim this project
1,328,131 downloads
0 likes
Updated Oct 14, 2026
0 hypes
Miscellaneous
Advertisement Remove ads with Premium →

This mod allows you to prevent mobs from being spawned.

 

In this mod, I created these conditions.

  • Biome
  • Entity type (zombie, skeleton, bat, etc.)
  • Entity classification (Monster, Creature, Water Creature, Water Ambient, etc.)
  • Dimension (over world, nether, the end)
  • Position (x, y, z coordinate)
  • Spawn reason (natural, spawner, spawn egg, etc.)
  • Light level

You can make own rule by combining the conditions.

 

Rules can be added/removed via command.

  • /limitmobspawn query
  • /limitmobspawn add
  • /limitmobspawn remove

 


To change the number of mobs spawned from default Monster Spawner, execute this(1.18 only)

  • /limitmobspawn spawner spawnCount <new count>

To change the limit of numbers of mobs which can newly spawn, execute this.

  • /limitmobspawn category_limit set <category> <limit>

These are the default values in vanilla.

  • Monster: 70
  • Creature: 10
  • Ambient(bats): 15
  • Axolotls: 5
  • Underground Water Creature: 5
  • Water Creature: 5
  • Water Ambient: 20

To add rules, make data pack. In the data pack, create "limit-mob-spawn" directory and place rule file(json) in the dir. See Official Wiki for more detail of data pack.

datapacks in each world

└─pack.mcdata

└─data

    └─(name space)
         └─limitmobspawn
             └─demo1.json

             └─other rule files

Follow these link to see example rules.

1.16.5: this

1.17.1: this

 

1.19.2 Example Datapack


See this page for change log.

LimitMobSpawn-20.1.1.jar
MC 1.20.1, Forge
Release 2024-04-18 Get
LimitMobSpawn-20.1.0.jar
MC 1.20.1, Forge
Release 2024-03-02 Get
LimitMobSpawn-19.2-fabric.jar
MC Fabric, 1.19.2
Beta 2022-09-09 Get
LimitMobSpawn-19.3.jar
MC 1.19.2, Forge
Release 2022-08-07 Get
LimitMobSpawn-19.2.jar
MC Forge, 1.19.1
Release 2022-07-31 Get
LimitMobSpawn-19.1.jar
MC Forge, 1.19
Release 2022-07-14 Get
LimitMobSpawn-19.0-fabric.jar
MC Fabric, 1.19
Beta 2022-06-12 Get
LimitMobSpawn-19.0.jar
MC Forge, 1.19
Release 2022-06-10 Get
LimitMobSpawn-18.4.jar
MC 1.18.2, Forge
Release 2022-04-25 Get
LimitMobSpawn-18.3.jar
MC 1.18.2, Forge
Release 2022-03-06 Get
LimitMobSpawn-18.2-fabric.jar
MC Fabric, 1.18.2
Beta 2022-03-06 Get
LimitMobSpawn-18.1-fabric.jar
MC 1.18.1, Fabric
Beta 2022-02-24 Get
LimitMobSpawn-18.2.jar
MC 1.18.1, Forge
Release 2022-01-04 Get
LimitMobSpawn-17.1.jar
MC 1.17.1, Forge
Release 2022-01-03 Get
LimitMobSpawn-16.9.jar
MC 1.16.5, Forge
Release 2022-01-03 Get
LimitMobSpawn-17.0.jar
MC 1.17.1, Forge
Release 2021-09-16 Get
LimitMobSpawn-16.8.jar
MC 1.16.5, Forge
Release 2021-06-10 Get
LimitMobSpawn-16.7.jar
MC 1.16.5, Forge
Release 2021-06-06 Get
LimitMobSpawn-16.6.jar
MC 1.16.5, Forge
Release 2021-05-14 Get
LimitMobSpawn-16.5.jar
MC 1.16.5, Forge
Release 2021-04-11 Get
LimitMobSpawn-16.3.jar
MC 1.16.5, Forge
Release 2021-03-06 Get
LimitMobSpawn-16.2.jar
MC 1.16.5, Forge
Release 2021-02-27 Get
LimitMobSpawn-16.1.jar
MC 1.16.5, Forge
Release 2021-02-25 Get
LimitMobSpawn-16.0.jar
MC 1.16.5, Forge
Release 2021-02-23 Get

More from Kotori316

Advertisement Remove ads with Premium →

You Might Also Like