{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": {
        "min": 2,
        "max": 4
      },
      "entries": [
        {
          "type": "minecraft:item",
          "functions": [
            {
              "count": {
                "type": "minecraft:uniform",
                "max": 4,
                "min": 1
              },
              "function": "minecraft:set_count"
            }
          ],
          "name": "minecraft:arrow",
          "weight": 10
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:tipped_arrow",
          "weight": 30,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 4
              }
            },
            {
              "function": "minecraft:set_potion",
              "id": "minecraft:harming"
            },
            {
              "function": "minecraft:set_potion",
              "id": "minecraft:poison",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.5
                }
              ]
            },
            {
              "function": "minecraft:set_potion",
              "id": "minecraft:slowness",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.33
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:bow",
          "weight": 1,
          "functions": [
            {
              "function": "minecraft:enchant_randomly",
              "options": [
                "minecraft:punch",
                "minecraft:flame",
                "minecraft:power",
                "minecraft:infinity"
              ],
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.4
                }
              ]
            },
            {
              "function": "minecraft:set_damage",
              "damage": {
                "min": 0.2,
                "max": 0.7
              }
            }
          ]
        },
        {
          "type": "minecraft:empty",
          "weight": 1
        }
      ]
    },
    {
      "rolls": 2,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:string",
          "weight": 1,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:flint",
          "weight": 1,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ]
        }
      ]
    }
  ]
}