Enum Constant and Description |
---|
ADAMANTITE |
CLAY |
COAL |
COPPER |
EMPTY |
GOLD |
IRON |
MITHRIL |
RUNITE |
SILVER |
TIN |
Modifier and Type | Method and Description |
---|---|
static java.util.Set<InteractableId> |
createSet(int... ids) |
java.util.Set<InteractableId> |
getIds() |
java.lang.String |
toString() |
static Rock |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Rock[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rock EMPTY
public static final Rock COPPER
public static final Rock TIN
public static final Rock IRON
public static final Rock SILVER
public static final Rock COAL
public static final Rock GOLD
public static final Rock MITHRIL
public static final Rock ADAMANTITE
public static final Rock RUNITE
public static final Rock CLAY
public static Rock[] values()
for (Rock c : Rock.values()) System.out.println(c);
public static Rock 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 nullpublic java.util.Set<InteractableId> getIds()
public java.lang.String toString()
toString
in class java.lang.Enum<Rock>
public static java.util.Set<InteractableId> createSet(int... ids)