Hi, I'm creating a mod containing several block types that probably aren't in the ConquestRegorged modification if the mod comes out on version 1.15.
I decided to write this post because I can't deal with two probably simple things.
MC version: 1.15.2
Forge version: 31.1.0
Git repo: https://github.com/fronczek7f/ConquestReforged-Addon_1.15.2
First problem:
I created the RoofTileBlock class based on StairsBlock and the block itself uses the wavefront .obj format model. I wanted it to be a wavefront model because I can't make corners in Blockbench. As far as I know, in the current version 1.15 you do not need to use OBJLoader anymore, all you have to do is indicate in the model json file that you use the vol. Format And so I did, partly I helped myself using MinecraftByExample and the example given there. The effect is like the photo below but I have some problems...
It looks good to me but as you will see in the next picture there is a problem that I am currently unable to fix.
Normally in previous versions of Forge I would use the isOpaqueCube, isFullBlock, isFullCube etc. methods but at the moment I do not know what it can be and whether it is available as public. Most of the methods that I normally used in 1.12.2 just are gone or exist under a different name.
Second problem:
It concerns the rendering of the model itself, the problem can be seen in the photo.
When I put one block this problem is not visible but if I put next block, no matter what one triangle becomes a bit darker and I do not know what it depends on.