addAttributeModifier

@Contract(value = "_ -> this", mutates = "this")
abstract fun addAttributeModifier(modifier: ItemAttributeModifier): B

Adds the given modifier modifier to the list of attribute modifiers for the item.

Return

this builder

Parameters

modifier

the attribute modifier to add