public enum ItemCheatingStyle extends java.lang.Enum<ItemCheatingStyle> implements me.shedaniel.clothconfig2.forge.gui.entries.SelectionListEntry.Translatable
| Modifier and Type | Method and Description |
|---|---|
@NotNull java.lang.String |
getKey() |
static ItemCheatingStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ItemCheatingStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemCheatingStyle GRAB
public static final ItemCheatingStyle GIVE
public static ItemCheatingStyle[] values()
for (ItemCheatingStyle c : ItemCheatingStyle.values()) System.out.println(c);
public static ItemCheatingStyle 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@NotNull public @NotNull java.lang.String getKey()
getKey in interface me.shedaniel.clothconfig2.forge.gui.entries.SelectionListEntry.Translatable