Created
November 13, 2014 20:35
-
-
Save unascribed/736186c20af87b78f986 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public Multimap getAttributeModifiers(ItemStack stack) { | |
Multimap multimap = super.getAttributeModifiers(stack); | |
double damage = /* ... */; | |
multimap.put(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName(), | |
new AttributeModifier(field_111210_e, "<My item> damage modifier", damage, 0)); | |
return multimap; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment