{
  "model": {
    "type": "minecraft:condition",
    "property": "minecraft:component",
    "predicate": "minecraft:fireworks",
    "value": {
      "explosions": {
        "contains": [
          {
            "shape": "small_ball"
          }
        ]
      },
      "flight_duration": 1
    },
    "on_true": {
      "type": "minecraft:model",
      "model": "cit_new:item/firework/small1"
    },
    "on_false": {
      "type": "minecraft:condition",
      "property": "minecraft:component",
      "predicate": "minecraft:fireworks",
      "value": {
        "explosions": {
          "contains": [
            {
              "shape": "small_ball"
            }
          ]
        },
        "flight_duration": 2
      },
      "on_true": {
        "type": "minecraft:model",
        "model": "cit_new:item/firework/small2"
      },
      "on_false": {
        "type": "minecraft:condition",
        "property": "minecraft:component",
        "predicate": "minecraft:fireworks",
        "value": {
          "explosions": {
            "contains": [
              {
                "shape": "small_ball"
              }
            ]
          },
          "flight_duration": 3
        },
        "on_true": {
          "type": "minecraft:model",
          "model": "cit_new:item/firework/small3"
        },
        "on_false": {
          "type": "minecraft:condition",
          "property": "minecraft:component",
          "predicate": "minecraft:fireworks",
          "value": {
            "explosions": {
              "contains": [
                {
                  "shape": "large_ball"
                }
              ]
            },
            "flight_duration": 1
          },
          "on_true": {
            "type": "minecraft:model",
            "model": "cit_new:item/firework/large1"
          },
          "on_false": {
            "type": "minecraft:condition",
            "property": "minecraft:component",
            "predicate": "minecraft:fireworks",
            "value": {
              "explosions": {
                "contains": [
                  {
                    "shape": "large_ball"
                  }
                ]
              },
              "flight_duration": 2
            },
            "on_true": {
              "type": "minecraft:model",
              "model": "cit_new:item/firework/large2"
            },
            "on_false": {
              "type": "minecraft:condition",
              "property": "minecraft:component",
              "predicate": "minecraft:fireworks",
              "value": {
                "explosions": {
                  "contains": [
                    {
                      "shape": "large_ball"
                    }
                  ]
                },
                "flight_duration": 3
              },
              "on_true": {
                "type": "minecraft:model",
                "model": "cit_new:item/firework/large3"
              },
              "on_false": {
                "type": "minecraft:condition",
                "property": "minecraft:component",
                "predicate": "minecraft:fireworks",
                "value": {
                  "explosions": {
                    "contains": [
                      {
                        "shape": "star"
                      }
                    ]
                  },
                  "flight_duration": 1
                },
                "on_true": {
                  "type": "minecraft:model",
                  "model": "cit_new:item/firework/star1"
                },
                "on_false": {
                  "type": "minecraft:condition",
                  "property": "minecraft:component",
                  "predicate": "minecraft:fireworks",
                  "value": {
                    "explosions": {
                      "contains": [
                        {
                          "shape": "star"
                        }
                      ]
                    },
                    "flight_duration": 2
                  },
                  "on_true": {
                    "type": "minecraft:model",
                    "model": "cit_new:item/firework/star2"
                  },
                  "on_false": {
                    "type": "minecraft:condition",
                    "property": "minecraft:component",
                    "predicate": "minecraft:fireworks",
                    "value": {
                      "explosions": {
                        "contains": [
                          {
                            "shape": "star"
                          }
                        ]
                      },
                      "flight_duration": 3
                    },
                    "on_true": {
                      "type": "minecraft:model",
                      "model": "cit_new:item/firework/star3"
                    },
                    "on_false": {
                      "type": "minecraft:condition",
                      "property": "minecraft:component",
                      "predicate": "minecraft:fireworks",
                      "value": {
                        "explosions": {
                          "contains": [
                            {
                              "shape": "burst"
                            }
                          ]
                        },
                        "flight_duration": 1
                      },
                      "on_true": {
                        "type": "minecraft:model",
                        "model": "cit_new:item/firework/burst1"
                      },
                      "on_false": {
                        "type": "minecraft:condition",
                        "property": "minecraft:component",
                        "predicate": "minecraft:fireworks",
                        "value": {
                          "explosions": {
                            "contains": [
                              {
                                "shape": "burst"
                              }
                            ]
                          },
                          "flight_duration": 2
                        },
                        "on_true": {
                          "type": "minecraft:model",
                          "model": "cit_new:item/firework/burst2"
                        },
                        "on_false": {
                          "type": "minecraft:condition",
                          "property": "minecraft:component",
                          "predicate": "minecraft:fireworks",
                          "value": {
                            "explosions": {
                              "contains": [
                                {
                                  "shape": "burst"
                                }
                              ]
                            },
                            "flight_duration": 3
                          },
                          "on_true": {
                            "type": "minecraft:model",
                            "model": "cit_new:item/firework/burst3"
                          },
                          "on_false": {
                            "type": "minecraft:condition",
                            "property": "minecraft:component",
                            "predicate": "minecraft:fireworks",
                            "value": {
                              "explosions": {
                                "contains": [
                                  {
                                    "shape": "creeper"
                                  }
                                ]
                              },
                              "flight_duration": 1
                            },
                            "on_true": {
                              "type": "minecraft:model",
                              "model": "cit_new:item/firework/creeper1"
                            },
                            "on_false": {
                              "type": "minecraft:condition",
                              "property": "minecraft:component",
                              "predicate": "minecraft:fireworks",
                              "value": {
                                "explosions": {
                                  "contains": [
                                    {
                                      "shape": "creeper"
                                    }
                                  ]
                                },
                                "flight_duration": 2
                              },
                              "on_true": {
                                "type": "minecraft:model",
                                "model": "cit_new:item/firework/creeper2"
                              },
                              "on_false": {
                                "type": "minecraft:condition",
                                "property": "minecraft:component",
                                "predicate": "minecraft:fireworks",
                                "value": {
                                  "explosions": {
                                    "contains": [
                                      {
                                        "shape": "creeper"
                                      }
                                    ]
                                  },
                                  "flight_duration": 3
                                },
                                "on_true": {
                                  "type": "minecraft:model",
                                  "model": "cit_new:item/firework/creeper3"
                                },
                                "on_false": {
                                  "type": "minecraft:condition",
                                  "property": "minecraft:component",
                                  "predicate": "minecraft:fireworks",
                                  "value": {
                                    "flight_duration": 1
                                  },
                                  "on_true": {
                                    "type": "minecraft:model",
                                    "model": "cit_new:item/firework/none1"
                                  },
                                  "on_false": {
                                    "type": "minecraft:condition",
                                    "property": "minecraft:component",
                                    "predicate": "minecraft:fireworks",
                                    "value": {
                                      "flight_duration": 2
                                    },
                                    "on_true": {
                                      "type": "minecraft:model",
                                      "model": "cit_new:item/firework/none2"
                                    },
                                    "on_false": {
                                      "type": "minecraft:condition",
                                      "property": "minecraft:component",
                                      "predicate": "minecraft:fireworks",
                                      "value": {
                                        "flight_duration": 3
                                      },
                                      "on_true": {
                                        "type": "minecraft:model",
                                        "model": "cit_new:item/firework/none3"
                                      },
                                      "on_false": {
                                        "type": "minecraft:model",
                                        "model": "minecraft:item/firework_rocket"
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}