public static enum ModuleRedstone.Operation extends java.lang.Enum<ModuleRedstone.Operation> implements ITranslatableEnum
| Enum Constant and Description |
|---|
AND |
CLOCK |
COMPARATOR |
COMPARE |
CONSTANT |
COUNTER |
OR |
PASSTHROUGH |
SUBTRACT |
TOGGLE |
XOR |
| Modifier and Type | Method and Description |
|---|---|
int |
getConstMax() |
int |
getConstMin() |
java.lang.String |
getTranslationKey() |
boolean |
useConstant() |
boolean |
useOtherColor() |
static ModuleRedstone.Operation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModuleRedstone.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModuleRedstone.Operation PASSTHROUGH
public static final ModuleRedstone.Operation AND
public static final ModuleRedstone.Operation OR
public static final ModuleRedstone.Operation XOR
public static final ModuleRedstone.Operation CLOCK
public static final ModuleRedstone.Operation COMPARATOR
public static final ModuleRedstone.Operation SUBTRACT
public static final ModuleRedstone.Operation COMPARE
public static final ModuleRedstone.Operation TOGGLE
public static final ModuleRedstone.Operation CONSTANT
public static final ModuleRedstone.Operation COUNTER
public static ModuleRedstone.Operation[] values()
for (ModuleRedstone.Operation c : ModuleRedstone.Operation.values()) System.out.println(c);
public static ModuleRedstone.Operation 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 boolean useOtherColor()
public boolean useConstant()
public int getConstMin()
public int getConstMax()