
Villager Work
Criar empregos da vida real para os villagers. Empregos como Policial, Médico(Cura outros villagers), Professor...
00—neoforgeServer1.21.1mod
Villager Work
- Server-only mod focused on adding real-life roles to villagers without new registry entries, keeping vanilla client compatibility.
- Roles are assigned with commands and stored in villager persistent data, so they survive restarts or chunk unloads.
- Commands (permission level 2):
/villagerwork set <villager> <policeman|doctor|teacher>,/villagerwork clear <villager>,/villagerwork info <villager>. - Policeman: scans nearby hostiles every few seconds, applies glowing to threats, and redirects nearby iron golems to attack them.
- Doctor: checks nearby villagers for low health and heals them with regeneration and resistance buffs.
- Teacher: rewards nearby players with small XP and a Luck buff while helping baby villagers grow faster.
- No client assets or custom items/blocks are included; the mod runs purely on the dedicated server side.
Known limitations / ideas:
- Roles must be assigned manually via command; there is no automatic job selection yet.
- Effects are intentionally lightweight to avoid balance issues; feel free to adjust tick rates or ranges if you want stronger roles.
Server Validation
✅ Server validation passed - The mod was tested on a real Minecraft server and loaded successfully.