Package | Description |
---|---|
org.bukkit.attribute |
Classes relevant to attributes.
|
Modifier and Type | Method and Description |
---|---|
@NotNull 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 and Description |
---|
AttributeModifier(@NotNull String name,
double amount,
@NotNull AttributeModifier.Operation operation) |
AttributeModifier(@NotNull UUID uuid,
@NotNull String name,
double amount,
@NotNull AttributeModifier.Operation operation) |
AttributeModifier(@NotNull UUID uuid,
@NotNull String name,
double amount,
@NotNull AttributeModifier.Operation operation,
@Nullable EquipmentSlot slot) |
Copyright © 2021. All rights reserved.