The spyglass texture in the gui cannot be influenced by using custom_model_data.
I've provided a small world with a resourcepack and a few commandblocks to show the problem.
Linked issues
is duplicated by 2
Attachments
Comments 15
I am also experiencing this issue in 1.17.1. I can override the spyglass model that is held in the hand (spyglass_in_hand.json) as expected, but using the same method on the inventory texture (spyglass.json) does not work.
Can confirm in 1.18.1, spyglass_in_hand.json can be modified with CustomModelData, but spyglass.json can't.
This issue still persists in the current version of Minecraft. I am unable to change what the gui texture of the spyglass is
I've also found that doing custom armor trims also has this same issue (I have custom trims and materials on my server using a datapack and resource pack); its not just custom model data- its any override data at all. confirmed for 1.20.4
Can confirm in 24w21b. Could this be related to MC-166716? – While doing some testing, I found out that if you give the in-hand model for a spyglass (or a trident) an override predicate with an item model that doesn't exist, the 2D item appears darker in the inventory just like in MC-166716.
Here's a quick resource pack I whipped up to demonstrate. If you enable this pack and give yourself a spyglass or trident with custom_model_data 1, the 2D item looks darker, but as you can see in the resource pack files, only the in-hand models have been edited.
[media]
Can reproduce in 1.17.1 PR-1