@Override public float getPlayerRelativeBlockHardness( EntityPlayer entityplayer, World world, int x, int y, int z) { int metadata = world.getBlockMetadata(x, y, z); TileEntityBase tileentitybase = (TileEntityBase) BlockHelper.getTileEntity(world, x, y, z, this.getTileMapData(metadata)); if (tileentitybase != null) { return tileentitybase.getPlayerRelativeBlockHardness(entityplayer, this); } else { return super.getPlayerRelativeBlockHardness(entityplayer, world, x, y, z); } }