You can now modify native Minecraft item attributes! To do so, just add the "attributes" key under the "item" key:
Code (YAML):
item:
attributes
:
#Valid options are "maxHealth", "speed", "attackDamage", "armor", "armorToughness", "attackSpeed", "luck", "jumpStrength"
attackSpeed
:
# The decimal amount of this attribute
amount
: 0.5
# What operator should be used. You can also use the native MC operators "0", "1", and "2"
operator
: ADD
# The slots that this should take effect in. Options are "mainHand", "offHand", "feet", "legs", "chest", or "head"
slots
:
-
"mainHand"
-
"offHand"
You can find more info about what each option does at these pages:
attribute modifiers:
http://minecraft.gamepedia.com/Attribute#Modifiers
item attributes:
http://minecraft.gamepedia.com/Player.dat_format#Attribute_Modifiers
More info about this will be available on the wiki soon!