{
    "pools": [
      {
        "rolls": 1,
        "entries": [
          {
            "type": "minecraft:item",
            "name": "minecraft:firework_rocket",
            "weight": 1,
            "functions": [
              {
                "function": "set_count",
                "count": {
                  "min": 1,
                  "max": 3
                }
              },
              {
                "function": "minecraft:set_components",
                "components": {
                  "minecraft:fireworks": {
                    "flight_duration": 10
                  },
                  "minecraft:custom_name": {
                    "text": "Better Flight Rocket",
                    "color": "aqua",
                    "italic": false
                  },                  
                  "minecraft:custom_data": {
                      "item": "better_flight_rocket"
                  }
                }
              },
              {
                "function": "set_lore",
                "lore": [
                  {
                    "text": "A firework rocket used for  ",
                    "color": "gray",
                    "italic": false
                  },
                  {
                    "text": "traveling great distances. ",
                    "color": "gray",
                    "italic": false
                  }
                ],
                "mode": "replace_all"
              }
            ]
          }
        ]
      }
    ],
    "functions": []
  }