"frame" property doesn't work on "minecraft:icon" component on items
Partner Rank:
Rank 3
Partner Team Reporting:
Gamemode One
Verification builds:
1.18.10.03 and later
Summary:
Setting the "frame" property on the "minecraft:icon" component doesn't change which texture the item uses. It always used the first texture in the list no matter the value.
Impact:
The impact on this means we can't have animated item textures. There is no workaround to this
Repro Steps:
- Create an experimental world with the attached behavior pack
- Give yourself the item 'mcm:test_item'
Observed Results:
The item has the wooden sword texture, which is at index 0 in the textures array
Expected Results:
The item should have the stone sword texture, which is at index 1 in the textures array
Regression Builds:
1.18.2.03 and before
Notes:
This is the code for the item in the behavior pack
{
"format_version": "1.16.100",
"minecraft:item": {
"description": {
"identifier": "mcm:test_item",
"category": "commands"
},
"components": {
"minecraft:icon": {
"texture": "sword",
"frame": "1"
}
}
}
}