Download Attribute Modify — Minecraft Mods — MetaMods
Attribute Modify

Attribute Modify

Active

Downloads

0

Last update

1 month ago

Versions

1.20.1
Client and server
Forge
Game mechanics
Control
Utils

AttributeModify - Flexible Item Attribute Modification

AttributeModify opens up limitless possibilities for customizing item attributes in Minecraft. With it, you gain complete control over attributes of both standard and modded items, including integration with Curios API.

Key Features

  • Works with any items: vanilla and from other mods
  • Full compatibility with Curios API (optional)
  • Smart attribute modification system
  • Singleplayer and multiplayer support
  • Hot-reload datapack functionality
  • Multiple attributes per item
  • No additional dependencies required
  • Clean JSON datapack format

How It Works

AttributeModify allows applying three types of operations to attributes:

  • Addition - adds value to the base attribute
  • Multiply Base - multiplies base attribute by (1 + value)
  • Multiply Total - multiplies final value by (1 + value)

Usage Examples

Standard Equipment Slots

{
  "minecraft:diamond_sword": {
    "equipment_slots": {
      "mainhand": [
        {
          "action": "add",
          "attribute": "minecraft:generic.luck",
          "amount": 1.0,
          "operation": "addition",
          "name": "Diamond Luck"
        }
      ]
    }
  },
  "minecraft:netherite_chestplate": {
    "equipment_slots": {
      "chest": [
        {
          "action": "modify",
          "attribute": "minecraft:generic.armor",
          "amount": 2.0,
          "operation": "addition",
          "name": "Enhanced Armor"
        }
      ]
    }
  }
}

Curios Integration

{
  "dungeons_and_combat:ernos_fang_necklace": {
    "curios_slots": {
      "necklace": [
        {
          "action": "add",
          "attribute": "minecraft:generic.luck",
          "amount": 2.0,
          "operation": "addition",
          "name": "Lucky Necklace"
        }
      ]
    }
  }
}

Setup

Create folder structure: data/your_pack_name/item_attributes/ and add JSON files with your modifications. Use /reload command to apply changes without restarting the game.

Common Attributes

  • minecraft:generic.attack_damage - damage
  • minecraft:generic.armor - armor
  • minecraft:generic.luck - luck
  • minecraft:generic.movement_speed - movement speed
  • minecraft:generic.max_health - maximum health
Project members
Etema

Etema

Developer

Created: 2 Sep 2025

ID: 263361