{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 20,
          "name": "minecraft:golden_apple"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:enchanted_golden_apple"
        },
        {
          "type": "minecraft:item",
          "weight": 30,
          "name": "minecraft:name_tag"
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:enchant_randomly"
            }
          ],
          "name": "minecraft:book"
        },
        {
          "type": "minecraft:loot_table",
          "weight": 1,
          "name": "next_level:loot/groups/enchanted_sword",
          "functions": [
            {
              "function": "minecraft:enchant_randomly"
            }
          ]
        },
        {
          "type": "minecraft:empty",
          "weight": 5
        }
      ]
    },
    {
      "rolls": {
        "min": 2.0,
        "max": 4.0,
        "type": "minecraft:uniform"
      },
      "entries": [
        {
          "type": "minecraft:loot_table",
          "weight": 5,
          "name": "next_level:loot/items/treasure/iron_heirloom1"
        },
        {
          "type": "minecraft:loot_table",
          "weight": 5,
          "name": "next_level:loot/items/treasure/iron_heirloom2"
        },
        {
          "type": "minecraft:loot_table",
          "weight": 5,
          "name": "next_level:loot/items/treasure/gold_heirloom1"
        },
        {
          "type": "minecraft:loot_table",
          "weight": 5,
          "name": "next_level:loot/items/treasure/gold_heirloom2"
        },
        {
          "type": "minecraft:item",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 4.0,
                "max": 9.0,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:lapis_lazuli"
        },
        {
          "type": "minecraft:loot_table",
          "weight": 3,
          "name": "next_level:loot/items/treasure/diamond_heirloom"
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3.0,
                "max": 8.0,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:cobweb"
        },
        {
          "type": "minecraft:loot_table",
          "weight": 5,
          "name": "next_level:loot/items/herbs/healing_herb"
        },
        {
          "type": "minecraft:loot_table",
          "weight": 5,
          "name": "next_level:loot/items/herbs/warding_herb"
        },
        {
          "type": "minecraft:loot_table",
          "weight": 5,
          "name": "next_level:loot/items/herbs/resting_herb"
        },
        {
          "type": "minecraft:loot_table",
          "weight": 5,
          "name": "next_level:loot/items/herbs/curing_herb"
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2.0,
                "max": 4.0,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:melon_seeds"
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2.0,
                "max": 4.0,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:pumpkin_seeds"
        },
        {
          "type": "minecraft:item",
          "weight": 10,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2.0,
                "max": 4.0,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:beetroot_seeds"
        }
      ]
    },
    {
      "rolls": 3,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 20,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 4.0,
                "max": 8.0,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:rail"
        },
        {
          "type": "minecraft:item",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1.0,
                "max": 4.0,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:powered_rail"
        },
        {
          "type": "minecraft:item",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1.0,
                "max": 4.0,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:detector_rail"
        },
        {
          "type": "minecraft:item",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1.0,
                "max": 4.0,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:activator_rail"
        },
        {
          "type": "minecraft:item",
          "weight": 15,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1.0,
                "max": 16.0,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "minecraft:torch"
        }
      ]
    }
  ]
}