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