public enum BlockTypeEngine extends java.lang.Enum<BlockTypeEngine> implements IBlockTypeTesr
| Enum Constant and Description |
|---|
BIOGAS |
CLOCKWORK |
ELECTRICAL |
GENERATOR |
PEAT |
| Modifier and Type | Field and Description |
|---|---|
static BlockTypeEngine[] |
VALUES |
| Modifier and Type | Method and Description |
|---|---|
protected static IMachinePropertiesTesr<?> |
createEngineProperties(java.lang.Class<? extends TileEngine> teClass,
java.lang.String name,
java.lang.String textureName) |
protected static IMachinePropertiesTesr<?> |
createMachineProperties(java.lang.Class<? extends TileBase> teClass,
java.lang.String name,
java.lang.String textureName) |
IMachinePropertiesTesr<?> |
getMachineProperties() |
java.lang.String |
getName() |
static BlockTypeEngine |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockTypeEngine[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockTypeEngine PEAT
public static final BlockTypeEngine BIOGAS
public static final BlockTypeEngine CLOCKWORK
public static final BlockTypeEngine ELECTRICAL
public static final BlockTypeEngine GENERATOR
public static final BlockTypeEngine[] VALUES
public static BlockTypeEngine[] values()
for (BlockTypeEngine c : BlockTypeEngine.values()) System.out.println(c);
public static BlockTypeEngine 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 nullprotected static IMachinePropertiesTesr<?> createEngineProperties(java.lang.Class<? extends TileEngine> teClass, java.lang.String name, java.lang.String textureName)
protected static IMachinePropertiesTesr<?> createMachineProperties(java.lang.Class<? extends TileBase> teClass, java.lang.String name, java.lang.String textureName)
public IMachinePropertiesTesr<?> getMachineProperties()
getMachineProperties in interface IBlockTypegetMachineProperties in interface IBlockTypeTesrpublic java.lang.String getName()
getName in interface net.minecraft.util.IStringSerializable