add
public final StaffAttributeModifiersComponentBuilder add(RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier modifier, AttributeModifierSlot slot)(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