header

Description

This mod gives unique buffs depending on material used to make armor trims, trim design doesn't matter

 

 Current effects

  • Lapis: Increases XP from killing mobs or mining blocks by 10%.  Uses `functionalarmortrim:experience_boost` attribute.
  • Copper Ingot: Adds 10% swimming speed.  Uses forge:swim_speed` attribute (Forge).
  • Iron Ingot: Adds 2 armor points.
  • Redstone: Adds 10% walking speed and increases step height by 1, full set is equivalent to Speed 2 potion.  Uses forge:step_height_addition` attribute (Forge).
  • Gold Ingot: Makes piglins neutral.
  • Diamond: Adds 2 armor points and 2 armor toughness.
  • Emerald: Boosts villager reputation by 10% per piece, has no effect if reputation is negative.  Uses `functionalarmortrim:gossip_boost` attribute.
  • Amethyst: Adds 25% night vision, full set is equivalent to night vision effect.  Uses `functionalarmortrim:night_vision` attribute.
  • Nether Quartz: Adds one point of thorn damage, requires direct melee contact, but does not damage armor.  Uses `functionalarmortrim:thorns` attribute.
  • Netherite Ingot: Makes item fire proof, reduces fire damage by 25%, and boosts armor and armor toughness by 2 points, full set is equivalent to fire resistance potion.  Uses `functionalarmortrim:fire_resistance` attribute.

 

In addition this mod has a config so effects can be adjusted, added, removed, or even add new effects for different trim materials.  Located at config/functionalarmortrim.json.

Default config will be generated on startup if it doesn't exist and can be reloaded by the /reload command without restarting the server

 

{
    "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
        }
    ]
}

 


 

 

Want to commission a custom mod? Just want to chat? Have a complex issue needing additional discussion? Join the Discord:

 

 

Support the creation of this and other mods