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