Skip to content

Spawn Rules

A server-side Fabric mod that lets you block specific mobs and animals from spawning on your server.

Fabric
Loaders
Fabric
Downloads on Modrinth
129
Followers on Modrinth
0
version
1
Updated
July 13, 2026Jul 13
Published
in 2026
Config menu — The spawn rules config menu in game, along with a preview of options · swipe

At a glance

Runs on Fabric
For Minecraft 26.2
Server only — players don't need to install it
Latest version — 1.0.0 from July 13, 2026
Requires Fabric API
License CC0-1.0 — free
Where it's needed
In gamenot neededOn serverrequired

Install on the server only; players don't need it

Game versions26.2

Spawn Rules

A server-side Fabric mod that lets you block specific mobs and animals from spawning. It cancels spawns early in the tick loop to save server performance.

Key features:

  • Blocks spawns before the mob entity is created, which reduces server CPU load.
  • Prevents "Can't spawn entity of type" warning spam in the console logs.
  • Player-spawned entities (spawn eggs, summon commands, breeding, buckets, and portal travel) are always allowed.
  • Includes an in-game GUI to change settings without editing files.

How to use the In-Game GUI (Click to expand)

Run the command /spawnrules config in-game (requires operator level 2).

  1. A menu will open showing all survival mobs in the game (including modded ones).
  2. Hovering over a mob shows if it is allowed or blocked in the Overworld, Nether, and End.
  3. Click any mob to toggle its spawn status for those dimensions.
  4. Changes save to disk and update in memory immediately.
Configuration File Example (Click to expand)

You can also edit the config file directly at config/spawnrules.json. Here is an example config that blocks zombies in the overworld:

{
  "dimensions": {
    "minecraft:overworld": {
      "blocked_types": [
        "minecraft:zombie"
      ],
      "blocked_categories": []
    }
  }
}
  • blocked_types: A list of entity IDs (like minecraft:zombie) to block in that dimension.
  • blocked_categories: A list of categories to block. The categories are:

    • monster (zombies, creepers, skeletons, etc.)
    • creature (cows, pigs, sheep, etc.)
    • ambient (bats)
    • water_creature (squids, dolphins)
    • water_ambient (tropical fish)
    • axolotls
    • underground_water_creature (glow squids)
Commands (Click to expand)
  • /spawnrules config - Opens the visual settings GUI (Requires OP level 2).
  • /spawnrules reload - Reloads the settings from the configuration file (Requires OP level 2).

FAQ

How to install Spawn Rules?

Install Fabric for your Minecraft version, download Spawn Rules for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does Spawn Rules support?

Spawn Rules has builds for Minecraft 26.2.

Is Spawn Rules needed on the server?

Server only — players don't need to install it

License and source
Creative Commons Zero v1.0 Universalfree to use and share with credit to the author
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More