public static enum ScrollBlock.Type extends java.lang.Enum<ScrollBlock.Type> implements ITranslatable
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDefaultResource() |
java.lang.String |
getLocalizedName() |
java.lang.String |
getName() |
java.lang.String |
getTranslationKey() |
static ScrollBlock.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScrollBlock.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetTranslatedNamepublic static final ScrollBlock.Type WATERS
public static final ScrollBlock.Type DARKNESS
public static ScrollBlock.Type[] values()
for (ScrollBlock.Type c : ScrollBlock.Type.values()) System.out.println(c);
public static ScrollBlock.Type 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.lang.String getName()
public java.lang.String getDefaultResource()
public java.lang.String getTranslationKey()
getTranslationKey in interface ITranslatablepublic java.lang.String getLocalizedName()
getLocalizedName in interface ITranslatable