Mobs Blocker

Quick rating

Mobs Blocker

No reviews yet

Disable the spawning of specific mobs in Minecraft

No Theme
No Genre
Automation & Processing
Performance & Optimization
Server Utility
Mod Loaders
Forge
NeoForge
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Unsupported
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
mobs_blocker-1.2.0-neoforge-1.21.8.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

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

Advanced Spawn Control for Your Server

NeoForge GitHub MCreaHub License

Mobs Blocker has been completely re-architected to give 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 (Understanding Block 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 (Usage Examples)

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
    /spawnblocker remove preset monsters
    
  • List active rules:
    /spawnblocker list
    
  • Reload Config (from disk):
    /spawnblocker reload
    
  • Reset Everything (Wipe Config):
    /spawnblocker reset
    

📂 Configuration File (Manual Editing)

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

Example spawnblocker.json:

{
  "minecraft:phantom": [
    "all"
  ],
  "preset:monsters": [
    "natural"
  ],
  "minecraft:zombie": [
    "!spawner"
  ],
  "global_settings": [
    "command"
  ]
}

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~100,000
Total Downloads
CurseForge
~84,000
Modrinth
~23,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works