Mineuniverse
Log in Register
Mods

Limit Mob Spawn

Limit spawning mobs
by Kotori316
Download Claim this project
1,129,014 downloads
0 likes
Updated Jul 6, 2026
0 hypes
Miscellaneous

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-19.2-fabric.jar
MC Fabric, 1.19.2
Beta 2022-09-09 Get

More from Kotori316

automatic-potato
90,627
Large Fluid Tank for Fabric
748,140
Inf Chest
68,642
Scalable Cat's Force
43,312,237
Large Fluid Tank
4,128,189
Additional Enchanted Miner
36,047,206

You Might Also Like

LoadingTips
A mod that adds custom tips to the loading screen
999,218
Charm Fixer
Disables some modules on charm to fix incompatbility issues with owo
996,251
NarrateBookForMe [FABRIC]
Adds a narration keybind, and two GUI buttons to the book screen. Text-to-speech (tts) / narration on the go! Client sided.
99,734
Sampler
Performance oriented debugging/administration tools
998,926
VulkanMod
Vulkan renderer mod for Minecraft.
997,115
Easier Powdered Snow [Fabric]
Serverside mod to make powdered snow easier to farm
9,994