Mob Limiter

Quick rating

Mob Limiter

No reviews yet

Set per-chunk and world limits to manage mob spawning and prevent overcrowded farms.

Performance & Optimization
Mod Loaders
Forge
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
1.1.0
Authors

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

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

This mod lets you control mob spawning by setting per-chunk and world limits, helping to prevent overcrowded farms or excessive mob spawns.

Features

  • Chunk Limits: Restrict mob counts per chunk to avoid overcrowding.
  • World Limits: Set global caps for total mob populations.
  • Targeted Limits: Apply restrictions to specific mobs, categories, or namespaces.
  • Modded Mobs: Supports mobs registered in Forge.
  • Excess Handling: Remove excess mobs via silent despawn or kill with loot and experience.
  • Despawn Control: Choose vanilla rules, custom despawn ranges, or persistent mobs.
  • Commands:
    • /moblimiter reload: Refresh config without server restart.
    • /moblimiter info: Display active settings.
    • Priority System: Limits prioritize specific mobs, then categories, namespaces, and defaults.
    • Optimized: Asynchronous processing ensures smooth server performance.

Configuration

Customize limits and despawn behavior in config/moblimiter.json5. Example:

{
  // Vanilla despawn settings
  // mode: "vanilla" (default rules), "custom" (set min/max distance), "disabled" (persistent mobs)
  "vanilla_despawn": {
    "mode": "custom",
    "min_distance": 32.0, // Min distance (blocks) to despawn (for "custom" mode)
    "max_distance": 128.0 // Max distance (blocks) to despawn (for "custom" mode)
  },
  
  // World-wide mob limits
  // enabled: true/false to toggle world limits
  // total: Max mobs in the world (-1 for unlimited)
  // removal_type: "despawn" (silent) or "kill" (drops loot)
  "world_limits": {
    "enabled": true,
    "total": 500, // Total mobs allowed in the world
    "removal_type": "despawn",
    "mobs": {
      "minecraft:cow": 100, // Max 100 cows in the world
      "minecraft:pig": 100, // Max 100 pigs in the world
      "minecraft:zombie": 50 // Max 50 zombies in the world
    }
  },
  
  // Per-chunk mob limits
  // enabled: true/false to toggle chunk limits
  // default.limit: Default mob cap per chunk (-1 for unlimited)
  // removal_type: "despawn" (silent) or "kill" (drops loot)
  "chunk_limits": {
    "enabled": true,
    "removal_type": "despawn",
    "default": { "limit": 20 }, // Default limit for unspecified mobs
    "mobs": {
      "minecraft:cow": 10, // Max 10 cows per chunk
      "minecraft:pig": 10, // Max 10 pigs per chunk
      "minecraft:chicken": 10, // Max 10 chickens per chunk
      "minecraft:creatures": 15, // Max 15 creatures (animals) per chunk
      "minecraft:*": 8 // Max 8 of any other Minecraft mob per chunk
    }
  }
}

Usage

Follow these steps to set up and use Mob Limiter:

  1. Install the Mod:
    Add Mob Limiter to your server (client installation is optional). The mod is server-side and works without requiring clients to install it.

  2. Configure Limits:
    After launching the server, find config/moblimiter.json5 in the server directory. Edit the file to set your desired limits and despawn behavior (see the example above). Save the file after making changes.

  3. Apply Changes:
    Run /moblimiter reload in-game or via the server console to apply changes without restarting.

  4. Check Settings:
    Use /moblimiter info to view the current configuration, including despawn mode, world limits, and chunk limits.

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

~19,000
Downloads
Last Updated
CurseForge
Created
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