villager pov
i want to make a mod with villagers that listen what u tell em to do like go get taxes then they go get taxes for u and when u get a gun from the mod u can...
00—fabricServer1.21.1mod
What the mod adds
- Adds an Authority Gun you can craft with iron ingots, redstone, and gunpowder. Right-click a villager with it to intimidate them (you’ll see a “>:|” style face and a brief glow).
- Intimidated villagers become bound to you and will follow your orders via
/villagerpovcommands:/villagerpov order follow– stay close to you./villagerpov order taxes– trail you and periodically hand over emerald “taxes.”/villagerpov order mine– search nearby ores (small radius) and break them, dropping loot./villagerpov order hold– stop moving;/villagerpov order listenreturns them to a passive listening state./villagerpov statusshows the current task;/villagerpov releasefrees the villager from your control.
How it works
- Villager orders are tracked server-side per villager with a bound commander. The system reuses normal villager navigation to move toward you or their mining target and refreshes a slow/glow effect periodically while intimidated.
- Mining scans a small cube around the villager for ore-like blocks (experience-dropping blocks and ancient debris). The villager walks to a target ore before breaking it, swinging its hand and playing a break sound.
- Taxes are simple emerald payouts on a cooldown while the villager stays near you; items are inserted into your inventory when possible or dropped at the villager’s feet.
Limitations and notes
- Orders are not persisted across server restarts; villagers forget assignments if the world unloads.
- Mining focuses only on nearby ore blocks; it won’t dig tunnels or strip-mine open areas.
- The intimidation face replaces any existing custom name while the villager is under your control.