Package | Description |
---|---|
net.minecraft.item | |
net.minecraftforge.common |
Modifier and Type | Method and Description |
---|---|
static EnumToolMaterial |
EnumToolMaterial.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumToolMaterial[] |
EnumToolMaterial.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
ItemAxe(int par1,
EnumToolMaterial par2EnumToolMaterial) |
ItemHoe(int par1,
EnumToolMaterial par2EnumToolMaterial) |
ItemPickaxe(int par1,
EnumToolMaterial par2EnumToolMaterial) |
ItemSpade(int par1,
EnumToolMaterial par2EnumToolMaterial) |
ItemSword(int par1,
EnumToolMaterial par2EnumToolMaterial) |
Modifier and Type | Method and Description |
---|---|
static EnumToolMaterial |
EnumHelper.addToolMaterial(String name,
int harvestLevel,
int maxUses,
float efficiency,
int damage,
int enchantability) |