Nice Villager Data Command
This custom datapack introduces a convenient /trigger villager_data command that displays key information about the nearest villager in a clear format directly in the chat. When using the command, both the villager and their workplace are highlighted.
Villager statistics displayed
Shows detailed statistics about the selected villager:
- Profession and specialization
- Expertise level
- Experience at current level
- Scheduled offer restocks
- Villager's position in the world
- Workplace location
- Sleeping location
- Gathering and meeting point positions
- Inventory contents data
- Interactions with iron golems
Usage and configuration
Simply enter the command:
/trigger villager_data
The datapack works immediately after installation and requires no additional configuration. However, if you're playing on servers with PaperMC or compatible platforms, ensure that the allow-non-player-entities-on-scoreboards option is enabled in the configuration.