public static enum CartAssemblerBlock.CartAssemblerAction extends java.lang.Enum<CartAssemblerBlock.CartAssemblerAction>
| Enum Constant and Description |
|---|
ASSEMBLE |
ASSEMBLE_ACCELERATE |
ASSEMBLE_ACCELERATE_DIRECTIONAL |
DISASSEMBLE |
DISASSEMBLE_BRAKE |
PASS |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldAssemble() |
boolean |
shouldDisassemble() |
static CartAssemblerBlock.CartAssemblerAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CartAssemblerBlock.CartAssemblerAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CartAssemblerBlock.CartAssemblerAction ASSEMBLE
public static final CartAssemblerBlock.CartAssemblerAction DISASSEMBLE
public static final CartAssemblerBlock.CartAssemblerAction ASSEMBLE_ACCELERATE
public static final CartAssemblerBlock.CartAssemblerAction DISASSEMBLE_BRAKE
public static final CartAssemblerBlock.CartAssemblerAction ASSEMBLE_ACCELERATE_DIRECTIONAL
public static final CartAssemblerBlock.CartAssemblerAction PASS
public static CartAssemblerBlock.CartAssemblerAction[] values()
for (CartAssemblerBlock.CartAssemblerAction c : CartAssemblerBlock.CartAssemblerAction.values()) System.out.println(c);
public static CartAssemblerBlock.CartAssemblerAction 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 boolean shouldAssemble()
public boolean shouldDisassemble()