Villager Brain Configuration

Villager Brain Configuration

A highly optimized server-sided mod that allows full configuration of villager pathfinding malus

von
3.8K Downloads
fabricneoforgegame-mechanicsmobsoptimization
Server mit dieser Mod mieten

Über diese Mod

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

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
    }
  ]
}

Verfügbare Versionen

fabric-1.21.1-1.0.1release
MC 1.21.1fabric
11. August 2025
neoforge-1.21.1-1.0.1release
MC 1.21.1neoforge
11. August 2025
fabric-1.21.2->1.21.4-1.0.1release
MC 1.21.2, 1.21.3, 1.21.4fabric
11. August 2025
neoforge-1.21.2->1.21.4-1.0.1release
MC 1.21.2, 1.21.3, 1.21.4neoforge
11. August 2025
fabric-1.21.5->1.21.8-1.0.1release
MC 1.21.5, 1.21.6, 1.21.7, 1.21.8fabric
11. August 2025

Villager Brain Configuration auf dem Server installieren

1

Server bestellen

Bestelle einen Minecraft Java Server mit mindestens 3 GB RAM (4 GB empfohlen).

2

fabric Loader setzen

Wähle im Panel unter "Egg" den fabric-Loader und die passende Minecraft-Version (1.21.8).

3

Mod installieren

Öffne den Mod-Browser im Dashboard und suche nach "Villager Brain Configuration". Klicke "Installieren" – fertig! Alternativ: Lade die .jar via SFTP in den /mods Ordner.

Kompatibilität

Mod-Loader

fabricneoforge

Minecraft-Versionen

1.21.8, 1.21.7, 1.21.6 (+5 weitere)

Server-seitig

Erforderlich

Empfohlener RAM

4 GB(min. 3 GB)

Häufige Fragen

Villager Brain Configuration Server crasht beim Start – was tun?

Häufigste Ursache: falsche fabric-Version oder zu wenig RAM. Prüfe im Server-Log (latest.log), ob ein "OutOfMemoryError" oder "Mixin"-Fehler auftritt. Bei Mado Hosting: Stelle sicher, dass mindestens 3 GB RAM zugewiesen sind und der Loader zur Mod-Version passt (1.21.8). Über das Panel kannst du den Loader mit einem Klick wechseln.

Ist Villager Brain Configuration mit fabric und neoforge kompatibel?

Villager Brain Configuration unterstützt offiziell fabric, neoforge für Minecraft 1.21.8, 1.21.7, 1.21.6. Im Mado Dashboard werden inkompatible Loader-Kombinationen automatisch erkannt.

Server laggt mit Villager Brain Configuration – wie optimiere ich die Performance?

Empfohlener RAM: 4 GB (+1 GB pro 8 Spieler). Prüfe mit /spark profiler, ob Villager Brain Configuration den meisten Tick-Time verbraucht. Häufige Fixes: Server-View-Distance auf 8-10 reduzieren, bei Forge "performant" oder "starlight" als Zusatz-Mod installieren. Bei Mado Hosting läuft dein Server auf NVMe-SSDs mit dedizierten CPU-Kernen für minimale Latenz.

Modded Server mieten

Installiere Villager Brain Configuration mit nur einem Klick auf deinem Server.

Empfohlener RAM
4 GBab €5.2/Monat
Min. 3 GB | +1 GB pro 8 Spieler
Jetzt Server erstellen
1-Klick Mod Installation
NVMe SSD Speicher
DDoS-Schutz inklusive

Details

Lizenz
MIT License
Server-seitig
Erforderlich

Unterstützte Versionen

1.21.81.21.71.21.61.21.51.21.41.21.31.21.21.21.1