{
  "type": "minecraft:block",
  "pools": [
    {
      "bonus_rolls": 0.0,
      "entries": [
        {
          "type": "minecraft:alternatives",
          "children": [
            {
              "type": "minecraft:item",
              "conditions": [
                {
                  "condition": "minecraft:match_tool",
                  "predicate": {
                    "predicates": {
                      "minecraft:enchantments": [
                        {
                          "enchantments": "minecraft:silk_touch",
                          "levels": {
                            "min": 1
                          }
                        }
                      ]
                    }
                  }
                }
              ],
              "name": "minecraft:resin_ore"
            },
            {
              "type": "minecraft:loot_table",
              "functions": [
                {
                  "function": "minecraft:explosion_decay"
                }
              ],
              "value": {
                "pools": [
                  {
                    "bonus_rolls": 0.0,
                    "entries": [
                      {
                        "type": "minecraft:item",
                        "functions": [
                          {
                            "components": {
                              "minecraft:resin": {
                                "impurities": "a",
                                "quality": "a"
                              }
                            },
                            "function": "minecraft:set_components"
                          }
                        ],
                        "name": "minecraft:toxic_resin",
                        "weight": 4
                      },
                      {
                        "type": "minecraft:item",
                        "functions": [
                          {
                            "components": {
                              "minecraft:resin": {
                                "impurities": "a",
                                "quality": "c"
                              }
                            },
                            "function": "minecraft:set_components"
                          }
                        ],
                        "name": "minecraft:toxic_resin",
                        "weight": 3
                      },
                      {
                        "type": "minecraft:item",
                        "functions": [
                          {
                            "components": {
                              "minecraft:resin": {
                                "impurities": "a",
                                "quality": "e"
                              }
                            },
                            "function": "minecraft:set_components"
                          }
                        ],
                        "name": "minecraft:toxic_resin",
                        "weight": 2
                      }
                    ],
                    "functions": [
                      {
                        "enchantment": "minecraft:fortune",
                        "formula": "minecraft:ore_drops",
                        "function": "minecraft:apply_bonus"
                      }
                    ],
                    "rolls": 1.0
                  }
                ]
              }
            }
          ]
        }
      ],
      "rolls": 1.0
    }
  ],
  "random_sequence": "minecraft:blocks/resin_ore"
}