Repository navigation
Closed
Labels
Description
🛑 Before you Start
- I have searched existing bug reports for my problem.
- I have read the F-A-Q.
- I am using the latest version of Animated Java
- 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
from MC logs
[17:53:11] [Server thread/ERROR]: Tried to load invalid 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] [Server thread/ERROR]: Tried to load invalid 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] [Server thread/ERROR]: Tried to load invalid 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] [Server thread/ERROR]: Tried to load invalid 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
💡 Solutions & Alternatives
No response
🟩 Minecraft Version
1.21.1
🟦 Blockbench Version
5.1.6
💻 Operating System
Linux
📃 Installed Blockbench Plugins
No response
⛰️ Minecraft Environment
No response
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