| Package | Description |
|---|---|
| net.minecraft.item | |
| net.minecraftforge.common.util |
| Modifier and Type | Field and Description |
|---|---|
private Item.ToolMaterial |
ItemSword.material |
protected Item.ToolMaterial |
ItemHoe.toolMaterial |
protected Item.ToolMaterial |
ItemTool.toolMaterial |
| Modifier and Type | Method and Description |
|---|---|
Item.ToolMaterial |
Item.ToolMaterial.setRepairItem(ItemStack stack) |
static Item.ToolMaterial |
Item.ToolMaterial.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Item.ToolMaterial[] |
Item.ToolMaterial.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
ItemAxe(Item.ToolMaterial material) |
ItemAxe(Item.ToolMaterial material,
float damage,
float speed) |
ItemHoe(Item.ToolMaterial material) |
ItemPickaxe(Item.ToolMaterial material) |
ItemSpade(Item.ToolMaterial material) |
ItemSword(Item.ToolMaterial material) |
ItemTool(float attackDamageIn,
float attackSpeedIn,
Item.ToolMaterial materialIn,
java.util.Set<Block> effectiveBlocksIn) |
ItemTool(Item.ToolMaterial materialIn,
java.util.Set<Block> effectiveBlocksIn) |
| Modifier and Type | Method and Description |
|---|---|
static Item.ToolMaterial |
EnumHelper.addToolMaterial(java.lang.String name,
int harvestLevel,
int maxUses,
float efficiency,
float damage,
int enchantability) |