Enum Constant and Description |
---|
INVENTORY |
MOUSE_PICKUP |
Modifier and Type | Method and Description |
---|---|
abstract int |
getStackSize(net.minecraft.item.ItemStack itemStack,
net.minecraft.client.util.InputMappings.Input input) |
static GiveMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GiveMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GiveMode INVENTORY
public static final GiveMode MOUSE_PICKUP
public static GiveMode[] values()
for (GiveMode c : GiveMode.values()) System.out.println(c);
public static GiveMode 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 abstract int getStackSize(net.minecraft.item.ItemStack itemStack, net.minecraft.client.util.InputMappings.Input input)