Limit Far Spawn: Optimal Mob Control for Minecraft Servers
This modification provides precise control over entity spawning in your Minecraft world. You can define a chunk radius around players where creature generation occurs. The default setting restricts spawns to within 8 chunks.
Configuration Settings
The mod offers customizable parameters:
# Limit Far Spawn Configuration
# Chunk radius around player where entities spawn (0-32).
# Range: 0 ~ 32
spawnRadiusChunks = 8
# Entity IDs exempt from spawn radius restrictions (e.g., 'minecraft:villager').
ignoredEntities = ["minecraft:villager", "minecraft:pillager", "minecraft:vindicator", "minecraft:evoker", "minecraft:ravager", "minecraft:illusioner", "minecraft:ender_dragon"]
Key Features
The system operates with precision:
- Value 0 disables creature spawns entirely
- Value 1 restricts spawns to adjacent chunks
- Configurable exceptions allow specified entities to spawn naturally
Command Utility
For dynamic adjustments, use the command:
/lfs 8 where the number represents chunk radius
This optimization mod significantly improves server tick performance (TPS) and frame rate stability (FPS) by reducing entity processing overhead.