Blocks with custom geometry do not render correctly in inventory. Instead of rendering as they would appear elsewhere with the same geometry, the appearance of cubes seems to be essentially based on render order, causing the inventory model to appear garbled, with random faces that one would expect to be visible not visible, and vise versa.
Custom blocks use the material ui_item to render in inventory, which is the same as all items and blocks excluding those with glint, which have a separate material. Whatever depth testing this material and its associated shader are doing seems to be simply insufficient to render anything with complex geometry.
Reproduction:
1. Download and install the attached addon.
2. Create a world with the attached addon (being sure to enable both the associated resource and behavior packs), enabling Holiday Creator Features.
3. Give the block contained within the addon to the player via:
give @p geysercmd:gmdl_1
4. Observe that the inventory model for this block renders improperly when compared with the in hand attachable using the same geometry.
Linked issues
is duplicated by 1
Attachments
Comments 5
I was able to reproduce this on my iPhone X on Minecraft 1.17.10 (if it helps, Build: 6472257). I downloaded the attached .mcaddon to my iCloud Drive downloads folder, copied the addon to the addons folder, then imported it. I created a new world, selected the Behavior Pack and Resource Pack, then enabled Holiday Creator Features. Executing {{/give @s geysercmd:gmd1_1 }} gave me the custom item with a deformed looking icon.
I am able to reproduce myself as well. Please ensure you are enabling holiday creator features and both the behavior and resource pack of the addon.
We are not able to reproduce the issue with attached mcpack.T here is no item : geysercmd:gmdl_1 in MCpack. Could you please revise your report and attached pack?
This ticket will automatically reopen when you reply.