{
  "type": "minecraft:block",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:charcoal",
          "functions": [
            {
              "function": "set_components",
              "components": {
                "max_stack_size": 50,
                "custom_data": {
                  "or_edited_item": true
                }
              }
            },
            {
              "function": "set_count",
              "count": {
                "min": 8,
                "max": 20
              },
              "add": false
            },
            {
              "function": "set_count",
              "count": {
                "min": 0,
                "max": 9
              },
              "add": true
            }
          ]
        }
      ]
    }
  ]
}