Requires the library mod Collective.
This mod is part of The Vanilla Experience.
Villager Death Messages is a minimalistic mod that broadcasts an informational death message whenever a villager passes away. The message displays the villager's name if custom, profession, cause of death and last location. The mod also mentions modded villagers.
showLocation (default = true): If enabled, shows the location of the villager in the death message.
mentionModdedVillagers (default = true): If enabled, also shows death messages of modded villagers. If you've found a 'villager'-entity that isn't named let me know by opening an issue so I can add it in.