public static enum AssemblyProgram.EnumMachine extends java.lang.Enum<AssemblyProgram.EnumMachine> implements ITranslatableEnum
| Enum Constant and Description |
|---|
CONTROLLER |
DRILL |
IO_UNIT_EXPORT |
IO_UNIT_IMPORT |
LASER |
PLATFORM |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.block.Block |
getMachineBlock() |
java.lang.String |
getTranslationKey() |
static AssemblyProgram.EnumMachine |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AssemblyProgram.EnumMachine[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssemblyProgram.EnumMachine PLATFORM
public static final AssemblyProgram.EnumMachine DRILL
public static final AssemblyProgram.EnumMachine LASER
public static final AssemblyProgram.EnumMachine IO_UNIT_EXPORT
public static final AssemblyProgram.EnumMachine IO_UNIT_IMPORT
public static final AssemblyProgram.EnumMachine CONTROLLER
public static AssemblyProgram.EnumMachine[] values()
for (AssemblyProgram.EnumMachine c : AssemblyProgram.EnumMachine.values()) System.out.println(c);
public static AssemblyProgram.EnumMachine 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 getTranslationKey()
getTranslationKey in interface ITranslatableEnumpublic net.minecraft.block.Block getMachineBlock()