{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": 2,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:redstone",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:fermented_spider_eye",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 4
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:string",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 8
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:gunpowder",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 6
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:wheat",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 4,
                "max": 6
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:coal",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 6,
                "max": 8
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "min": 1,
        "max": 2
      },
      "entries": [
        {
          "type": "minecraft:empty",
          "weight": 15
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_sword",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "options": "#minecraft:on_random_loot",
              "options": "#minecraft:on_random_loot",
              "levels": 10
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 5,
          "name": "minecraft:iron_helmet",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "options": "#minecraft:on_random_loot",
              "options": "#minecraft:on_random_loot",
              "levels": 10
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 5,
          "name": "minecraft:iron_leggings",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "options": "#minecraft:on_random_loot",
              "options": "#minecraft:on_random_loot",
              "levels": 10
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 5,
          "name": "minecraft:iron_chestplate",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "options": "#minecraft:on_random_loot",
              "options": "#minecraft:on_random_loot",
              "levels": 10
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 5,
          "name": "minecraft:iron_boots",
          "functions": [
            {
              "function": "minecraft:enchant_with_levels",
              "options": "#minecraft:on_random_loot",
              "options": "#minecraft:on_random_loot",
              "levels": 10
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "min": 1,
        "max": 2
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:gold_nugget",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 24,
                "max": 32
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_ingot",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 8,
                "max": 14
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:emerald",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 4,
                "max": 16
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:potion",
          "functions": [
            {
              "function": "minecraft:set_name",
              "name": "Illager Beer"
            },
            {
              "function": "minecraft:set_components",
              "components": {
                "minecraft:potion_contents": {
                  "potion": "minecraft:water",
                  "custom_color": 16770782,
                  "custom_effects": [
                    {
                      "id": "minecraft:strength",
                      "amplifier": 1,
                      "duration": 300
                    },
                    {
                      "id": "minecraft:saturation",
                      "amplifier": 0,
                      "duration": 600
                    },
                    {
                      "id": "minecraft:slowness",
                      "amplifier": 0,
                      "duration": 600
                    }
                  ]
                }
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_hoe"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:saddle"
        },
        {
          "type": "minecraft:empty",
          "weight": 10
        }
      ]
    }
  ]
}
