public static enum BlockMushroom.MushroomType extends java.lang.Enum<BlockMushroom.MushroomType> implements net.minecraft.util.IStringSerializable
| Modifier and Type | Method and Description |
|---|---|
abstract net.minecraft.item.ItemStack |
getDrop() |
java.lang.String |
getName() |
static BlockMushroom.MushroomType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockMushroom.MushroomType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockMushroom.MushroomType BROWN
public static final BlockMushroom.MushroomType RED
public static BlockMushroom.MushroomType[] values()
for (BlockMushroom.MushroomType c : BlockMushroom.MushroomType.values()) System.out.println(c);
public static BlockMushroom.MushroomType 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 net.minecraft.item.ItemStack getDrop()
public java.lang.String getName()
getName in interface net.minecraft.util.IStringSerializable