create Attribute Modifier
public static Object createAttributeModifier(Object attributeObject, double amount, EquipmentSlot slot)
Create an attribute modifier with support for legacy versions.
Return
The created attribute modifier
Parameters
attribute Object
The attribute object
amount
The amount to add
slot
The equipment slot