public static enum ItemFruit.EnumFruit extends java.lang.Enum<ItemFruit.EnumFruit>
| Enum Constant and Description |
|---|
CHERRY |
CHESTNUT |
DATES |
LEMON |
PAPAYA |
PLUM |
WALNUT |
| Modifier and Type | Field and Description |
|---|---|
static ItemFruit.EnumFruit[] |
VALUES |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getOreDict() |
net.minecraft.item.ItemStack |
getStack() |
net.minecraft.item.ItemStack |
getStack(int qty) |
static void |
registerModel(net.minecraft.item.Item item,
IModelManager manager) |
static ItemFruit.EnumFruit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ItemFruit.EnumFruit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemFruit.EnumFruit CHERRY
public static final ItemFruit.EnumFruit WALNUT
public static final ItemFruit.EnumFruit CHESTNUT
public static final ItemFruit.EnumFruit LEMON
public static final ItemFruit.EnumFruit PLUM
public static final ItemFruit.EnumFruit DATES
public static final ItemFruit.EnumFruit PAPAYA
public static final ItemFruit.EnumFruit[] VALUES
public static ItemFruit.EnumFruit[] values()
for (ItemFruit.EnumFruit c : ItemFruit.EnumFruit.values()) System.out.println(c);
public static ItemFruit.EnumFruit 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 void registerModel(net.minecraft.item.Item item,
IModelManager manager)
public net.minecraft.item.ItemStack getStack()
public net.minecraft.item.ItemStack getStack(int qty)
public java.lang.String getOreDict()