{
  "type": "chest",
  "pools": [
    {
      "rolls": {
        "min": 2,
        "max": 8
      },
      "entries": [
        {
          "type": "loot_table",
          "name": "smt:chests/tables/food/raw_food"
        },
        {
          "type": "loot_table",
          "name": "smt:chests/tables/food/cooked_food"
        },
        {
          "type": "item",
          "name": "minecraft:coal",
          "weight": 15,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 4
              }
            }
          ]
        },
        {
          "type": "loot_table",
          "name": "smt:chests/tables/materials/metal_nuggets",
          "weight": 10
        },
        {
          "type": "loot_table",
          "name": "smt:chests/tables/equipment/stone_tools",
          "weight": 2
        },
        {
          "type": "loot_table",
          "name": "smt:chests/tables/mob_loot",
          "weight": 10
        },
        {
          "type": "item",
          "name": "minecraft:emerald"
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "item",
          "name": "minecraft:golden_apple"
        }
      ]
    }
  ]
}