Description:
In Minecraft Java Edition 25w45a&25w46a, nested minecraft:select model selectors in custom item model JSON files fail to load properly. When attempting to use a complex nested structure where one select model contains another select model in its cases, the game cannot parse the model correctly, resulting in missing texture (purple-black) items.
Steps to Reproduce:
Create a resource pack with a custom item model JSON file.
Use a nested select structure in items/diamond_spear.json like this:
{
"oversized_in_gui": true,
"model": {
"type": "minecraft:select",
"property": "minecraft:custom_model_data",
"fallback": {
"type": "minecraft:select",
"cases": [
{
"model": {
"type": "minecraft:model",
"model": "minecraft:item/diamond_spear"
},
"when": [
"gui",
"ground",
"fixed",
"on_shelf"
]
}
],
"fallback": {
"type": "minecraft:model",
"model": "minecraft:item/diamond_spear_in_hand"
},
"property": "minecraft:display_context"
},
"swap_animation_scale": 1.9,
"cases": [
{
"when": "fire_spear",
"model": {
"type": "minecraft:select",
"cases": [
{
"model": {
"type": "minecraft:model",
"model": "custom_spear:item/fire_spear"
},
"when": [
"gui",
"ground",
"fixed",
"on_shelf"
]
}
],
"fallback": {
"type": "minecraft:model",
"model": "custom_spear:item/fire_spear_in_hand"
},
"property": "minecraft:display_context"
},
"swap_animation_scale": 1.9
}
]
}
}Apply the resource pack in game.
Give yourself an item with custom_model_data=fire_spear.
Observe that the model.
Expected Behavior:
The game should correctly handle nested model selectors, allowing complex model selection logic based on multiple conditions.
Actual Behavior:
The model fails to load completely, showing the missing texture placeholder. No error messages appear in logs, but the nested structure is not processed correctly.
Affected Versions:
Minecraft Java Edition 25w45a&25w46a.
Impact:
This bug affects:
Advanced resource pack creators who need complex model selection logic.
Mod developers creating items with context-dependent appearances.
Anyone trying to create reusable model selection patterns.
Attachments
Comments 3
We do not have enough resources to reproduce this issue.
Please attach a minimal setup resource pack that can be used to reproduce this issue.
This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
After further investigation, I discovered the issue is not about nested selectors but rather a regression in model loading between snapshots.
Actual Issue: Complex models created with Blockbench that worked in 25w44a fail to load in 25w45a & 25w46a.
I will create a new bug report for this specific regression issue. Please close this one.
Thank you for your attention.
In addition, I think nested structures are relatively complex to repeat. If attribute combinations can be used, it will be a relatively short method, for example:
If it works, I hope it can be adopted.