Armory Expansion upgrades standard Guard Villagers directly using a flexible tier system. Every piece of equipment, enchantment level, attribute bonus, name tag color, and spawn weight can be customized or extended using either JSON files in your `config/` folder or datapacks, including full support for items and enchantments from other mods.
You can add new tiers or override existing ones in two ways:
- Config Folder (Easiest): Place JSON files in `config/guardarmory/tiers/<name>.json` (loads as `guardarmory:<name>`) or `config/guardarmory/tiers/<namespace>/<name>.json` (loads as `<namespace>:<name>`). An example file (`_example_custom_tier.json.disabled`) is generated automatically on first launch.
- Datapacks: Place JSON files in `data/<namespace>/guard_armory/tiers/<name>.json`.
Example Tier JSON (`config/guardarmory/tiers/champion.json`)
{
"enabled": true,
"display_name": "Champion Guard",
"name_color": "#FF55FF",
"always_show_name": false,
"spawn_weight": 10,
"biomes": [],
"dimensions": [
"minecraft:overworld"
],
"clear_existing_equipment": true,
"attributes": {
"minecraft:generic.max_health": {
"amount": 16.0,
"operation": "add_value"
},
"minecraft:generic.attack_damage": {
"amount": 2.5,
"operation": "add_value"
}
},
"equipment": {
"head": [
{
"item": "minecraft:netherite_helmet",
"weight": 10,
"chance": 1.0,
"drop_chance": 0.02,
"unbreakable": false,
"enchantments": [
{ "id": "minecraft:protection", "min_level": 4, "max_level": 4, "chance": 1.0 }
]
}
],
"mainhand": [
{
"item": "minecraft:diamond_axe",
"weight": 10,
"chance": 1.0,
"drop_chance": 0.02,
"enchantments": [
{ "id": "minecraft:sharpness", "min_level": 5, "max_level": 5, "chance": 1.0 },
{ "id": "minecraft:unbreaking", "min_level": 3, "max_level": 3, "chance": 1.0 }
]
}
]
}
}
Attribute IDs written as `minecraft:generic.max_health` (1.21.1 format) or `minecraft:max_health` (26.3 format) are automatically translated on both Minecraft 1.21.1 and 26.3, so the exact same tier JSON files work across both versions.
Feel free to leave a comment with any feedback or suggestions.