Package | Description |
---|---|
com.comphenix.protocol.wrappers |
Modifier and Type | Method and Description |
---|---|
WrappedAttributeModifier |
WrappedAttributeModifier.Builder.build()
Construct a new attribute modifier and its wrapper using the supplied values in this builder.
|
static WrappedAttributeModifier |
WrappedAttributeModifier.fromHandle(java.lang.Object handle)
Construct an attribute modifier wrapper around a given NMS instance.
|
WrappedAttributeModifier |
WrappedAttribute.getModifierByUUID(java.util.UUID id)
Retrieve an attribute modifier by UUID.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<WrappedAttributeModifier> |
WrappedAttribute.getModifiers()
Retrieve an immutable set of all the attribute modifiers that will compute the final value of this attribute.
|
Modifier and Type | Method and Description |
---|---|
static WrappedAttributeModifier.Builder |
WrappedAttributeModifier.newBuilder(WrappedAttributeModifier template)
Construct a new wrapped attribute modifier builder initialized to the values from a template.
|
Modifier and Type | Method and Description |
---|---|
WrappedAttribute.Builder |
WrappedAttribute.Builder.modifiers(java.util.Collection<WrappedAttributeModifier> modifiers)
Set the modifers that will be supplied to the client, and used to compute the final value.
|
WrappedAttribute |
WrappedAttribute.withModifiers(java.util.Collection<WrappedAttributeModifier> modifiers)
Construct an attribute with the same key and name, but a different list of modifiers.
|