All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Mobs Blocker

Mobs Blocker

by DreykaOas • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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"
  ]
}

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.21.8
Neoforge
10mo ago 1
1.21.4
Neoforge
10mo ago 1
1.21.1
Neoforge
10mo ago 1
1.20.6
Neoforge
10mo ago 1
1.20.4
Forge Neoforge
10mo ago 1
1.20.1
Forge
10mo ago 1
1.19.4
Forge
10mo ago 1
1.19.2
Forge
10mo ago 1
1.19.2
Forge
10mo ago 1
1.19.4
Forge
10mo ago 1
1.20.1
Forge
10mo ago 1
1.20.4
Forge Neoforge
10mo ago 1
1.20.6
Neoforge
10mo ago 1
1.21.4
Neoforge
10mo ago 1
1.21.8
Fabric
10mo ago 1
1.21.1
Neoforge
10mo ago 1
1.21.8
Neoforge
10mo ago 1
1.21.4
Neoforge
last yr. 1
1.21.4
Neoforge
last yr. 1
1.21.1
Neoforge
last yr. 1
1.21.1
Neoforge
last yr. 1
1.21.1
Neoforge
last yr. 1
1.21.1
Neoforge
last yr. 1
1.21.1
Neoforge
last yr. 1
1.21.1
Neoforge
last yr. 1
1.21.1
Neoforge
last yr. 1
1.21.1
Neoforge
last yr. 1
1.21.1
Neoforge
last yr. 1
1.20.6
Neoforge
last yr. 1
1.20.6
Neoforge
last yr. 1
1.20.4
Neoforge
last yr. 1
1.20.4
Neoforge
last yr. 1
1.20.1
Forge
last yr. 1
[1.2.0] Mobs Blocker 1.2.0 by DreykaOas on Dec 22, 2025
Download
# Major Update: Complete System Overhaul

This update completely rewrites the mod to offer total, precise, and high-performance control over creature spawning, regardless of your game version.

## New Features

### Filter by Spawn Source
You can now choose exactly how a mob is blocked:
  • natural**: Blocks natural spawning (night, caves, biomes).
  • spawner**: Blocks monster spawners (Standard & Trial Spawners).
  • egg**: Blocks spawn eggs (players and dispensers).
  • command**: Blocks summons via /summon.
  • all**: Blocks everything, no exceptions.

### Inverted Logic (Whitelist)
Use the exclamation mark (!) to allow an exception.
  • Example:* !spawner will block everything (natural, egg...) **except** spawners.

### Preset System
Block entire categories with a single command.
  • Available categories: **monsters**, **creatures** (animals), **ambient** (bats...), **water** (fish), and **misc**.

### Global Settings
Apply rules to the entire server using the global command (e.g., block natural spawning everywhere).

## New Admin Commands

  • /spawnblocker add <mob> <rules>: Adds or modifies a rule.
  • /spawnblocker list: Cleanly displays all active rules.
  • /spawnblocker reload: Instantly reloads the configuration (no restart needed).
  • /spawnblocker reset: Completely resets and clears the configuration.

## Performance & Configuration

  • Optimized code for zero impact on server performance.
  • Configuration saved cleanly in JSON format (config/spawnblocker.json).
[1.2.0] Mobs Blocker 1.2.0 by DreykaOas on Dec 22, 2025
Download
# Major Update: Complete System Overhaul

This update completely rewrites the mod to offer total, precise, and high-performance control over creature spawning, regardless of your game version.

## New Features

### Filter by Spawn Source
You can now choose exactly how a mob is blocked:
  • natural**: Blocks natural spawning (night, caves, biomes).
  • spawner**: Blocks monster spawners (Standard & Trial Spawners).
  • egg**: Blocks spawn eggs (players and dispensers).
  • command**: Blocks summons via /summon.
  • all**: Blocks everything, no exceptions.

### Inverted Logic (Whitelist)
Use the exclamation mark (!) to allow an exception.
  • Example:* !spawner will block everything (natural, egg...) **except** spawners.

### Preset System
Block entire categories with a single command.
  • Available categories: **monsters**, **creatures** (animals), **ambient** (bats...), **water** (fish), and **misc**.

### Global Settings
Apply rules to the entire server using the global command (e.g., block natural spawning everywhere).

## New Admin Commands

  • /spawnblocker add <mob> <rules>: Adds or modifies a rule.
  • /spawnblocker list: Cleanly displays all active rules.
  • /spawnblocker reload: Instantly reloads the configuration (no restart needed).
  • /spawnblocker reset: Completely resets and clears the configuration.

## Performance & Configuration

  • Optimized code for zero impact on server performance.
  • Configuration saved cleanly in JSON format (config/spawnblocker.json).
[1.2.0] Mobs Blocker 1.2.0 by DreykaOas on Dec 22, 2025
Download
# Major Update: Complete System Overhaul

This update completely rewrites the mod to offer total, precise, and high-performance control over creature spawning, regardless of your game version.

## New Features

### Filter by Spawn Source
You can now choose exactly how a mob is blocked:
  • natural**: Blocks natural spawning (night, caves, biomes).
  • spawner**: Blocks monster spawners (Standard & Trial Spawners).
  • egg**: Blocks spawn eggs (players and dispensers).
  • command**: Blocks summons via /summon.
  • all**: Blocks everything, no exceptions.

### Inverted Logic (Whitelist)
Use the exclamation mark (!) to allow an exception.
  • Example:* !spawner will block everything (natural, egg...) **except** spawners.

### Preset System
Block entire categories with a single command.
  • Available categories: **monsters**, **creatures** (animals), **ambient** (bats...), **water** (fish), and **misc**.

### Global Settings
Apply rules to the entire server using the global command (e.g., block natural spawning everywhere).

## New Admin Commands

  • /spawnblocker add <mob> <rules>: Adds or modifies a rule.
  • /spawnblocker list: Cleanly displays all active rules.
  • /spawnblocker reload: Instantly reloads the configuration (no restart needed).
  • /spawnblocker reset: Completely resets and clears the configuration.

## Performance & Configuration

  • Optimized code for zero impact on server performance.
  • Configuration saved cleanly in JSON format (config/spawnblocker.json).
[1.2.0] Mobs Blocker 1.2.0 by DreykaOas on Dec 22, 2025
Download
# Major Update: Complete System Overhaul

This update completely rewrites the mod to offer total, precise, and high-performance control over creature spawning, regardless of your game version.

## New Features

### Filter by Spawn Source
You can now choose exactly how a mob is blocked:
  • natural**: Blocks natural spawning (night, caves, biomes).
  • spawner**: Blocks monster spawners (Standard & Trial Spawners).
  • egg**: Blocks spawn eggs (players and dispensers).
  • command**: Blocks summons via /summon.
  • all**: Blocks everything, no exceptions.

### Inverted Logic (Whitelist)
Use the exclamation mark (!) to allow an exception.
  • Example:* !spawner will block everything (natural, egg...) **except** spawners.

### Preset System
Block entire categories with a single command.
  • Available categories: **monsters**, **creatures** (animals), **ambient** (bats...), **water** (fish), and **misc**.

### Global Settings
Apply rules to the entire server using the global command (e.g., block natural spawning everywhere).

## New Admin Commands

  • /spawnblocker add <mob> <rules>: Adds or modifies a rule.
  • /spawnblocker list: Cleanly displays all active rules.
  • /spawnblocker reload: Instantly reloads the configuration (no restart needed).
  • /spawnblocker reset: Completely resets and clears the configuration.

## Performance & Configuration

  • Optimized code for zero impact on server performance.
  • Configuration saved cleanly in JSON format (config/spawnblocker.json).
[1.2.0] Mobs Blocker 1.2.0 by DreykaOas on Dec 22, 2025
Download
# Major Update: Complete System Overhaul

This update completely rewrites the mod to offer total, precise, and high-performance control over creature spawning, regardless of your game version.

## New Features

### Filter by Spawn Source
You can now choose exactly how a mob is blocked:
  • natural**: Blocks natural spawning (night, caves, biomes).
  • spawner**: Blocks monster spawners (Standard & Trial Spawners).
  • egg**: Blocks spawn eggs (players and dispensers).
  • command**: Blocks summons via /summon.
  • all**: Blocks everything, no exceptions.

### Inverted Logic (Whitelist)
Use the exclamation mark (!) to allow an exception.
  • Example:* !spawner will block everything (natural, egg...) **except** spawners.

### Preset System
Block entire categories with a single command.
  • Available categories: **monsters**, **creatures** (animals), **ambient** (bats...), **water** (fish), and **misc**.

### Global Settings
Apply rules to the entire server using the global command (e.g., block natural spawning everywhere).

## New Admin Commands

  • /spawnblocker add <mob> <rules>: Adds or modifies a rule.
  • /spawnblocker list: Cleanly displays all active rules.
  • /spawnblocker reload: Instantly reloads the configuration (no restart needed).
  • /spawnblocker reset: Completely resets and clears the configuration.

## Performance & Configuration

  • Optimized code for zero impact on server performance.
  • Configuration saved cleanly in JSON format (config/spawnblocker.json).
[1.2.0] Mobs Blocker 1.2.0 by DreykaOas on Dec 22, 2025
Download
# Major Update: Complete System Overhaul

This update completely rewrites the mod to offer total, precise, and high-performance control over creature spawning, regardless of your game version.

## New Features

### Filter by Spawn Source
You can now choose exactly how a mob is blocked:
  • natural**: Blocks natural spawning (night, caves, biomes).
  • spawner**: Blocks monster spawners (Standard & Trial Spawners).
  • egg**: Blocks spawn eggs (players and dispensers).
  • command**: Blocks summons via /summon.
  • all**: Blocks everything, no exceptions.

### Inverted Logic (Whitelist)
Use the exclamation mark (!) to allow an exception.
  • Example:* !spawner will block everything (natural, egg...) **except** spawners.

### Preset System
Block entire categories with a single command.
  • Available categories: **monsters**, **creatures** (animals), **ambient** (bats...), **water** (fish), and **misc**.

### Global Settings
Apply rules to the entire server using the global command (e.g., block natural spawning everywhere).

## New Admin Commands

  • /spawnblocker add <mob> <rules>: Adds or modifies a rule.
  • /spawnblocker list: Cleanly displays all active rules.
  • /spawnblocker reload: Instantly reloads the configuration (no restart needed).
  • /spawnblocker reset: Completely resets and clears the configuration.

## Performance & Configuration

  • Optimized code for zero impact on server performance.
  • Configuration saved cleanly in JSON format (config/spawnblocker.json).
[1.2.0] Mobs Blocker 1.2.0 by DreykaOas on Dec 22, 2025
Download
# Major Update: Complete System Overhaul

This update completely rewrites the mod to offer total, precise, and high-performance control over creature spawning, regardless of your game version.

## New Features

### Filter by Spawn Source
You can now choose exactly how a mob is blocked:
  • natural**: Blocks natural spawning (night, caves, biomes).
  • spawner**: Blocks monster spawners (Standard & Trial Spawners).
  • egg**: Blocks spawn eggs (players and dispensers).
  • command**: Blocks summons via /summon.
  • all**: Blocks everything, no exceptions.

### Inverted Logic (Whitelist)
Use the exclamation mark (!) to allow an exception.
  • Example:* !spawner will block everything (natural, egg...) **except** spawners.

### Preset System
Block entire categories with a single command.
  • Available categories: **monsters**, **creatures** (animals), **ambient** (bats...), **water** (fish), and **misc**.

### Global Settings
Apply rules to the entire server using the global command (e.g., block natural spawning everywhere).

## New Admin Commands

  • /spawnblocker add <mob> <rules>: Adds or modifies a rule.
  • /spawnblocker list: Cleanly displays all active rules.
  • /spawnblocker reload: Instantly reloads the configuration (no restart needed).
  • /spawnblocker reset: Completely resets and clears the configuration.

## Performance & Configuration

  • Optimized code for zero impact on server performance.
  • Configuration saved cleanly in JSON format (config/spawnblocker.json).
[1.2.0] Mobs Blocker 1.2.0 by DreykaOas on Dec 22, 2025
Download
# Major Update: Complete System Overhaul

This update completely rewrites the mod to offer total, precise, and high-performance control over creature spawning, regardless of your game version.

## New Features

### Filter by Spawn Source
You can now choose exactly how a mob is blocked:
  • natural**: Blocks natural spawning (night, caves, biomes).
  • spawner**: Blocks monster spawners (Standard & Trial Spawners).
  • egg**: Blocks spawn eggs (players and dispensers).
  • command**: Blocks summons via /summon.
  • all**: Blocks everything, no exceptions.

### Inverted Logic (Whitelist)
Use the exclamation mark (!) to allow an exception.
  • Example:* !spawner will block everything (natural, egg...) **except** spawners.

### Preset System
Block entire categories with a single command.
  • Available categories: **monsters**, **creatures** (animals), **ambient** (bats...), **water** (fish), and **misc**.

### Global Settings
Apply rules to the entire server using the global command (e.g., block natural spawning everywhere).

## New Admin Commands

  • /spawnblocker add <mob> <rules>: Adds or modifies a rule.
  • /spawnblocker list: Cleanly displays all active rules.
  • /spawnblocker reload: Instantly reloads the configuration (no restart needed).
  • /spawnblocker reset: Completely resets and clears the configuration.

## Performance & Configuration

  • Optimized code for zero impact on server performance.
  • Configuration saved cleanly in JSON format (config/spawnblocker.json).
[1.0.8] Mobs Blocker 1.0.8 by DreykaOas on Feb 22, 2025
Download
1.21.4 update
[1.0.5-1] Mobs Blocker 1.0.5-1 by DreykaOas on Nov 14, 2024
Download
# Changelog - Version 1.0.5-1
  • Date: November 14, 2024*

## Improvements
  • Reduced code to enhance performance and overall optimization of the application.

## Fixes
  • Fixed various bugs to ensure a more stable and reliable operation.

[1.0.4-1] Mobs Blocker 1.0.4-1 by DreykaOas on Nov 12, 2024
Download
# Changelog

## 2024-11-12

  • Added new features.
  • Fixed minor bugs.
  • Improved performance.

[1.0.4] Mobs Blocker 1.0.4 by DreykaOas on Nov 11, 2024
Download
# Changelog - Version 1.0.4 (November 11, 2024)

## Bug Fixes
  • Minor bug fixes for improved overall stability of the mod.

[1.0.3-5] Mobs Blocker 1.0.3-5 by DreykaOas on Nov 10, 2024
Download
# Changelog

## [10-11-2024]
### Fixes
  • Bug fixes to improve stability and performance.

[1.0.3-4] Mobs Blocker 1.0.3-4 by DreykaOas on Nov 08, 2024
Download
JUST BETTER
[1.0.3-3] Mobs Blocker 1.0.3-3 by DreykaOas on Nov 06, 2024
Download
# Changelog

## 06/11/2024

  • Minor bug fix

[1.0.3-2] Mobs Blocker 1.0.3-2 by DreykaOas on Nov 06, 2024
Download
# Changelog

## 1.0.3-2

### Changes
  • Minor bug fix
[1.0.3] Mobs Blocker 1.0.3 by DreykaOas on Nov 05, 2024
Download
# Changelog

### User Interface Optimization

  • Improved UI performance and smoothness.
  • Reduced loading times.
  • Fixed various display bugs.

[1.0.0] Mobs Blocker by DreykaOas on Sep 28, 2024
Download
# Changelog

  • Performance Improvements**: Overall performance has been enhanced to provide a smoother experience.
  • Bug Fixes**: Various bugs have been fixed, including issues with crashes and entity cleanup malfunctions.

[1.0.3] Mobs Blocker by DreykaOas on Jul 17, 2024
Download
### 🛡️ **Mobs Blocker Changelog** 🛡️

  • Version 1.0.3**


  • New Features:**

1. **Activate Auto Ban** 🚀
  • Added the ability to activate auto ban for mobs using the command: /gamerule autoBanMob true.
  • Automatically adds the mob type to the ban list file when a mob dies, if it is not an excepted mob.

2. **Ban List File: mobs.oas** 📄
  • Added functionality to manually manage banned mobs by adding their types to the mobs.oas file.
  • Ensures that mobs listed in this file will no longer spawn in your world.

3. **Exceptions Management: auto_ban_except.oas** 🚷
  • Introduced a file to specify mobs that should never be banned, even if auto ban is activated.
  • Allows exclusion of all mobs from a specific mod by adding a line in the format mod_name:*. For example, minecraft:* will exclude all Minecraft mobs from being banned.


  • Improvements:**

1. **Optimized Exception Handling** 🔧
  • Improved the logic to check if a mob type is in the exception list before adding it to the ban list.
  • Supports prefix-based exceptions, allowing broader control over mob types from specific mods.

2. **Streamlined File Operations** 💾
  • Enhanced file reading and writing operations for better performance and reliability.
  • Ensured proper handling of non-empty lines and directory creation.


  • Bug Fixes:**

1. **Fixed Exception File Reading Issue** 🐞
  • Resolved an issue where the exception file was not being read correctly if it contained empty lines.

2. **Error Handling Enhancements** 🛠️
  • Improved error handling during file operations to provide more informative error messages.


  • General Enhancements:**

1. **Code Optimization** ⚡
  • Refactored code for better readability and maintainability.
  • Removed unnecessary System.out messages for a cleaner console output.


  • Enjoy the new features and improvements in Mobs Blocker 1.0.3!** 🌍🔒

Add auto ban
[1.0.1] Mob Blocker 1.0.1 by DreykaOas on May 26, 2024
Download
more performance
[1.0.0] Mob Blocker 1.0.0 by DreykaOas on Apr 25, 2024
Download
## New Features

1. Compatibility with NeoFogre
[1.0.0] MobBlocker 1.0.0 by DreykaOas on Apr 12, 2024
Download
  • First version released online**
Disable the spawning of specific mobs in Minecraft for a customized gaming experience.
Easy-to-use configuration file to select which mobs to disable.
Mobs Blocker Icon
Download Mobs Blocker
Select game version
Select platform