When applying a special model to an item and it's displayed by one of the following entities, the item still uses the fallback model.
Attached is also an image and a test pack that shows the model does get changed if a different entity is marked as the holder type (in this case, a husk).
pack on:
pack off:
Affected entity types:
minecraft:firework_rocketminecraft:itemminecraft:item_frameminecraft:glow_item_frameminecraft:snowballminecraft:eggminecraft:eye_of_enderminecraft:ender_pearlminecraft:experience_bottleminecraft:small_fireballminecraft:potionminecraft:fireball
How to reproduce:
Load the attached resource pack (
).
Summon a husk holding one of the above items by executing the following command:
/summon minecraft:husk ~ ~ ~ {HandItems:[{id:"minecraft:snowball",count:1},{}]}→ ✔ The snowball held by the husk uses the model specified by the resource pack.
Throw a snowball, or summon one that can't move by executing the following command:
/summon minecraft:snowball ~ ~ ~ {NoGravity:1b}→ ❌ The snowball uses the fallback model.
Updated the images and example pack to use context_entity_type and to have item frames and glow item frames in it as well
as well as making the models be the normal item it represents with a green tint rather than all being emerald ore