Villager Data Crash
The server crashes loading a villager. The mob has corrupted data, often a malformed trade or brain/AI memory, removing or repairing that villager clears the crash.
What does this error mean?
Villagers store complex data: trades, profession, and AI 'brain' memories. 'Error loading villager' means that data is invalid, so the server fails while reading or ticking the villager, sometimes crash-looping if it sits in a loaded chunk.
Error loading villager
Most Common Causes
- Corrupted villager NBT after a crash.
- A malformed trade offer (often from a plugin/mod).
- Invalid AI/brain memory data.
- A mod bug affecting villager logic.
- Damage from an unclean shutdown mid-save.
How To Diagnose
- Read the crash report for the villager's coordinates and dimension.
- Map the location to its region/chunk.
- Check for a trade/villager mod or plugin in the stack trace.
- Back up the region before editing.
Recommended Fixes
- Remove the villager
Delete the villager at those coordinates in MCA Selector to clear the bad data. - Restore from backup
Roll the chunk back if the villager/trades matter. - Fix the trade source
Update or remove a plugin/mod that produced the invalid trade. - Regenerate the chunk
As a last resort, delete the chunk so it regenerates without the broken mob.
Frequently Asked Questions
Removing one villager does not destroy the village, only that single mob is lost.
A malformed trade offer, often plugin-made, can produce data the server cannot parse.
The crash report lists the villager's exact block coordinates and dimension.