public enum BitOperation extends java.lang.Enum<BitOperation>
| Modifier and Type | Method and Description |
|---|---|
ChiselToolType |
getToolType() |
boolean |
usePlacementOffset() |
boolean |
usesBits() |
boolean |
usesChisels() |
static BitOperation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BitOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BitOperation CHISEL
public static final BitOperation PLACE
public static final BitOperation REPLACE
public static BitOperation[] values()
for (BitOperation c : BitOperation.values()) System.out.println(c);
public static BitOperation 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 usesBits()
public boolean usesChisels()
public boolean usePlacementOffset()
public ChiselToolType getToolType()