public enum ModConflictContext extends java.lang.Enum<ModConflictContext> implements net.minecraftforge.client.settings.IKeyConflictContext
| Enum Constant and Description |
|---|
HOLDING_CHISEL |
HOLDING_MENUITEM |
HOLDING_POSTIVEPATTERN |
HOLDING_ROTATEABLE |
HOLDING_TAPEMEASURE |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
boolean |
isActive() |
void |
setItemActive(net.minecraft.item.Item item) |
static ModConflictContext |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModConflictContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModConflictContext HOLDING_ROTATEABLE
public static final ModConflictContext HOLDING_MENUITEM
public static final ModConflictContext HOLDING_TAPEMEASURE
public static final ModConflictContext HOLDING_POSTIVEPATTERN
public static final ModConflictContext HOLDING_CHISEL
public static ModConflictContext[] values()
for (ModConflictContext c : ModConflictContext.values()) System.out.println(c);
public static ModConflictContext 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 void setItemActive(net.minecraft.item.Item item)
public boolean isActive()
isActive in interface net.minecraftforge.client.settings.IKeyConflictContextpublic java.lang.String getName()