You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I will only report a single bug in this report. If I have found multiple bugs, I will create a separate report for each one.
🗣️ Describe the bug
With the target mine craft version set to 1.21.1 and using the texture swap feature of variants AJ will export a data pack that attempts to swap the textures by changing the item_model component which inst a component present in this version
⚠️ Error Message
fromMClogs[17:53:11][Serverthread/ERROR]: Triedtoloadinvalid item: 'No component with type: 'minecraft:item_model'; No component with type: 'minecraft:item_model' missed input: {"minecraft:item_model":"aj:blueprint/my_blueprint/aqua/aqua"}'[17:53:11][Serverthread/ERROR]: Triedtoloadinvalid item: 'No component with type: 'minecraft:item_model'; No component with type: 'minecraft:item_model' missed input: {"minecraft:item_model":"aj:blueprint/my_blueprint/aqua/orange"}'[17:53:11][Serverthread/ERROR]: Triedtoloadinvalid item: 'No component with type: 'minecraft:item_model'; No component with type: 'minecraft:item_model' missed input: {"minecraft:item_model":"aj:blueprint/my_blueprint/aqua/purple"}'[17:53:11][Serverthread/ERROR]: Triedtoloadinvalid item: 'No component with type: 'minecraft:item_model'; No component with type: 'minecraft:item_model' missed input: {"minecraft:item_model":"aj:blueprint/my_blueprint/aqua/green"}'
🔄️ How to Reproduce
Set target version to 1.21.1
Create Texture A and texture B
Create a variant that swaps texture A for texture B
Export the pack
Change the variant command will return a success however the texture will not change and there will be an error in the logs
✅ Expected Behavior
On versions below 1.21.2 the item_model component should not be used
Activity
🐛 Use custom_model_data for variant model swaps on 1.21.0/1.21.1
🐛 Use custom_model_data for variant model swaps on 1.21.0/1.21.1