public enum AnvilProperty extends Enum<AnvilProperty>
| Enum Constant and Description |
|---|
MAXIMUM_COST
The maximum cost of renaming or repairing in the anvil.
|
| Modifier and Type | Method and Description |
|---|---|
static AnvilProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnvilProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnvilProperty MAXIMUM_COST
public static AnvilProperty[] values()
for (AnvilProperty c : AnvilProperty.values()) System.out.println(c);
public static AnvilProperty valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020. All rights reserved.