The selection property "minecraft:component" for the component "minecraft:fireworks".
The flight_duration property is not correctly interpreted if the firework contains a firework star.
{
"model": {
"type": "minecraft:select",
"property": "minecraft:component",
"component": "minecraft:fireworks",
"cases": [
{
"when": { "flight_duration": 1},
"model": {
"type": "model",
"model": "item/amethyst_shard"
}
}
],
"fallback": {
"type": "model",
"model": "item/firework_rocket"
}
}
}
With this file the fireworks with or without firework star should appear as an amethyst shard.
This is not the case.
The case has to match the value of the component exactly. There's no partial matches for any select property.
Change request, not a bug. See MC-279557.