-
Notifications
You must be signed in to change notification settings - Fork 0
Attributes
This page is for how to add attributes to items using the attributes command. If using the Pro version, an easier setup using the Item Creator GUI Can be found here
This picks up from the Creating a New Item tutorial, which covers how to create a new item with a template from ItemAttributes.
These are the attributes that come preinstalled with ItemAttributes. If using the Pro version, these can be modified and new ones can be created. See the Creating Custom Attributes page for more info.
| Display Name | Key (for use in command) | Description |
|---|---|---|
| Health | max_health | Adds health to the player. |
| Damage | attack_damage | Adds damage to the player. |
| Critical Damage | critical_damage | Adds critical damage to the player. |
| Critical Chance | critical_chance | Adds chance that critical damage will be done. |
| Regen | regen | Adds health regen to the player. |
| Speed | movement_speed | Adds speed to the player. |
| Jump | jump_strength | Adds jump boost to the player. |
| Armor | armor | Adds additional armor to the player. |
| Defense | defense | Adds protection to the player. |
| Mana Capacity | mana_capacity (Requires MagicSpells) | Adds mana to the player. |
| Mana Regen | mana_regen (Requires MagicSpells) | Increases the mana regeneration of the player. |
Attributes can be added by using the /attributes bind <attribute> <value> command. Picking up from the earlier example, running /attributes bind damage 5 while holding our diamond sword will bind the damage attribute to the sword, leading to it dealing +5 more damage.

If you accidentally add an attribute or wish to remove one, you can simply remove it by running the /attributes unbind <attribute> command while holding the item.