Mineuniverse
Log in Register
Mods

Mobs Blocker

Disable the spawning of specific mobs in Minecraft
by DreykaOas_official
Download Claim this project
80,487 downloads
0 likes
Updated Jul 6, 2026
0 hypes
Automation Mobs Performance Server Utility World Gen

Mobs Blocker

Advanced Spawn Control for Your Server

NeoForge GitHub MCreaHub License

Mobs Blocker gives you granular control over entity spawning. Stop mobs based on specific conditions (natural spawns, spawners, eggs) or apply rules globally across mob categories.

Report a Bug or Suggest a Feature


⚠️ UPDATE NOTICE: This mod has been rewritten and currently ONLY supports version 1.2.0. For version 1.1.0, please check the GitHub repository. Versions below 1.1.0 are no longer supported.


🚀 How It Works & Core Features

The Logic System

Mobs Blocker intercepts every entity spawn attempt and checks rules in this specific order:

  1. Specific Rules: Is there a rule for this exact Entity ID? (e.g., minecraft:zombie)
  2. Preset Rules: If not, is there a rule for its Category? (e.g., monsters)
  3. Global Rules: If not, is there a Global rule set?

Key Features

  • Granular Control: Block mobs based on how they spawn (Natural, Spawners, Eggs, Commands).
  • Smart Presets: Apply rules to entire categories (e.g., block all monsters or water_creatures).
  • Global Settings: Apply a rule to every entity on the server instantly.
  • In-Game Management: Full command system with auto-completion.
  • Zero Lag: Uses optimized HashSet lookups and hooks into NeoForge events for minimal performance impact.
  • Server-Side Only: Clients do not need to install this mod.

📜 The Rules System (Blocking Types)

When adding a rule, you define what to block. You can block specific sources or use "Inverse Mode" to allow only specific sources.

Rule Keyword Effect
all Blocks ALL spawns for this target.
natural Blocks natural spawns (darkness, biome generation).
spawner Blocks mob spawners (dungeons, trial spawners).
egg Blocks spawn eggs and dispensers.
command Blocks /summon or command block spawns.
!natural Inverse: Blocks everything EXCEPT natural spawns.
!spawner Inverse: Blocks everything EXCEPT spawners.
!command Inverse: Blocks everything EXCEPT commands.

💻 Command Guide

All commands require OP Level 4.

1. Specific Mob Control (add)

Target a single entity type.

  • Block Zombies completely: /spawnblocker add minecraft:zombie all
  • Block Creepers from spawning naturally (but allow spawners/eggs): /spawnblocker add minecraft:creeper natural
  • Allow Skeletons ONLY from Spawners (Inverse Mode): /spawnblocker add minecraft:skeleton !spawner

2. Category Presets (preset)

Apply rules to groups of mobs. Available categories: monsters, creatures, ambient, water, misc.

  • Block all Monsters from spawning naturally: /spawnblocker preset monsters natural
  • Disable all ambient creatures (Bats, etc.): /spawnblocker preset ambient all

3. Global Settings (global)

Apply a fallback rule to the entire server.

  • Disable Natural Spawning server-wide (Adventure mode style): /spawnblocker global natural

4. Management & Utilities

  • Remove a rule: /spawnblocker remove minecraft:zombie
  • List active rules: /spawnblocker list
  • Reload Config (from disk): /spawnblocker reload
  • Reset Everything (Wipe Config): /spawnblocker reset

📂 Configuration File

The configuration is saved automatically to config/spawnblocker.json. You can edit this file manually if the server is stopped.

Example spawnblocker.json: ```json { "minecraft:phantom": [ "all" ], "preset:monsters": [ "natural" ], "minecraft:zombie": [ "!spawner" ], "global_settings": [ "command" ] }

mobs_blocker-1.2.0-neoforge-1.21.8.jar
MC 1.21.8, NeoForge, Server
Beta 2025-12-22 Get
mobs_blocker-1.2.0-neoforge-1.20.4.jar
MC Forge, 1.20.4, NeoForge, Server
Beta 2025-12-22 Get
mobs_blocker-1.1.0-neoforge-1.21.4.jar
MC 1.21.4, NeoForge, Server
Release 2025-12-18 Get
mobs_blocker-1.1.0-fabric-1.21.8.jar
MC Fabric, 1.21.8, Server
Beta 2025-12-18 Get
mobblocker-1.0.0-forge-1.20.1.jar
MC 1.20.1, Forge, Server
Release 2024-04-12 Get

More from DreykaOas_official

Fake FPS
6,615
Lethal Breed
52
Custom Clear Lag
4,877
Vein Vantage
27,178
Extended Time
2,630
Zone Cleaner
263

You Might Also Like

APTweaks: Items (11.x Classic)
Item clustering (fallen blocks, experience orbs, ...) and garbage cleanup.
9,884,514
VanillaDeathChest (Fabric)
Places containers when players die that contain their items.
994,762
Styled Nicknames
Simple, but configurable nicknaming mod allowing your server's players (and admins) to change their nickname with full formatting support
989,499
Tiquality
Make server lag the problem of the source player.
99,489
Blame (Fabric)
Those gosh darn crashlogs not saying which worldgen feature is crashing!
99,012
Weathering with You
Forecast Minecraft weather with a radar or a hat!
98,579