public enum ResourceType extends java.lang.Enum<ResourceType> implements IResourceType, net.minecraft.util.IStringSerializable
| Enum Constant and Description |
|---|
CASING |
CHUNK |
CLUMP |
CRUSHED |
DENSE_PLATE |
DENSE_ROD |
DUST |
FLAKES |
GEAR |
GEM |
GEM_BLOCK |
GRINDINGS |
INGOT |
METAL_BLOCK |
NETHER_ORE |
NUGGET |
ORE |
PEBBLES |
PLATE |
PURIFIED |
REINFORCED_PLATE |
ROD |
SMALL_DUST |
STONE |
| Modifier and Type | Method and Description |
|---|---|
IFactory<net.minecraftforge.registries.ForgeRegistryEntry> |
getInstanceFactory(ResourceMaterial material,
ResourceTypeProperties properties) |
java.lang.String |
getString() |
java.lang.String |
getTag() |
static ResourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResourceType[] |
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, valueOfgetTextComponentpublic static final ResourceType INGOT
public static final ResourceType DUST
public static final ResourceType NUGGET
public static final ResourceType CHUNK
public static final ResourceType CLUMP
public static final ResourceType CRUSHED
public static final ResourceType PURIFIED
public static final ResourceType STONE
public static final ResourceType PEBBLES
public static final ResourceType FLAKES
public static final ResourceType GRINDINGS
public static final ResourceType GEM
public static final ResourceType SMALL_DUST
public static final ResourceType PLATE
public static final ResourceType DENSE_PLATE
public static final ResourceType CASING
public static final ResourceType REINFORCED_PLATE
public static final ResourceType ROD
public static final ResourceType DENSE_ROD
public static final ResourceType GEAR
public static final ResourceType METAL_BLOCK
public static final ResourceType ORE
public static final ResourceType NETHER_ORE
public static final ResourceType GEM_BLOCK
public static ResourceType[] values()
for (ResourceType c : ResourceType.values()) System.out.println(c);
public static ResourceType 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 getTag()
getTag in interface IResourceTypepublic IFactory<net.minecraftforge.registries.ForgeRegistryEntry> getInstanceFactory(ResourceMaterial material, @Nullable ResourceTypeProperties properties)
getInstanceFactory in interface IResourceTypepublic java.lang.String getString()
getString in interface net.minecraft.util.IStringSerializable