Back to mods
Villager Brain Configuration Revived project artwork

CurseForge · Minecraft mod

Villager Brain Configuration Revived

A highly optimized server-sided mod that allows full configuration of villager pathfinding malus (updated to 26.2)

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Villager Brain Configuration Revived release should I use?

Updated 2 months ago
Latest stable file villager_brain_config-fabric-1.0.1-26.2.jar
Game version 26.2
Loader Fabric

Villager Brain Configuration Revived villager_brain_config-fabric-1.0.1-26.2.jar targets 26.2 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Villager Brain Configuration Revived required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Villager Brain Configuration Revived villager_brain_config-fabric-1.0.1-26.2.jar need?

villager_brain_config-fabric-1.0.1-26.2.jar. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Villager Brain Configuration Revived without breaking your instance.

Built for Villager Brain Configuration Revived villager_brain_config-fabric-1.0.1-26.2.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use villager_brain_config-fabric-1.0.1-26.2.jar. It targets 26.2 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside villager_brain_config-fabric-1.0.1-26.2.jar. It opens that exact file at the source.

About this project

What does Villager Brain Configuration Revived add?

Villager Brain Config Revived

A lightweight, highly optimized mod that makes villager pathfinding behaviour fully configurable

Ported from joshieman's original Villager Brain Configuration mod, updated to 26.2

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

Smart villager takes the short path to get to his job site


Stupid villager walks off the screen 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

Vanilla: VillagerEntity.tick(): 7.42

Modded Logic

Modded: VillagerEntity.tick(): 5.68

Mod total

villager-bran-config: 1.75ms

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 Revived by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

2 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Villager Brain Configuration Revived versions and loaders

2 of 2 releases match

Looking for an older file? The official CurseForge project page is in Resources.