Package | Description |
---|---|
org.bukkit.attribute |
Classes relevant to attributes.
|
Modifier and Type | Method | Description |
---|---|---|
AttributeModifier.Operation |
AttributeModifier.getOperation() |
Get the operation this modifier will apply.
|
static AttributeModifier.Operation |
AttributeModifier.Operation.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static AttributeModifier.Operation[] |
AttributeModifier.Operation.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor | Description |
---|---|
AttributeModifier(String name,
double amount,
AttributeModifier.Operation operation) |
|
AttributeModifier(UUID uuid,
String name,
double amount,
AttributeModifier.Operation operation) |
|
AttributeModifier(UUID uuid,
String name,
double amount,
AttributeModifier.Operation operation,
EquipmentSlot slot) |
Copyright © 2020. All rights reserved.