ItemStack icon with components not supported
thomasglasser opened this issue ยท 0 comments
Describe the bug
The datagen for icons uses an itemstack, but it boils it down to an item when converting to JSON. BookIconModel should be using the itemstack codec to save and load the object so it gets components and other properties.
To Reproduce
Steps to reproduce the behavior:
- Set an icon model as a stack that requires component data to render
- See the missing texture in-game as component data is missing
Expected behavior
The icon would save and load with component data
System (please complete the following information):
- Modonomicon Version: 1.100.2
- OS: Windows
- Minecraft Version: 1.21.1