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.
Config:
/function villager_guards:config
Prevent villager convert into a Villager Guard using villager_guards.natural_spawn.procced
tag:
/tag <villager> add villager_guards.natural_spawn.procced
Prevent Villager Guards attack entity using villager_guards.target.bypass
tag:
/tag <entity> add villager_guards.target.bypass