Companion

object Companion

Functions

Link copied to clipboard

Creates a new item attribute modifier with the given type, slot, and modifier.

@Contract(value = "_, _, _ -> new", pure = true)
fun of(type: AttributeType, slot: EquipmentSlot, uuid: UUID, name: String, amount: Double, operation: BasicModifierOperation): ItemAttributeModifier

Creates a new item attribute modifier with the given type, slot, uuid, name, amount, operation.