The "frame" object of the experimental "minecraft:icon" component in items within the behavior pack resorts to using the first frame of the specified texture. For example, if the "sword" texture is set as the value of "texture," the icon will display as a wooden sword regardless of the "frame" value.
{
"minecraft:icon": {
"texture": "sword",
"frame": 1
}
}
The above should set the item's icon to the stone sword's; however, the item's icon is instead set to the wooden sword's.
Comments 4
Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
I can confirm this is still broken in v1.18.30