Description
FarmCollisionless is a lightweight optimization mod designed to improve the performance of mob farms and entity-heavy areas.
When too many entities are crowded together, Minecraft spends a large amount of time handling collisions and push mechanics. This mod introduces the concept of collisionless chunks: areas where entities no longer collide with each other or push one another, significantly reducing server lag without breaking core gameplay.
Features
Collisionless Chunks Toggle chunks into a "collisionless" state where mobs don’t collide or push against each other, improving tick performance.
Automatic Farm Detection (configurable) Automatically detects mob farms based on entity counts per chunk and applies collisionless mode when needed.
Flexible Control
- Crouch + place/break the configured "provider block" (default: fences) to mark/unmark collisionless areas.
/collisionless hereto toggle the current chunk./collisionless dumpto list all collisionless chunks in your dimension./collisionless clearto reset them./collisionless reloadto reload config.
Entity Tracking & Filtering
- Option to skip hostile mobs (so only peaceful farms are affected).
- Whitelist support for controlling which entities are included.
- Configurable detection interval and entity thresholds.
Configuration
All options are available in farmcollisionless.json (generated automatically).
CollisionlessProviderBlock type used to manually mark/unmark chunks as collisionless (default:minecraft:fence).AutoDetectFarm(true/false) Whether to automatically detect farms based on entity counts.SkipEnemyMonsterFarm(true/false) If true, hostile mobs are excluded from collisionless detection (only peaceful farms are affected).TheNumberOfEntitiesInAChunkThatValidatesDetection(integer) Threshold of entities per chunk required before a chunk is considered a farm and made collisionless.DetectionIntervalTicks(integer) How often (in ticks) to run automatic detection. Default is20(1 second).RequireOPForCollisionlessChunkActivation(true/false) If true, only OP players can (de)activate collisionless chunks when they shift + place/remove provider.FarmEntitiesRegistryNameWhitelist(list of strings) If non-empty, only entities in this whitelist will be counted and affected. Example:
"FarmEntitiesRegistryNameWhitelist": [
"minecraft:cow",
"minecraft:sheep"
]
Benefits
- Reduces lag in mob farms by removing unnecessary collision calculations.
- Keeps gameplay intact—entities still spawn, move, and interact normally outside collisionless chunks.
- Server-friendly and designed for large-scale survival or technical play.
Perfect for technical players, performance-focused servers, and anyone running entity-heavy farms who want to keep their game smooth without disabling vanilla mechanics.


