How Do I Flip the UV Map of a Model in .obj Format in Minecraft 1.14.4 and Higher Without Editing Texture or Model?

Started by GeniusPilot2016 on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 21:18, 30. Dec 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How Do I Flip the UV Map of a Model in .obj Format in Minecraft 1.14.4 and Higher Without Editing Texture or Model?
Wed, 10/12/2022 - 19:43 (edited)

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.)

Edited by GeniusPilot2016 on Wed, 10/12/2022 - 19:43
Last seen on 21:18, 30. Dec 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I finally solved the problem…
Wed, 10/12/2022 - 19:42

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.

Last seen on 19:18, 2. Oct 2023
Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
an example for a whole…
Fri, 08/04/2023 - 21:42

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?