public enum TapeMeasureModes extends java.lang.Enum<TapeMeasureModes> implements IToolMode
Modifier and Type | Field and Description |
---|---|
java.lang.Object |
binding |
boolean |
isDisabled |
LocalStrings |
string |
Modifier and Type | Method and Description |
---|---|
static TapeMeasureModes |
castMode(IToolMode chiselMode) |
static TapeMeasureModes |
getMode(net.minecraft.item.ItemStack stack) |
LocalStrings |
getName() |
boolean |
isDisabled() |
void |
setMode(net.minecraft.item.ItemStack stack) |
static TapeMeasureModes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TapeMeasureModes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TapeMeasureModes BIT
public static final TapeMeasureModes BLOCK
public static final TapeMeasureModes DISTANCE
public final LocalStrings string
public boolean isDisabled
public java.lang.Object binding
public static TapeMeasureModes[] values()
for (TapeMeasureModes c : TapeMeasureModes.values()) System.out.println(c);
public static TapeMeasureModes 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 static TapeMeasureModes getMode(net.minecraft.item.ItemStack stack)
public void setMode(net.minecraft.item.ItemStack stack)
public static TapeMeasureModes castMode(IToolMode chiselMode)
public LocalStrings getName()
public boolean isDisabled()
isDisabled
in interface IToolMode