Attribute modifiers on armor override other armor pieces when applied via Smithing Table
So I wanted to make netherite armor more OP for endgame and added attribute modifiers like maxHP, safe fall distance, more armor and so on.
Equipping any piece gives me the correct stats but equipping another piece only gives me stats from that piece but not the combined values.
The recipes for every armor piece look like this:
Continue to help post{ "type": "minecraft:smithing_transform", "base": "minecraft:netherite_chestplate", "addition": [ "minecraft:dragon_egg" ], "template": "minecraft:dragon_breath", "result": { "id": "minecraft:netherite_chestplate", "components": { "minecraft:unbreakable": {}, "minecraft:custom_data": { "holy": true }, "minecraft:attribute_modifiers": [ { "type": "minecraft:armor", "id": "stolz:holy", "amount": 8.5, "operation": "add_value", "slot": "chest" }, { "type": "minecraft:armor_toughness", "id": "stolz:holy", "amount": 3, "operation": "add_value", "slot": "chest" }, { "type": "minecraft:knockback_resistance", "id": "stolz:holy", "amount": 0.1, "operation": "add_value", "slot": "chest" }, { "type": "minecraft:max_health", "id": "stolz:holy", "amount": 5, "operation": "add_value", "slot": "chest" }, { "type": "minecraft:burning_time", "id": "stolz:holy", "amount": -0.2, "operation": "add_multiplied_base", "slot": "chest" }, { "type": "minecraft:fall_damage_multiplier", "id": "stolz:holy", "amount": -0.1, "operation": "add_multiplied_base", "slot": "chest" } ], "minecraft:stored_enchantments": { "stolz:protection_plus": 1 } }, "count": 1 } }