add
fun add(attribute: RegistryEntry<EntityAttribute>, modifier: EntityAttributeModifier, slot: AttributeModifierSlot): StaffAttributeModifiersComponentBuilder(source)
Adds an attribute modifier of the given entity attribute for the given slot.
Parameters
attribute
The entity attribute to add
modifier
The attribute's modifier
slot
The slot to modify