Modifier and Type | Method and Description |
---|---|
static Attribute |
Attribute.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Attribute[] |
Attribute.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
AttributeModifier(Attribute attribute,
java.lang.String name,
Slot slot,
int operation,
double amount,
java.util.UUID uuid)
Constructor:
Generate a new attribute modifier, that can be applied on items.
|