CurseForge · Minecraft mod
Villager Brain Configuration
A highly optimized server-sided mod that allows full configuration of villager pathfinding malus
Quick answer
Which Villager Brain Configuration release should I use?
Villager Brain Configuration villager_brain_config-fabric-1.0.1-1.21.5.jar targets 1.21.5, 1.21.8, 1.21.7 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.
Where it goes
Is Villager Brain Configuration required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does Villager Brain Configuration villager_brain_config-fabric-1.0.1-1.21.5.jar need?
villager_brain_config-fabric-1.0.1-1.21.5.jar. Change the file and its required mods may change too.
Install Fabric API first. We found matching files for this game-version and loader setup.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add Villager Brain Configuration without breaking your instance.
Built for Villager Brain Configuration villager_brain_config-fabric-1.0.1-1.21.5.jar. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use villager_brain_config-fabric-1.0.1-1.21.5.jar. It targets 1.21.5, 1.21.8, 1.21.7 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fabric API first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside villager_brain_config-fabric-1.0.1-1.21.5.jar. It opens that exact file at the source.
About this project
What does Villager Brain Configuration add?
Villager Brain Config
A lightweight, highly optimized mod that makes villager pathfinding behavior fully configurable
Features
Per-block malus control
Customize how villagers treat different blocks in pathfinding. Blocks are configurable to any malus, block and item tags supported
Profession-based malus
Configure different path preferences per villager profession.
Global block penalty caching
Pathfinding results are cached for maximum efficiency across multiple villagers
Native modded support
The config file supports any modded blocks or professions
Example Use Cases
- Prevent villagers from walking into trap blocks like campfires or magma
- Make water paths viable for fishermen only
- Design custom village layouts with optimized navigation paths
- Prevent villagers from wandering off paths
- Add personality to each profession type
Pathfinding Visualizations
Smart villager takes the short path to get to his job site
Stupid villager walks off the screen to get to his job site
Planned features
- Per-villager-type rules (eg. plains villagers, taiga villagers)
Performance
Villager Brain Config is designed to be almost invisible in impact or even faster than vanilla
Test case
- 250 villagers
- Each pathing to a unique workstation in a grid
- Compared vanilla to modded using Spark profiler
Results
Vanilla Logic

Modded Logic

Mod total

Configuration
All settings are in a villager-brain-config.json file in the config folder.
{
"walk_on_block_penalties": {
"minecraft:grass_block": 4.0,
"minecraft:dirt_path": 0.0,
"default": 5.0
},
"walk_through_block_penalties": {
"minecraft:lava": -1.0,
"minecraft:tall_grass": 20,
"default": 0.0
},
"actions_penalties": {
"jump": 10.0
},
"professions": {
"minecraft:farmer": {
"walk_on_block_penalties": {
"minecraft:farmland": 0.0,
"minecraft:grass_block": 2.0
}
},
"minecraft:fisherman": {
"walk_on_block_penalties": {
"minecraft:water": 0.0
},
"walk_through_block_penalties": {
"minecraft:water": 0.0
}
}
},
"avoids": [
{
"block": "minecraft:lava",
"radius": 3,
"penalty": -1.0
}
]
}
Project description from CurseForge.
Pick your setup
Villager Brain Configuration by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21.8
2 loader builds1.21.7
2 loader builds1.21.6
2 loader builds1.21.5
2 loader builds1.21.4
2 loader builds1.21.3
2 loader builds1.21.2
2 loader builds1.21.1
2 loader buildsCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Villager Brain Configuration versions and loaders
villager_brain_config-fabric-1.0.1-1.21.5.jar
24 Sept 2025
villager_brain_config-neoforge-1.0.1-1.21.5.jar
24 Sept 2025
villager_brain_config-fabric-1.0.1-1.21.4.jar
24 Sept 2025
villager_brain_config-neoforge-1.0.1-1.21.4.jar
24 Sept 2025
villager_brain_config-neoforge-1.0.1-1.21.1.jar
24 Sept 2025
villager_brain_config-fabric-1.0.1-1.21.1.jar
24 Sept 2025
villager_brain_config-fabric-1.0.0-1.21.4.jar
4 Aug 2025
villager_brain_config-neoforge-1.0.0-1.21.4.jar
4 Aug 2025
villager_brain_config-fabric-1.0.0-1.21.1.jar
4 Aug 2025
villager_brain_config-neoforge-1.0.0-1.21.1.jar
26 Jul 2025
Looking for an older file? The official CurseForge project page is in Resources.