25w04a component predicates
I'm trying to make a resourcepack where you can see the enchantments on an item using the 25w04a item model features. I have the following code
"model": { "type": "minecraft:composite", "models": [ { "type": "model", "model": "item/iron_sword" }, { "type": "select", "property": "component", "fallback": { "type": "empty" }, "component": "enchantments", "cases": [ { "when": {"sharpness": 1}, "model": { "type": "model", "model": "visual_enchantments:item/sharpness_1" } } ] }, { "type": "select", "property": "component", "fallback": { "type": "empty" }, "component": "enchantments", "cases": [ { "when": {"fire_aspect": 1}, "model": { "type": "model", "model": "visual_enchantments:item/fire_aspect_1" } } ] } ] } }``` But this only works when the iron sword has only one enchantment. It does not work for multiple enchanments. Is it possible to test for the level of one enchantment and ignore the levels of other enchantments with component predicates?