mojira.dev
MC-165221

3D Modeled Potions are not rendered correctly in the "GUI Display"

The Bug

Specifically this issue affects the "Fluid" that these models have, not only Potions but anything that has a fluid on the inside of the 3D models.

Steps to Reproduce

  1. Download and activate the following resource pack:

[media]
  1. Look at any potion in an inventory
    -> ❌ The liquid inside of the flask is rendered incorrectly

  2. Look at a potion outside of the GUI, for example by throwing it on the ground.
    -> ✔ The potion is rendered correctly

Examples

-Potions

[media]

-Splash Potions

[media]

-Lingering Potions

[media]

-Honey Bottle
-Experience Bottle
-Dragon's Breath

The only models that has no problem is the Glass Bottle, since it's empty on the inside.

Like the title suggest, this rendering problem is only present in the GUI display, outside of this the models are displayed correctly.

Potion held by a Wandering Trader

[media]

Potion held by a Witch

[media]

Placed on an Item Frame & first person view

[media]

Dropped on the ground

[media]

3D Person view in both hands

[media]

[media]

Side note: the model transparency seems to have z-fightning issues as well, something that wasn't present on previous Snapshots.

[media]

Still pretty hard to tell from this Screenshot,

Attachments

Comments 11

I came across a lot of issues happening in the recent Snapshots regarding transparency problems with some blocks, items and entities, so this Issue is probably under that category.

To me it almost looks like transparent elements are rendered in opposite order in the GUI.

Edit: Setting the Z component of the translation in the GUI display settings to -5 "fixes" the issue.

It really worked! Thanks for share this, I will use it as a patch by the time this Issue is waiting for the response from Mojang.

could it be this is an issue with the resource pack, and not the game?

1 more comments

Thank you random internet person NOPEname you saved my resource pack from causing me so much pain.

In 1.18.1 and 22w03a.

Are you using a "make 2D items 3D" mod?

You know you can achieve this with just resource packs, right? It's even specifically stated and linked.

You really think mods wouldn't have resolved this if that was the case?

In 1.19 Pre-Release 1.

Carlos G.

gegy

Confirmed

Normal

Rendering, Textures and models, UI

GUI, item-model, potion, rendering, resource-pack, resource-pack-support, transparency

19w45b, 19w46a, 19w46b, 1.15 Pre-release 1, 1.15 Pre-Release 2, ..., 1.18.1, 22w03a, 1.18.2, 22w18a, 1.19 Pre-release 1

23w12a

Retrieved