public enum RedstoneMode extends java.lang.Enum<RedstoneMode>
Enum Constant and Description |
---|
HIGH_SIGNAL |
IGNORE |
LOW_SIGNAL |
SIGNAL_PULSE |
Modifier and Type | Method and Description |
---|---|
static RedstoneMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RedstoneMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedstoneMode IGNORE
public static final RedstoneMode LOW_SIGNAL
public static final RedstoneMode HIGH_SIGNAL
public static final RedstoneMode SIGNAL_PULSE
public static RedstoneMode[] values()
for (RedstoneMode c : RedstoneMode.values()) System.out.println(c);
public static RedstoneMode 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 null