
Villager Brain Configuration
A highly optimized server-sided mod that allows full configuration of villager pathfinding malus
Обновлён 11 августа 2025 г. · опубликован 24 июля 2025 г.
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 supportedProfession-based malus
Configure different path preferences per villager profession.Global block penalty caching
Pathfinding results are cached for maximum efficiency across multiple villagersNative 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
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
}
]
}
Версии
| Версия | Канал | Игра | Загрузчики | Дата | Скачать |
|---|---|---|---|---|---|
| 1.0.1 | Релиз | 1.21.1 | fabric | 11 августа 2025 г. | Скачать (59 КБ) |
| 1.0.1 | Релиз | 1.21.1 | neoforge | 11 августа 2025 г. | Скачать (58 КБ) |
| 1.0.1 | Релиз | 1.21.2, 1.21.3, 1.21.4 | fabric | 11 августа 2025 г. | Скачать (59 КБ) |
| 1.0.1 | Релиз | 1.21.2, 1.21.3, 1.21.4 | neoforge | 11 августа 2025 г. | Скачать (58 КБ) |
| 1.0.1 | Релиз | 1.21.5, 1.21.6, 1.21.7, 1.21.8 | fabric | 11 августа 2025 г. | Скачать (59 КБ) |
| 1.0.1 | Релиз | 1.21.5, 1.21.6, 1.21.7, 1.21.8 | neoforge | 11 августа 2025 г. | Скачать (59 КБ) |
| 1.0 | Релиз | 1.21.4 | neoforge | 4 августа 2025 г. | Скачать (66 КБ) |
| 1.0 | Релиз | 1.21.4 | fabric | 4 августа 2025 г. | Скачать (665 КБ) |
| 1.0 | Релиз | 1.21.1 | fabric | 4 августа 2025 г. | Скачать (651 КБ) |
| 1.0 | Релиз | 1.21.1 | neoforge | 26 июля 2025 г. | Скачать (66 КБ) |
Ченджлог
1.0.1Релиз1.21.1 · 11 августа 2025 г.
1.0.1Релиз1.21.1 · 11 августа 2025 г.
1.0.1Релиз1.21.2, 1.21.3, 1.21.4 · 11 августа 2025 г.
1.0.1Релиз1.21.2, 1.21.3, 1.21.4 · 11 августа 2025 г.
1.0.1Релиз1.21.6, 1.21.7, 1.21.8 · 11 августа 2025 г.
1.0.1Релиз1.21.6, 1.21.7, 1.21.8 · 11 августа 2025 г.
1.0Релиз1.21.1 · 26 июля 2025 г.
Initial Mod Content
Комментарии
Загружаем…