public virtual float BlockStrength(net.minecraft.src.EntityPlayer entityplayer) { if (blockHardness < 0.0F) { return(0.0F); } if (!entityplayer.CanHarvestBlock(this)) { return(1.0F / blockHardness / 100F); } else { return(entityplayer.GetCurrentPlayerStrVsBlock(this) / blockHardness / 30F); } }