{
  "type": "chest",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "item",
          "weight": 20,
          "name": "minecraft:golden_apple"
        },
        {
          "type": "item",
          "name": "minecraft:enchanted_golden_apple"
        },
        {
          "type": "item",
          "weight": 30,
          "name": "minecraft:name_tag"
        },
        {
          "type": "loot_table",
          "name": "smt:chests/tables/enchanted_books",
          "weight": 10
        },
        {
          "type": "loot_table",
          "name": "smt:chests/tables/equipment/iron_tools",
          "weight": 5
        }
      ]
    },
    {
      "rolls": {
        "min": 2,
        "max": 4
      },
      "entries": [
        {
          "type": "loot_table",
          "name": "smt:chests/tables/consumables",
          "weight": 15
        },
        {
          "type": "loot_table",
          "name": "smt:chests/tables/rails",
          "weight": 10
        },
        {
          "type": "item",
          "name": "minecraft:redstone",
          "weight": 5,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 4,
                "max": 9
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:lapis_lazuli",
          "weight": 5,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 4,
                "max": 9
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:diamond",
          "weight": 3,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "functions": [
        {
          "function": "set_count",
          "count": {
            "min": 3,
            "max": 8
          }
        }
      ],
      "conditions": [
        {
          "condition": "random_chance",
          "chance": 0.4
        }
      ],
      "entries": [
        {
          "type": "tag",
          "name": "forge:seeds",
          "expand": true
        }
      ]
    }
  ]
}