net.minecraft.block.Block block = net.minecraft.block.Block.getBlockFromName(blockName);
if (block != null)
{
return ForgeMaterialData.ofMinecraftBlock(block, blockData);
}
DefaultMaterial defaultMaterial = DefaultMaterial.getMaterial(blockName);
if (defaultMaterial != DefaultMaterial.UNKNOWN_BLOCK)
{
return ForgeMaterialData.ofDefaultMaterial(defaultMaterial, blockData);
}