HomeJavaModsVillagerNoAI
VillagerNoAI
VillagerNoAI — screenshot 1

When villagers have no player in 32 block range, they will get a vanilla NoAI:1 flag which completely turns off ALL behavior, even gravity! Very lightweight and impactful optimization. Use this plugin if you are ready to sacrifice villager gameplay for server performance. REQUIRES PAPER 1.21.4+

Config:

# Maximum distance in blocks for AI to remain active
max-distance: 32.0

# Refresh frequency in ticks (1 second = 20 ticks)
check-interval: 180

# Minimum MSPT to start disabling AI
min-mspt: 30.0

Note: If you decide to stop using this plugin, NoAI:1 flag may remain in some villagers and you will have to reset it

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more