mojira.dev
MC-276412

Custom item models set to a shield and various other items all create invisible items

Custom item models such as shields, banners, conduits, air, and mob and player heads all create invisible item

Example:

/give @s minecraft:iron_ingot[minecraft:item_model=shield]

Linked issues

Attachments

Comments 1

This is probably a Won't Fix situation (Air is probably WAI) but I can confirm this happens with all item models that use the builtin/entity parent in their item model.

If you use the item_model component on an item that doesn't have the builtin/entity on one that does have it, it will appear invisible.
e.g.

/give @p grass_block[minecraft:item_model=white_bed]

This happens because it is not given a texture to assign to the item. This also happens if you use a model like the following:

/give @p grass_block[minecraft:item_model=handheld]

myte

boq

Confirmed

Platform

Low

Commands, Textures and models

command, item, texture

24w36a, 24w38a, 24w39a

24w45a

Retrieved