mojira.dev
MC-225367

Magma Cube's layers UV mapping overlaps

Segments 1, 2, 5, 6, 7, and 8 of a magma cube overlap with each other, causing problems when modifying the texture in a resource pack.

Steps to Reproduce:

  1. Download and apply the provided resource pack:

[media]
  1. Summon/spawn a magma cube

  2. Wait for it to jump, and spread out its model

  3. (optional) freeze the game

    /tick freeze

Observed Behavior:

The top and bottom faces of the previously listed model segments will be textured incorrectly, including the front and left sides of the previous segments before it in the texture.

Expected Result:

Each model segment could be modified separately from one another, without any overlap.

Screenshots/Videos:

[media]

Notes:

Related to MC-256371 MC-271509

Old Description:

The description has been modified, because the previous one was fairly messy and over descriptive. I have left the old description in a pinned comment here:

https://bugs.mojang.com/browse/MC-225367?focusedId=1337489&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1337489

Linked issues

Attachments

Comments 21

InfinitySwordofDiamond

Try removing all your existing resourcepacks.  Does that solve the issue?

It does not. When finding and testing this issue I only had the one resource pack enabled.

anthony cicinelli

Please provide the resource pack along with a screenshot with your debug screen enabled (F3)

Alright. I have provided the material that you asked for.

anthony cicinelli

Thank you for your report!
However, this issue is Invalid.

Your game, launcher or server is modified.
If you can reproduce the issue in a vanilla environment, please recreate the issue.

  • Any non-standard client/server/launcher build needs to be taken up with the appropriate team, not Mojang.

  • Any plugin issues need to be addressed to the creator of the plugin or resource pack.

  • If you have problems on large servers, such as The Hive and Hypixel, please contact them first as they run modified server software.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

11 more comments
Lyle Alexander Artain

In Block Bench UV textures can be automatically made, and when these textures are made they include the layers that you wouldn't normally see on the models where the neck meets the body for instance. If these pieces are mapped via UV here without rewriting how the UV works then it's safe to say you could import the magma cube and it should make the correct texture mapping for each of the inner layers of the model. Therefore you wouldn't even need a code rewrite, right? Or would a code rewrite still have to happen? 

 

I'm pretty sure Jeb brought up Notch not finishing something on a minecraft live at one point, but Jeb didn't know what it was, and I think perhaps the Magma Cube texture was the thing that wasn't fully finished, thus why only the layers that the eyes are drawn on are the ones properly mapped in the texture .png.

Lyle Alexander Artain

Here i've used Block Bench to create the correct Magma Cube texture.

[media][media]
Lyle Alexander Artain

Here's a the magma Cube texture using the old texture but in the new correct format. Basically I copied and pasted the old texture for the layers then I repainted the outside using the top and bottom textures as a guide, trying to match the style. So now you can see how the Magma Cube was supposed to look essentially.

 

I give Mojang permission to use this texture for the fix if they want considering it's the majority of the old. 

[media][media]
Lyle Alexander Artain

Heres a Gif so you can see the whole outside.

[media]

Old Description:

The separate layers of a magma cube's body cannot be properly textured because the top/bottom of a layer UV mapping overlaps the front and left faces of the layers above it, with the exception of the eye layers.

Expected behavior:
Each layer would have their own UV mapping, which does not overlap with anything else. This change would break all existing resource packs that modify the texture (as the texture dimensions would need to be increased), so a pack version number increase would be needed.

Steps to reproduce:

  • Make a resource pack that has the attached magmacube.png as the texture for the magma cube

  • Observe the magma cube's bottom texture, notice that it is green like the left side of the magma cube

Original description:
I was making images for a resource pack I was developing and noticed that the magma cube's texture seems to be rendered incorrectly. In the pictures, you can see that when looking at the magma cube's face, the right side texture gets repeated along the bottom of the magma cube and gets cut off a little bit. I can only assume this was done in error considering the original magma cube file has all 6 sides filled in. As you can see in screenshot 2021-05-12_08.26.02.png, this rendering error makes it a little difficult to properly set up a resource pack in the way that I have here.

Here is a link to download the Resource Pack: https://drive.google.com/file/d/18tAOS8IKKoew_xyhrFp34U-uQSn1kcjP/view

Vulcan Fire

[Mod] Jingy

Chi Wong

1316450

Community Consensus

Expansion B

Normal

Textures and models

magma_cube, overlapping, texture, uv-mapping

1.16.5, 21w19a, 21w20a, 1.19.1, 1.19.2, ..., 1.20.4, 24w09a, 1.20.6, 1.21, 1.21.3

24w44a

Retrieved