Jump to content

Problem with getting the Attack Modifier


benfah

Recommended Posts

The attack damage modifier is

SharedMonsterAttributes.attackDamage

. You get it out by:

 

ItemStack#getAttributeModifiers().get(SharedMonsterAttributes.attackDamage.getAttributeUnlocalizedName());

. This will give you a

Collection<AttributeModifier>

of all attack damage modifiers.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.