Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Mobs Blocker

Mobs Blocker

Mob spawn blocker

2,907
24
Management
Optimization
Utility

Compatibility

Minecraft: Java Edition

1.21.1
1.20.6
1.20.4
1.20.1

Platforms

Forge
NeoForge

Supported environments

Server-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source Visit wiki

Creators

DreykaOas
DreykaOas Inherited Owner

Details

Licensed Apache-2.0
Published last year
Updated 2 months ago
DescriptionChangelogVersions

STOP to Unwanted Spawns! 🛑

This server mod allows you to block the spawning of specific mobs in your Minecraft world! Tired of creepers exploding everywhere or hordes of sheep invading your base? This mod is for you! 🐑💥

⚙️ How does it work?

"Mobs Blocker" is a server-side mod that works in the background to control mob spawns. Here are the key steps:

  1. 📝 Configuration: When the server starts for the first time with the mod, a configuration file named mobs.oas is created in the config/oas_work/ folder.
  2. 📖 Reading the configuration file: The mod reads this mobs.oas file which contains a list of mobs to block. Each mob to block must be added on a new line in this file, using its full Minecraft identifier (e.g., minecraft:creeper, minecraft:sheep).
  3. 🛑 Blocking Spawns: When Minecraft tries to spawn a mob, the mod checks if its identifier is present in the list in the mobs.oas file.
  4. ⛔ Spawn Canceled: If the mob is on the list, its spawn is canceled, and it will not appear in the world. Other mobs continue to spawn normally.

🎮 How to use it?

"Mobs Blocker" is designed to be easy to configure.

  1. 🛠️ Configuration:
    • 📂 Locate the configuration file: Go to the config/oas_work/ folder of your server. Open the mobs.oas file with a text editor.
    • ✏️ Modify the list: Add the Minecraft identifiers of the mobs you want to block on each line. You can delete lines to allow certain mobs to spawn again. For example, to block creepers and sheep, the mobs.oas file should look like this:
      minecraft:sheep
      minecraft:creeper
      
    • 💾 Save the mobs.oas file.
    • 🔄 Changes are applied instantly, no server restart needed!

📌 Important Points:

  • 💻 Server-Side ONLY: This mod is server-side only. It must be installed on the server and not on players' games.
  • ⚙️ File-Based Configuration: The list of blocked mobs is directly editable in the mobs.oas file, without complex commands.
  • 📍 Configuration File: The mobs.oas file is located in the config/oas_work/ folder of your server.
  • 📝 Minecraft Identifiers: Use the full Minecraft identifiers of mobs (e.g., minecraft:zombie, minecraft:pig). You can find identifiers on sites like the Minecraft Wiki.
  • 🤝 Broad Compatibility: This mod is compatible with most other Minecraft mods, ensuring easy integration into your existing server setup.
  • ⚡ Immediate Effect: Modifications to the mobs.oas file are applied instantly, without requiring a server restart.

📢 We're Recruiting French Speakers! Want to contribute to more awesome Minecraft mods and projects? We are looking for people who can speak French to join our team. For more information, please reach out via email: persodreykaoas@gmail.com

Modrinth is open source.

fix-window-open@1656e14

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.