public static enum PropertyMaterial.Type extends java.lang.Enum<PropertyMaterial.Type>
| Enum Constant and Description |
|---|
COPPER |
DIAMOND |
GOLD |
IRON |
OBSIDIAN |
SILVER |
WOOD |
| Modifier and Type | Method and Description |
|---|---|
double |
getInventoryMultiplier() |
java.lang.String |
getLocalizedName() |
boolean |
isExplosionResistant() |
static PropertyMaterial.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PropertyMaterial.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyMaterial.Type WOOD
public static final PropertyMaterial.Type COPPER
public static final PropertyMaterial.Type IRON
public static final PropertyMaterial.Type SILVER
public static final PropertyMaterial.Type GOLD
public static final PropertyMaterial.Type DIAMOND
public static final PropertyMaterial.Type OBSIDIAN
public static PropertyMaterial.Type[] values()
for (PropertyMaterial.Type c : PropertyMaterial.Type.values()) System.out.println(c);
public static PropertyMaterial.Type 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 double getInventoryMultiplier()
public java.lang.String getLocalizedName()
public boolean isExplosionResistant()