{
  "type": "minecraft:block",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:loot_table",
          "name": "manic:items/grimstone_chunk",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": {
                  "type": "minecraft:score",
                  "target": {
                    "type": "minecraft:fixed",
                    "name": "#min"
                  },
                  "score": "manic.dummy"
                },
                "max": {
                  "type": "minecraft:score",
                  "target": {
                    "type": "minecraft:fixed",
                    "name": "#max"
                  },
                  "score": "manic.dummy"
                }
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:loot_table",
          "name": "manic:items/grim_rune",
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.5
            },
            {
              "condition": "minecraft:entity_scores",
              "entity": "this",
              "scores": {
                "manic.dummy": {
                  "min": 3
                }
              }
            }
          ]
        }
      ]
    }
  ],
  "random_sequence": "manic:technical/blocks/grimstone_outcrop"
}
