public void Damage(World world, int x, int y, int z, ToolItem tool) { if (tool.IsEffectiveAgainst(this)) { breakage += tool.breakSpeed; if (breakage > durability) { OnDestroy(world, x, y, z, tool); } } }