-
Bug
-
Resolution: Fixed
-
20w46a
-
None
-
Confirmed
-
Commands
-
Normal
The bug:
Using an item modifier to modify CustomModelData on an item in an item frame doesn't visually update the model. The NBT does get copied to the item from the item modifier correctly, but to get the model to update, you need reload the world or modify some NBT on the item frame.
Steps to reproduce:
- Add the data pack to your world and apply the resource pack
- Run /function test:setup to setup the NBT storage location and to give yourself an item frame and an item that can use the CustomModelData model predicate
- Place the item frame down and put the cake item in it
- Run /item entity @e[type=minecraft:item_frame] container.0 modify test:set_model
- If this was working correctly, the cake item should have changed into a golden apple
- Reload the world or modify some NBT on the item frame and you'll see the model change into a golden apple