Well, I made a LOT of changes to the code (now posted again at https://github.com/TheWebExpert1/davidblocks. I have a blok in the inventory; actually, I have about 4 or 5. One has a texture (Silver); none of the others do. I was expecting names like blokc and bloks, but I have blok with a type; I really have no idea what I'm doing here.
The easy way out would be simply to create a separate block for each type, the way I still have my ores; however, I know that this isn't the best way to do this. Easiest, yes; best, no. I'm not sure WHY I'm getting so many, nor why the names aren't what I thought they'd be.
to my Blok class, and fixed the missed reference in the getSubBlocks method. Now I have only two blocks, which is correct; the first has a texture in hand, the second does not, and neither has a texture in game. You said that I hadn't changed the ItemBlock type in my InitBlocks class; I don't know what needs to be changed there.
Sorry, I had posted the wrong set of code, and hadn't cleaned up the repository. I'd been watching a few tutorials in between posts, and got the worldgen working properly. The TileEntity doesn't work properly (the one that's part of my "Compressor" model), but that's a whole other topic. The OreTypes were actually gone in my current code, and the code does run.
The game now has two identical looking blocks, with identical names, but no textures in game, and the name "blok#variant=c" written on them. I thought you meant I had to create an entirely new class, based on ItemBlock; I tried doing that, but it didn't make any sense to me - and neither did the code pasted in from the Item class.
As far as the "class of the ItemBlock field" I'm instantiating in ItemBlocks, I presume you mean the line that reads:
public static Blok blok = (Blok) new Blok(2.0F, 5.0F, 2).setRegistryName("blok").setUnlocalizedName("blok");
I don't know how I can possibly change this, other than making it based on ItemBlock rather than Block. At any rate, I'll move on to a different thread and see if I can get help there. I really DO want to learn this; I watched two hours of CJ's videos (not counting the worldgen), but decided that his "BlockBreaker" was too complicated, and I'm looking elsewhere for tutorials on custom "furnaces."