SimpleMobSwitch
SimpleMobSwitch is a Fabric mod for Minecraft 1.20.5+ that dynamically controls mob spawning across your server. It automatically adjusts dummy mobs (shulkers) based on player count, utilizing the mob cap mechanism to control natural mob spawning server-wide.
🎯 Key Features
- Dynamic Control: Automatically adjusts mob spawn rates based on current player count
- Simple Commands: Easy on/off toggle with
/mobswitch on/off
commands - High Performance: Minimal performance impact through AI disabling and optimization
- Reliable Design: Uses spawn chunks for consistent, lag-free operation
- Persistent State: Automatically restores settings after server restarts
🔧 Technical Specifications
- Target Dimension: Overworld only
- Placement Method: 3 chunks away from spawn chunks (load level 33 in 1.20.5+)
- Entity Type: Invisible, invulnerable shulkers with disabled AI
- Calculation: Player count × 70 = Required dummy mobs
💡 How It Works
The mod leverages Minecraft's mob cap system by spawning persistent dummy mobs that count toward the global mob limit. When the cap is reached, natural hostile mob spawning is prevented, creating an effective "mob switch" that scales automatically with your server population.
🎮 Usage
- Install the mod on your Fabric server
- Use
/mobswitch on
to enable mob spawn control - Use
/mobswitch off
to disable and return to normal spawning - The mod automatically adjusts based on player count
⚠️ Requirements
- Minecraft Version: 1.20.5 or higher
- Mod Loader: Fabric Loader
- Permissions: OP level 2 or higher required for commands
- Server Type: Works best on servers where spawn chunks are accessible
Perfect for servers that need reliable mob spawn control without complex redstone contraptions or portal-based chunk loaders.
📚 Additional Resources
External resources
Project members

IzmYuta
Member
Technical information
License
MIT
Client side
unsupported
Server side
required
Project ID