{
  "type": "chest",
  "pools": [
    {
      "rolls": {
        "min": 1,
        "max": 2
      },
      "entries": [
        {
          "type": "loot_table",
          "name": "smt:chests/tables/food/cooked_food",
          "weight": 10
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "loot_table",
          "name": "smt:chests/tables/enchanted_books",
          "weight": 1,
          "conditions": [
            {
              "condition": "random_chance",
              "chance": 0.3
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "min": 3,
        "max": 8
      },
      "entries": [
        {
          "type": "item",
          "name": "minecraft:redstone",
          "weight": 2,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 4
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:rotten_flesh",
          "weight": 7,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 4
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:lapis_lazuli",
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 4
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:gold_ingot",
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 4
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:emerald",
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 4
              }
            }
          ]
        }
      ]
    }
  ]
}