public enum BlockAdvancedResourceType extends java.lang.Enum<BlockAdvancedResourceType> implements IAdvancedResourceType
| Enum Constant and Description |
|---|
GEM_BLOCK |
METAL_BLOCK |
NETHER_ORE |
ORE |
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonObject |
generate(IResourceType type) |
int |
getColor(ResourceMaterial material,
int tintIndex) |
static BlockAdvancedResourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockAdvancedResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockAdvancedResourceType METAL_BLOCK
public static final BlockAdvancedResourceType ORE
public static final BlockAdvancedResourceType NETHER_ORE
public static final BlockAdvancedResourceType GEM_BLOCK
public static BlockAdvancedResourceType[] values()
for (BlockAdvancedResourceType c : BlockAdvancedResourceType.values()) System.out.println(c);
public static BlockAdvancedResourceType 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 int getColor(ResourceMaterial material, int tintIndex)
getColor in interface IAdvancedResourceTypepublic com.google.gson.JsonObject generate(IResourceType type)
generate in interface IAdvancedResourceType