Back to mods
Disable Spawner Mob Spawns project artwork

Modrinth · Minecraft mod

Disable Spawner Mob Spawns

Disables spawner mob spawning with new gamerule

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Disable Spawner Mob Spawns release matches 26.2 Forge?

Updated 11 months ago
Best match for your filters 1+mod
Game version 25w37a, 1.21.9-pre1, 1.21.9-pre2
Loader Fabric, Forge, NeoForge

Disable Spawner Mob Spawns 1+mod targets 25w37a, 1.21.9-pre1, 1.21.9-pre2 with Fabric, Forge, NeoForge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Disable Spawner Mob Spawns required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric, Forge, NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Disable Spawner Mob Spawns 1+mod need?

1+mod on 26.2 Forge. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Disable Spawner Mob Spawns without breaking your instance.

Built for Disable Spawner Mob Spawns 1+mod on 26.2 Forge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1+mod. It targets 25w37a, 1.21.9-pre1, 1.21.9-pre2 with Fabric, Forge, NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1+mod. It opens that exact file at the source.

About this project

What does Disable Spawner Mob Spawns add?

This datapack flips the new gamerule spawnerBlocksEnabled to false, so mob spawners stop spawning mobs. Natural spawning is untouched.

⚠️ Requires Java Edition snapshot 25w37a or newer (the snapshot that introduces spawnerBlocksEnabled). Works in single-player and servers.

What it does

  • On world load, sets:
/gamerule spawnerBlocksEnabled false
  • Result: all mob spawners won’t spawn anything.

  • Does not change natural spawning, eggs, commands, or mob farms that don’t rely on spawners.

Install

Drop the ZIP into your world/server datapacks/ folder.

Run /reload (or restart the server).

Uninstall

Remove the datapack.

Re-enable spawners with:

/gamerule spawnerBlocksEnabled true

Project description from Modrinth.

Pick your setup

Disable Spawner Mob Spawns by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

105 available setups

Showing the newest 12 of 21 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Disable Spawner Mob Spawns versions and loaders

1 of 2 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.