[
  {
    "function": "minecraft:copy_custom_data",
    "source": {
      "type": "minecraft:storage",
      "source": "gz:temp"
    },
    "ops": [
      {
        "source": "bullets",
        "target": "gz_data.bullets",
        "op": "replace"
      },
      {
        "source": "capacity",
        "target": "gz_data.capacity",
        "op": "replace"
      }
    ]
  },
  {
    "function": "minecraft:set_damage",
    "damage": 0
  },
  {
    "function": "minecraft:filtered",
    "item_filter": {
      "items": "minecraft:warped_fungus_on_a_stick"
    },
    "on_pass": {
      "function": "minecraft:set_item",
      "item": "minecraft:carrot_on_a_stick"
    }
  },
  {
    "function": "minecraft:set_lore",
    "lore": [
      {
        "translate": "thepa.item.desc.line1",
        "color": "gray",
        "italic": false
      },
      [
        {
          "translate": "thepa.item.desc.line2",
          "color": "blue",
          "italic": false
        },
        {
          "score": {
            "name": "@s",
            "objective": "gz_reload_time"
          }
        },
        {
          "text": "s"
        }
      ]
    ],
    "entity": "this",
    "mode": "replace_all"
  },
  {
    "function": "minecraft:set_attributes",
    "modifiers": [
      {
        "attribute": "minecraft:attack_speed",
        "id": "attspeed",
        "amount": 0,
        "operation": "add_multiplied_base",
        "slot": "mainhand"
      }
    ]
  }
]