{
  "type": "minecraft:command",
  "pools": [
    {
      "rolls": 3,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 3,
          "name": "minecraft:diamond",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 2
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 8,
          "name": "minecraft:raw_gold",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 20,
          "name": "minecraft:coal",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 2,
                "max": 8
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 20,
          "name": "minecraft:raw_copper",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 10
              }
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 16,
          "name": "minecraft:raw_iron",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 3,
                "max": 10
              }
            }
          ]
        },
        {
          "type": "minecraft:alternatives",
          "children": [
            {
              "type": "minecraft:item",
              "weight": 33,
              "name": "minecraft:andesite",
              "functions": [
                {
                  "function": "minecraft:set_count",
                  "count": {
                    "min": 4,
                    "max": 12
                  }
                }
              ],
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.27
                }
              ]
            },
            {
              "type": "minecraft:item",
              "weight": 33,
              "name": "minecraft:diorite",
              "functions": [
                {
                  "function": "minecraft:set_count",
                  "count": {
                    "min": 4,
                    "max": 12
                  }
                }
              ],
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.33
                }
              ]
            },
            {
              "type": "minecraft:item",
              "weight": 33,
              "name": "minecraft:granite",
              "functions": [
                {
                  "function": "minecraft:set_count",
                  "count": {
                    "min": 4,
                    "max": 12
                  }
                }
              ],
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.44
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
