Hello, I have spent last 5 hours of time trying to fix this, came across multiple threads with same, or similar problem but with no luck.
Problem:
As title says the block is acessable via creative menu and it's texture looks fine in inventory / on ground, but as soon as I place it in world, it uses minecraft's "missing texture" texture
So far I have tried these things:
Check "blockstates/uranium_block.json"
Check "models/block/uranium_block.json"
Move "uranium_block.png" from "textures/blocks/uranium_block/" to "textures/blocks/" and updated "models/block/uranium_block.json" accordingly
Change "parent" key in "models/block/uranium_block.json" from "block/cube_bottom_top" to "block/cube_bottom_all" and updated "textures" object in same file accordingly - Changed only texture in inventory
Change "model" value in "blockstates/uranium_block.json" from "blueshades:uranium_block" to "blueshades:block/uranium_block" - Showed error in minecraft log, that file "blueshades:models/block/block/uranium_block.json" was not found, so I guess that my path is correct
Comment out "this.setLightLevel( 0.05f );" from "UraniumBlock.java", if that could cause problems - Nothing changed
Change "super( Material.ANVIL );" to "super( Material.IRON );" in "UraniumBlock.java" - Nothing changed
Change "inventory" in Registration.java/setCustomModelResourceLocation to "normal" - Nothing changed
Additional info:
I am registering my Blocks / Items / ItemBlocks / models in "Registration.java" which uses array from "REFERENCE.java"
My block extends utility class "CommonBlock" defined in "CommonBlock.java"
I am new to modding using forge, but I have years of experience with Java, I also know valid format for JSON files.
I have also attached the minecraft log, even tough I have not found any suspicious messages there.
Hope that there isn't anything totally stupid that I forgot in my code ( Like assigning blockstate file to block as I haven't found how to do that so I guess forge takes care of that automatically )
I hope this will get resolved somehow, as it really makes me mad, how simply it looks and how stupidly I fail.
EDIT: also included debug.log, Even tough I haven't found any suspicious messages there. ?