-
Notifications
You must be signed in to change notification settings - Fork 3
equip_armor_stand_processor
Equips armor stands as a structure is placed, rolling one armor set per stand from a weighted list. Use it when you want varied guards or dressed stands across placements without saving a separate NBT for each loadout.
Built on MSL's entity processor framework, which is ported and adapted from YUNG's API.
Fabric only at the moment. On NeoForge this processor silently does nothing and armor stands generate unequipped. The datapack side is fine, so a structure authored for it will work once that is fixed. See entity processor framework for detail.
A set with only two slots filled, and a trim on the chestplate:
{
"processor_type": "moogs_structures:equip_armor_stand_processor",
"armor_sets": [
{
"weight": 5,
"armor": {
"chest": {
"id": "minecraft:iron_chestplate",
"components": {
"minecraft:trim": { "material": "minecraft:copper", "pattern": "minecraft:rib" }
}
},
"feet": { "id": "minecraft:iron_boots" }
}
}
]
}| Field | Type | Required | Notes |
|---|---|---|---|
armor_sets |
array | yes | The pool of sets. An empty array is a no-op. |
armor_sets[].weight |
int | yes | 1 or higher. Relative to the sum, not a percentage. |
armor_sets[].armor |
object | yes | The set itself. weight sits beside it, not inside it. |
| Field | Type | Required | Notes |
|---|---|---|---|
head / chest / legs / feet
|
item | no | Any subset. Omitted slots are left empty. |
Each slot is vanilla item NBT: id, optional count, and optional components for enchantments, trims, custom names and so on. Every armor stand in every piece using the processor list gets processed, and each rolls independently.
Enchantments can be written either way. The pre-1.21.5 wrapped form ("minecraft:enchantments": {"levels": {...}}) and the 1.21.5+ flat form are both accepted, so one datapack works across the version boundary.
-
Equipment is replaced, not merged. If you saved a helmet onto the stand in the build world and your set only sets
chest, the helmet is gone. Put everything you want on the stand into the set. -
An empty
armorobject strips the stand."armor": {}writes empty equipment rather than leaving the stand alone. Use it deliberately or not at all. - Typos in the item fail silently on newer versions. On MC 26.1 and later the item is not validated when the datapack loads, so a misspelled item id or component shows up in game as a bare stand with nothing in the log. On 1.21.5 and earlier the same mistake fails loudly at load. Check stands in game after editing.
- Misspelled slot names are ignored the same way. Only
head,chest,legsandfeetexist, and there is no offhand or mainhand slot.
- Structure Processors overview.
-
spawner_randomizing_processor, whosenbtfield can pre-equip spawned mobs.
Getting started
Core concepts
- pillar
- spawner_randomizing
- trial_spawner_randomizing
- vault_randomizing
- equip_armor_stand
- close_off_fluid_sources
- flood_with_water
- remove_floating_blocks
- random_replace_with_properties
- super_gravity
Advanced
- versioned_single_pool_element
- Nether jigsaw structures
- Enhanced terrain adaptation
- Entity processor framework
- Debug commands
- Advanced Topics
Examples