public static enum GameRegistry.Type extends java.lang.Enum<GameRegistry.Type>
| Modifier and Type | Method and Description |
|---|---|
abstract FMLControlledNamespacedRegistry<?> |
getRegistry() |
static GameRegistry.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GameRegistry.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GameRegistry.Type BLOCK
public static final GameRegistry.Type ITEM
public static GameRegistry.Type[] values()
for (GameRegistry.Type c : GameRegistry.Type.values()) System.out.println(c);
public static GameRegistry.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 abstract FMLControlledNamespacedRegistry<?> getRegistry()