Now villager guards will appear in the villages, there are two types, archers and swordsmen, they can pick up weapons, armors and totems!
You can turn an fletcher villager into an archer by dropping a bow at him and turn a weaponsmith villager into a swordman by dropping a iron sword at him.
Version: 1.21.4
Settings:
- Toggle Villager Guards naturally spawn
- Toggle Convert Villagers into Villager Guards
- Toggle Villager Guards Can Pick Loot
- Toggle Villager Guards Can Pick Totems
/function villager_guards:settings
Prevent villager convert into a Villager Guard using villager_guards.target.bypass
tag:
/summon villager ~ ~ ~ {Tags:["villager_guards.target.bypass"]}
or
/tag <villager> add villager_guards.target.bypass
Disable:
/datapack disable "file/villager-guards.zip"
Enable:
/datapack enable "file/villager-guards.zip"
MIT