Attribute Modifier

Attribute Modifier

Modify any attribute from any item. Weapon damage, speed, armor, etc.

81 downloads
0 followers

Attribute Modifier

Complete control over any item's attributes vanilla or modded inside the configuration.

Features

  • Modify any attribute from any item.
  • Add entries in the configuration file.
  • You may modify these attributes:
    • Max Health
    • Follow Range
    • Knockback Resistance
    • Movement Speed
    • Flying Speed (fixed this one for you)
    • Attack Damage
    • Attack Speed
    • Armor
    • Armor Toughness
    • Luck
    • And more (see wiki).

Dependencies

Expanded Events on CurseForge: https://www.curseforge.com/minecraft/mc-mods/expanded-events

Mixin Booter is also required.

Configuration

The file is named attributeModifiers, its a JSON file.

Read more on the wiki: https://github.com/Levviata/attribute-modifier/wiki/Configuration

Examples:

{
  "minecraft:diamond_hoe": {
    "maxHealth": 10.0,
    "followRange": 60.0,
    "knockbackResistance": 2.0,
    "movementSpeed": 0.7,
    "flyingSpeed": 0.15,
    "attackDamage": 10.0,
    "attackSpeed": 2.0,
    "armor": 2.0,
    "armorToughness": 1.0,
    "luck": 5.0
  },
  "minecraft:diamond_chestplate": {
    "armor": 100.0,
    "armorToughness": 10.0
  },
  "minecraft:diamond_pickaxe": {
    "movementSpeed": 1.1,
    "attackDamage": -1.0,
    "attackSpeed": -1.0
  },
  "minecraft:diamond_sword": {
    "maxHealth": 10.0,
    "attackDamage": -1.0,
    "armor": 5.0,
    "luck": 5.0
  }
}

What is an attribute?

Attributes control certain numeric properties of players, mobs, and armor stands. Every entity has a base value for each of its attributes, and modifiers that determine the final value (source: wiki).

Copyright

Plus icon by Icons8

Tags

Weapon damage, weapon speed, player movement speed, attack damage, attack speed, weapon attributes