withAttributeModifier
@Contract(value = "_, _, _ -> new", pure = true)
Creates new item metadata with the given modifier added to the list of modifiers for this item.
Return
new item metadata
Parameters
modifier
the modifier to add