{
  "type": "minecraft:entity",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:arrow",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": 1,
              "conditions": [
                {
                  "condition": "minecraft:killed_by_player"
                }
              ]
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:cookie",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": 1,
              "conditions": [
                {
                  "condition": "minecraft:killed_by_player"
                }
              ]
            }
          ]
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:random_chance",
          "chance": 0.1
        }
      ]
    }
  ]
}
