public enum RefAttribute extends java.lang.Enum<RefAttribute>
| Modifier and Type | Field and Description |
|---|---|
static @Nullable java.lang.Class<? extends java.lang.Enum> |
ATTRIBUTE_ENUM
1.9+ org.bukkit.attribute.Attribute
|
| Modifier and Type | Method and Description |
|---|---|
static RefAttribute |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RefAttribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Nullable public static final @Nullable java.lang.Class<? extends java.lang.Enum> ATTRIBUTE_ENUM
public static RefAttribute[] values()
for (RefAttribute c : RefAttribute.values()) System.out.println(c);
public static RefAttribute valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null