{
  "type": "minecraft:chest",
  "pools": [
    {
      "rolls": 1,
      "bonus_rolls": 0,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:tuff",
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 2,
                "max": 6
              },
              "function": "minecraft:set_count"
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "bonus_rolls": 0,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "create:tuff_pillar",
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 2,
                "max": 6
              },
              "function": "minecraft:set_count"
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "type": "minecraft:uniform",
        "min": 2,
        "max": 3
      },
      "bonus_rolls": 0,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "create:crushed_raw_copper",
          "weight": 10,
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 6
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "create:crushed_raw_zinc",
          "weight": 10,
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 6
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "create:crushed_raw_iron",
          "weight": 15,
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 6
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "create:crushed_raw_gold",
          "weight": 5,
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 6
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "create:crushed_raw_lead",
          "weight": 5,
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 6
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "create:crushed_raw_nickel",
          "weight": 5,
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 6
              },
              "function": "minecraft:set_count"
            }
          ]
        }
      ]
    },
    {
      "rolls": 4,
      "bonus_rolls": 0,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:lantern",
          "weight": 15,
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 6
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:coal",
          "weight": 10,
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 2,
                "max": 10
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:lapis_lazuli",
          "weight": 10,
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 2,
                "max": 10
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "thermal:apatite",
          "weight": 10,
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 2,
                "max": 10
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "thermal:niter",
          "weight": 10,
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 2,
                "max": 10
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "thermal:sulfur",
          "weight": 10,
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 6
              },
              "function": "minecraft:set_count"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "thermal:cinnabar",
          "weight": 10,
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "min": 1,
                "max": 4
              },
              "function": "minecraft:set_count"
            }
          ]
        }
      ]
    }
  ],
  "random_sequence": "cabin:chests/railshaft/bad_end_barrel"
}