Also are you calling ModelLoader.setCustomModelResourceLocation in the Block Registry event? If so it has its own event ModelRegistryEvent.
You are not registering the ItemBlock for them.
In your block object/field/variable call getRegistryName() instead of getUnlocalizedName()
as you do right here
You are the one with the code...check.
You call it in your ClientProxy, it is just you never call the method ClientProxy#preInit
Ok. So the thing is that even when you are playing in singleplayer there is still a server. In Minecraft we have both physical and logical sides. Meaning that singleplayer both has a server and a client, and Multiplayer is separated physically between server and client. So I suggest just telling the player that the block(s) that s/he selected are wrong and which ones they selected are wrong.
3 * 7 * 7 = 147. 147 blocks will have to be air at the randomly generated BlockPos. The likely hood of this happening is almost 0%. Just remove
None of this is needed.
The biggest problem is the third bullet point.
Since most of underground is not Air the likely hood of it being like that is really low. it is less than 1%.
Are you sure it is not spawning lets run through a checklist.
It will only spawn in the Plains Biome.
Then after that it will only have a chance to spawn 1 out of 10 times.
Where it generates underground has to have enough air blocks to generate.
The generation will only run on new chunks.
Make sure you are meeting all of those requirements when you are looking.
After a little bit more debugging I fixed this issue, but ran into another one. First the fix. Since most items have transparency you need to say that your block also has transparency. I did this by overriding Block#getBlockLayer and returned BlockRenderLayer.CUTOUT_MIPPED. Now on to the second issue. I need a way to get an IModel of any Item/Block. The problem with ModelLoaderRegistry.getModel is that some items have multiple models based on metadata and the same with blocks with variants. I need a way of reliably getting this for the ModelResourceLocation.