Topic category: Troubleshooting, bugs, and solutions
About 2 months ago, when I was going to add Minecraft 1.16 support to a multi-version (for 1.12.2-1.15.2) Minecraft mod, which I've been developing for years with this program and whose blocks consist of model files in .obj format, and I was going to add Minecraft 1.16 support and set the multiple bounding box on a version above Minecraft 1.14. While I was going to test it in version (in version 2021.1) I saw that some models appeared as missing blocks (black-magenta checkered blocks), some were loading normally, some were showing textures flipped upside down as in the pictures (later I went back to version 2020.5 but it didn't work and this issue is only seen on Minecraft 1.14.4 and above).
All of the blocks also had lighting issues (glow in the dark when the block shouldn't). Then I solved most of the problems, but I still haven't been able to fix the texture flipping problem. Later, I tested the code "custom" {"flip-v": true}
in the blockstate file of one of the blocks (a block with an flipped upside down texture) to develop a private plugin to solve the texture flipping problem, but it didn't work. What do you think should I do (without editing the texture file or the model file) to fix the flipping problem in the textures of those models? (Notice: Please don't suggest me to use model file in .json format because it is not possible for me to model some models in .json format for technical reasons.)
I finally solved the problem that caused the
"custom" { "flip-v": true }
code to not work, and if you ask me how I solved it, I solved it like this:"custom" { "flip-v": true }
code, instead of the upside down textured block's blockstate file, the block model's. I wrote that code in the json file as"flip-v": true
and that code worked fine and I'm considering converting it to a private plugin.an example for a whole blockstate please. I have problems with the integration with 1.18.2. At which point does the adjustment of the block state have to take place?