Package | Description |
---|---|
org.bukkit.attribute |
Classes relevant to attributes.
|
Modifier and Type | Method | 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 | 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 © 2020. All rights reserved.