public interface IToolMaterial
extends net.minecraft.item.IItemTier
IItemTier interface for tool materials.| Modifier and Type | Interface and Description |
|---|---|
static class |
IToolMaterial.Tools
Just a little helper enumeration with all vanilla tools.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAdditionalDamage(IToolMaterial.Tools tools)
Returns the additional damage that is added to the
IItemTier.getAttackDamage() per given tool. |
float |
getAttackSpeed(IToolMaterial.Tools tools)
Returns the attack speed per given tool.
|
int getAdditionalDamage(IToolMaterial.Tools tools)
IItemTier.getAttackDamage() per given tool.tools - The toolfloat getAttackSpeed(IToolMaterial.Tools tools)
tools - The tool