
You Shall Not Spawn!
A modpack utility mod that allows to disable spawning of any entity.
4.3M downloads
Created Apr 9, 2026
by ElocinDev
About
<p style="text-align: center;"><img src="https://github.com/nvb-uy/cdn/blob/main/desc/ysns/ysns_banner.png?raw=true" alt="" width="1125" height="336" /></p>
<p style="text-align: center;"> </p>
<p style="text-align: center;">
<a href="https://lunapixel.studio/discord"><img src="https://img.shields.io/discord/790272037578473512?label=Discord&color=393939&labelColor=fb594a&style=for-the-badge&logo=discord&logoColor=white" alt="" width="220" height="28" /></a>
</p>
<p style="text-align: center;"> </p>
<p style="text-align: center;">Disable unwanted mobs from spawning using JSON configuration.</p>
<p style="text-align: center;">Supports Forge, Fabric, and Quilt</p>
<h2 style="text-align: center;"><strong>⭐ Features ⭐</strong></h2>
<ul>
<li><strong>Disable Entity Spawning</strong></li>
</ul>
<p>Add the ID of the entity you want to remove in <code>config/ysns/disabled_entities.json5</code> to completely remove entities from spawning.</p>
<ul>
<li><strong>Control Entity Spawning</strong></li>
</ul>
<p>Whether per dimension or globally (by using <code>"!.*"</code>), you can control the spawn rate of an entity in the <code>config/ysns/per_dimension_entities.json5</code> config.</p>
<ul>
<li><strong>Regex Support</strong></li>
</ul>
<p>Need to disable multiple entities from 1 mod? Or is there a pattern in them? Then no need to repeat yourself!</p>
<p>With regular expressions, you can disable multiple entities in a single entry, disable all entities from a mod, and a lot more! Simply start the entry with <code>"!"</code> and then write your regular expression.</p>
<ul>
<li><strong>Commented Config File</strong></li>
</ul>
<p>The config files have comments explaining and giving examples of what you need to add to make the mod work! If you need extra help, feel free to hop in my Discord in the #elocins-projects channel.</p>
<h2 style="text-align: center;"><strong>FAQ</strong></h2>
<ul>
<li><strong>Can I use this in my modpack?</strong></li>
</ul>
<p>Of course! It was designed for modpack creators to remove undesired entities that may unbalance the game or create issues.</p>
<ul>
<li><strong>Can I still make the entities spawn?</strong></li>
</ul>
<p>In the case of using the <code>disabled_entities</code> config, <strong>no</strong>. Once a mob is added to the blacklist, there is no way to spawn it by any method. Both natural or through eggs/commands. This mod is meant to completely remove undesired entities.</p>
<p>In the case of the <code>per_dimension</code> config, it works via chance, so at 0.0 they won't spawn at all. But at 0.5 it'll have a 50% chance of spawning.</p>
<ul>
<li><strong>Client or server?</strong></li>
</ul>
<p>Everything happens on the server's side. Though it is recommended to leave the mod and config for clients too, for the case they want to play a single-player world. You should always leave this mod in the server pack alongside its config.</p>
<ul>
<li><strong>What if I add an entity to the blacklist that was already spawned?</strong></li>
</ul>
<p>Spawned entities will still exist, so it's up to you if you want to kill them or not. For this reason, it's recommended to configure the mod before creating a world.</p>
<ul>
<li><strong>What if I misspell an entity's ID in the config file?</strong></li>
</ul>
<p>Nothing will happen. Adding invalid IDs won't cause issues, but obviously, the entity won't be blacklisted as it technically doesn't exist. The same thing would happen if the mod isn't present, but it will be if it's added later and the ID is valid.</p>
Versions
v2.0.2Latest
1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6•fabric, quilt•Oct 18, 2024
## 2.0.2 - Fixed crash when using regex on per-dimension bans ## 2.0.1 - Added fallback calls to prevent possible cases where entities would still spawn - Fixed crash on servers # 2.0.0 Initial release of You Shall Not Spawn v2 - You can now disable entities globally, per-dimension, or reduce spawn chances. - Config moved to JSON5 - Added Regex support (Can be used for example to ban all mobs except 1) - Fixed many issues encountered when interacting with other mods
Download
Download v2.0.2Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6
Loaders: fabric, quilt
Links
Tags
fabricforgeneoforgequilt1.20.61.211.21.11.21.21.21.3