The problem is that I'm not sure where I passed that name. Here's my ModBlocks.java class. Maybe it's not necessary, I'm puzzled.
public class ModBlocks {
public static BlockMetadataBase blocks;
public static void init() {
blocks = register(new BlockMetadataBase("blocks"));
}
private static <T extends Block> T register(T block, ItemBlock itemBlock) {
GameRegistry.register(block);
GameRegistry.register(itemBlock);
if (block instanceof BlockMetadataBase) {
((BlockMetadataBase)block).registerItemModel(itemBlock);
((BlockMetadataBase)block).registerBakeryVariants();
}
return block;
}
private static <T extends Block> T register(T block) {
ItemBlock itemBlock = new ItemBlockMetadataBase(block);
itemBlock.setRegistryName(block.getUnlocalizedName());
return register(block, itemBlock);
}