get Attribute Modifiers
public Multimap<EntityAttribute, EntityAttributeModifier> getAttributeModifiers(ItemStack staffStack, EquipmentSlot slot)(source)
Gets the attribute modifiers (damage, attack speed, etc.) of the staff when held.
Parameters
staff Stack
The staff item stack (not the item in the staff)
slot
The slot the staff is equipped in