public enum EnumVanillaWoodType extends java.lang.Enum<EnumVanillaWoodType> implements IWoodType
| Enum Constant and Description |
|---|
ACACIA |
BIRCH |
DARK_OAK |
JUNGLE |
OAK |
SPRUCE |
| Modifier and Type | Field and Description |
|---|---|
static EnumVanillaWoodType[] |
VALUES |
| Modifier and Type | Method and Description |
|---|---|
static EnumVanillaWoodType |
byMetadata(int meta) |
java.lang.String |
getBarkTexture() |
java.lang.String |
getDoorLowerTexture() |
java.lang.String |
getDoorUpperTexture() |
float |
getHardness() |
java.lang.String |
getHeartTexture() |
int |
getMetadata() |
java.lang.String |
getName() |
java.lang.String |
getPlankTexture() |
static EnumVanillaWoodType |
getRandom(java.util.Random random) |
net.minecraft.block.BlockPlanks.EnumType |
getVanillaType() |
java.lang.String |
toString() |
static EnumVanillaWoodType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumVanillaWoodType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumVanillaWoodType OAK
public static final EnumVanillaWoodType SPRUCE
public static final EnumVanillaWoodType BIRCH
public static final EnumVanillaWoodType JUNGLE
public static final EnumVanillaWoodType ACACIA
public static final EnumVanillaWoodType DARK_OAK
public static final EnumVanillaWoodType[] VALUES
public static EnumVanillaWoodType[] values()
for (EnumVanillaWoodType c : EnumVanillaWoodType.values()) System.out.println(c);
public static EnumVanillaWoodType 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 EnumVanillaWoodType getRandom(java.util.Random random)
public net.minecraft.block.BlockPlanks.EnumType getVanillaType()
public java.lang.String toString()
toString in class java.lang.Enum<EnumVanillaWoodType>public java.lang.String getName()
getName in interface net.minecraft.util.IStringSerializablepublic int getMetadata()
getMetadata in interface IWoodTypepublic static EnumVanillaWoodType byMetadata(int meta)
public float getHardness()
getHardness in interface IWoodTypepublic java.lang.String getPlankTexture()
getPlankTexture in interface IWoodTypepublic java.lang.String getDoorLowerTexture()
getDoorLowerTexture in interface IWoodTypepublic java.lang.String getDoorUpperTexture()
getDoorUpperTexture in interface IWoodTypepublic java.lang.String getBarkTexture()
getBarkTexture in interface IWoodTypepublic java.lang.String getHeartTexture()
getHeartTexture in interface IWoodType