Hello,
when I try to render an item for a block it complains that it can't find the texture. The block is rendered fine and working but the item seems to be unable to find the texture. If the texture is NOT in a subfolder it's working for the item too.
Here some screenshot I think are helpful to get a clear view of what I have.
Here is where the item of the block get its texture:
Here is the folder structure of the textures. As I mentioned before, when I put "block/generator_front" into the "new ResourceLocation()" and put the png file directly under "/block" and not "block/generator" it works.
This is where the block is rendered and is getting its texture:
And of course the error that is been thrown:
Thanks for any help.