AttributeModifierBuilder

class AttributeModifierBuilder(uuid: UUID? = null, attribute: Attribute? = null, name: String? = null, amount: Number? = null, operation: AttributeModifier.Operation? = null) : CachingBuilder<AttributeModifier>

Constructors

Link copied to clipboard
fun AttributeModifierBuilder(uuid: UUID? = null, attribute: Attribute? = null, name: String? = null, amount: Number? = null, operation: AttributeModifier.Operation? = null)

Functions

Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
fun get(): AttributeModifier

Returns the cached T instance, or creates a new one if it is dirty.

Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
operator fun invoke(player: Player)
Link copied to clipboard
fun remove(player: Player)
Link copied to clipboard
override fun toString(): String

Properties

Link copied to clipboard
Link copied to clipboard
var attribute: Attribute
Link copied to clipboard
Link copied to clipboard
var operation: AttributeModifier.Operation
Link copied to clipboard
var uuid: UUID

Extensions