
Functional Armor Trim
This mod transforms decorative armor trims into functional upgrades that provide unique bonuses depending on the trim material. The pattern design doesn't matter - only the material base is important.
Current Trim Effects
Lapis: Increases experience gained from killing mobs and mining blocks by 10%. Uses the functionalarmortrim:experience_boost
attribute.
Copper Ingot: Increases swimming speed by 10%. Works through the forge:swim_speed
attribute (requires Forge).
Iron Ingot: Adds 2 armor points to protection.
Redstone: Increases walking speed by 10% and step height by 1 block. Full set is equivalent to Speed II potion. Uses the forge:step_height_addition
attribute.
Gold Ingot: Makes piglins neutral towards the player.
Diamond: Adds 2 armor points and 2 armor toughness points.
Emerald: Increases reputation with villagers by 10% per armor piece. Doesn't work with negative reputation. Uses the functionalarmortrim:gossip_boost
attribute.
Amethyst: Adds 25% night vision. Full set provides complete night vision effect. Uses the functionalarmortrim:night_vision
attribute.
Nether Quartz: Deals 1 point of thorns damage on direct melee contact. Doesn't damage armor. Uses the functionalarmortrim:thorns
attribute.
Netherite Ingot: Makes items fireproof, reduces fire damage by 25%, increases armor protection and toughness by 2 points. Full set is equivalent to Fire Resistance potion. Uses the functionalarmortrim:fire_resistance
attribute.
Mod Configuration
The mod includes a flexible configuration system that allows adjusting, adding, removing effects, or creating new ones for different trim materials. Configuration file is located at config/functionalarmortrim.json
.
Default configuration is generated automatically on first launch. Changes can be applied with the /reload
command without server restart.
{
"minecraft:iron_ingot": [
{
"attribute": "minecraft:generic.armor",
"operation": "addition",
"amount": 8.0
}
],
"minecraft:diamond": [
{
"attribute": "minecraft:generic.armor",
"operation": "addition",
"amount": 2.0
},
{
"attribute": "minecraft:generic.armor_toughness",
"operation": "addition",
"amount": 2.0
}
],
"minecraft:netherite_ingot": [
{
"attribute": "minecraft:generic.armor",
"operation": "addition",
"amount": 2.0
},
{
"attribute": "minecraft:generic.armor_toughness",
"operation": "addition",
"amount": 2.0
},
{
"attribute": "functionalarmortrim:fire_resistance",
"operation": "addition",
"amount": 0.25
}
],
"minecraft:redstone": [
{
"attribute": "minecraft:generic.movement_speed",
"operation": "multiply_total",
"amount": 0.1
},
{
"attribute": "forge:step_height_addition",
"operation": "addition",
"amount": 1.0
}
],
"minecraft:copper_ingot": [
{
"attribute": "forge:swim_speed",
"operation": "multiply_total",
"amount": 0.1
}
],
"minecraft:amethyst_shard": [
{
"attribute": "functionalarmortrim:night_vision",
"operation": "addition",
"amount": 0.25
}
],
"minecraft:lapis_lazuli": [
{
"attribute": "functionalarmortrim:experience_boost",
"operation": "multiply_total",
"amount": 0.1
}
],
"minecraft:quartz": [
{
"attribute": "functionalarmortrim:thorns",
"operation": "addition",
"amount": 1.0
}
],
"minecraft:emerald": [
{
"attribute": "functionalarmortrim:gossip_boost",
"operation": "multiply_total",
"amount": 0.1
}
]
}