| Package | Description |
|---|---|
| com.comphenix.protocol.wrappers |
| Modifier and Type | Method and Description |
|---|---|
static WrappedAttributeModifier.Operation |
WrappedAttributeModifier.Operation.fromId(int id)
Retrieve the associated operation from an ID.
|
WrappedAttributeModifier.Operation |
WrappedAttributeModifier.getOperation()
Retrieve the operation that is used to compute the final attribute value.
|
static WrappedAttributeModifier.Operation |
WrappedAttributeModifier.Operation.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WrappedAttributeModifier.Operation[] |
WrappedAttributeModifier.Operation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
WrappedAttributeModifier.Builder |
WrappedAttributeModifier.Builder.operation(WrappedAttributeModifier.Operation operation)
Set the operation that is used to compute the final attribute value.
|
| Constructor and Description |
|---|
WrappedAttributeModifier(java.lang.Object handle,
java.util.UUID uuid,
java.lang.String name,
double amount,
WrappedAttributeModifier.Operation operation)
Construct an attribute modifier wrapper around a NMS instance.
|
WrappedAttributeModifier(java.util.UUID uuid,
java.lang.String name,
double amount,
WrappedAttributeModifier.Operation operation)
Construct a new wrapped attribute modifier with no associated handle.
|