public enum TurtleSide extends java.lang.Enum<TurtleSide>
Enum Constant and Description |
---|
Left
The turtle's left side (where the pickaxe usually is on a Wireless Mining Turtle)
|
Right
The turtle's right side (where the modem usually is on a Wireless Mining Turtle)
|
Modifier and Type | Method and Description |
---|---|
static TurtleSide |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TurtleSide[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TurtleSide Left
public static final TurtleSide Right
public static TurtleSide[] values()
for (TurtleSide c : TurtleSide.values()) System.out.println(c);
public static TurtleSide 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