{
  "pools": [
    {
      "rolls": 1.0,
      "bonus_rolls": 0.0,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "hexcasting:amethyst_dust"
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:inverted",
          "term": {
            "condition": "minecraft:match_tool",
            "predicate": {
              "enchantments": [
                {
                  "enchantment": "minecraft:silk_touch"
                }
              ]
            }
          }
        },
        {
          "condition": "minecraft:match_tool",
          "predicate": {
            "tag": "minecraft:cluster_max_harvestables"
          }
        }
      ],
      "functions": [
        {
          "function": "minecraft:set_count",
          "count": {
            "type": "minecraft:uniform",
            "min": 1.0,
            "max": 4.0
          },
          "add": false
        },
        {
          "function": "minecraft:apply_bonus",
          "enchantment": "minecraft:fortune",
          "formula": "minecraft:ore_drops"
        }
      ]
    },
    {
      "rolls": 1.0,
      "bonus_rolls": 0.0,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "hexcasting:amethyst_dust"
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:inverted",
          "term": {
            "condition": "minecraft:match_tool",
            "predicate": {
              "enchantments": [
                {
                  "enchantment": "minecraft:silk_touch"
                }
              ]
            }
          }
        },
        {
          "condition": "minecraft:inverted",
          "term": {
            "condition": "minecraft:match_tool",
            "predicate": {
              "tag": "minecraft:cluster_max_harvestables"
            }
          }
        }
      ],
      "functions": [
        {
          "function": "minecraft:set_count",
          "count": {
            "type": "minecraft:uniform",
            "min": 0.0,
            "max": 2.0
          },
          "add": false
        }
      ]
    },
    {
      "rolls": 1.0,
      "bonus_rolls": 0.0,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "hexcasting:charged_amethyst"
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:inverted",
          "term": {
            "condition": "minecraft:match_tool",
            "predicate": {
              "enchantments": [
                {
                  "enchantment": "minecraft:silk_touch"
                }
              ]
            }
          }
        },
        {
          "condition": "minecraft:match_tool",
          "predicate": {
            "tag": "minecraft:cluster_max_harvestables"
          }
        },
        {
          "condition": "minecraft:table_bonus",
          "enchantment": "minecraft:fortune",
          "chances": [
            0.25,
            0.35,
            0.5,
            0.75,
            1.0
          ]
        }
      ],
      "functions": [
        {
          "function": "minecraft:set_count",
          "count": 1.0,
          "add": false
        }
      ]
    },
    {
      "rolls": 1.0,
      "bonus_rolls": 0.0,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "hexcasting:charged_amethyst"
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:inverted",
          "term": {
            "condition": "minecraft:match_tool",
            "predicate": {
              "enchantments": [
                {
                  "enchantment": "minecraft:silk_touch"
                }
              ]
            }
          }
        },
        {
          "condition": "minecraft:inverted",
          "term": {
            "condition": "minecraft:match_tool",
            "predicate": {
              "tag": "minecraft:cluster_max_harvestables"
            }
          }
        },
        {
          "condition": "minecraft:random_chance",
          "chance": 0.125
        }
      ],
      "functions": [
        {
          "function": "minecraft:set_count",
          "count": 1.0,
          "add": false
        }
      ]
    }
  ]
}