promotional bannermobile promotional banner

Villager AI Enhancement

Improves villager navigation, task recovery, threat response and reliability while preserving vanilla AI.
Back to Files

VillagerAIMod.jar

File nameVillagerAIMod-mc1.21.4.jar
Uploader
KnaifuKnaifu
Uploaded
Jul 23, 2026
Downloads
18
Size
200.4 KB
Mod Loaders
Fabric
File ID
8492977
Type
R
Release
Supported game versions
  • 1.21.4

Curse Maven Snippet

Fabric

modImplementation "curse.maven:villager-ai-enhancement-1587733:8492977"

Learn more about Curse Maven

What's new

Villager AI Mod 1.0.1

This release improves villager navigation, recovery, safety, and performance while preserving vanilla schedules and behavior.

Improvements

  • Improved navigation around walls, stairs, doors, bridges, underground targets, and uneven terrain.
  • Added smarter access-point selection for beds, workstations and bells.
  • Improved recovery from blocked paths, wrong-floor approaches and inaccessible workstation sides.
  • Added route freshness so villagers can adopt newly opened or shorter paths.
  • Improved HOME, JOB_SITE, and MEETING_POINT memory reliability.
  • Added safer bed ownership, nighttime sleep repair and conservative village relocation.
  • Improved panic behavior around hostiles, raids, thunder, shelters and iron golems.
  • Added temporary movement compatibility for the optional Villager Identity mod.

Performance

  • Added shared pathfinding and optional-work budgets.
  • Reduced repeated path calculations through caching.
  • Added incremental anchor scanning, UUID staggerinh and scan cooldowns.
  • Reduced unnecessary recovery work during harmless crowding.
  • Disabled diagnostic logging by default to reduce server-thread pressure.

Fixes

  • Fixed villagers treating the same X/Z position on the wrong floor as reaching a target.
  • Fixed recovery ending before the villager reached the selected access point.
  • Fixed ordinary vanilla navigation stops being counted as route failures.
  • Fixed temporary wandering and social movement being stored as permanent objectives.
  • Fixed some distant or obsolete village anchors repeatedly pulling villagers away.
  • Fixed single blocked approaches unnecessarily damaging an entire bed or workstation target.

Compatibility

  • Built for Minecraft 1.21.4, Fabric Loader 0.18.4+, Fabric API and Java 21.
  • Villager Identity integration is optional; Villager AI works independently.
  • Mods that completely replace villager brain or navigation behavior may require additional compatibility testing.

This mod has no additional files