Skip to content

Disable Spawner Mob Spawns

By Kirosya

Disables spawner mob spawning with new gamerule

<1,000 downloads Updated
26.2

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

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