{
  "type": "minecraft:block",
  "pools": [
    {
      "bonus_rolls": 0.0,
      "conditions": [
        {
          "condition": "minecraft:inverted",
          "term": {
            "condition": "minecraft:match_tool",
            "predicate": {
              "enchantments": [
                {
                  "enchantment": "minecraft:silk_touch"
                }
              ]
            }
          }
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "name": "hexcasting:amethyst_dust"
        }
      ],
      "functions": [
        {
          "add": false,
          "count": {
            "type": "minecraft:uniform",
            "max": 4.0,
            "min": 0.0
          },
          "function": "minecraft:set_count"
        }
      ],
      "rolls": 1.0
    },
    {
      "bonus_rolls": 0.0,
      "conditions": [
        {
          "condition": "minecraft:inverted",
          "term": {
            "condition": "minecraft:match_tool",
            "predicate": {
              "enchantments": [
                {
                  "enchantment": "minecraft:silk_touch"
                }
              ]
            }
          }
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:amethyst_shard"
        }
      ],
      "functions": [
        {
          "add": false,
          "count": {
            "type": "minecraft:uniform",
            "max": 8.0,
            "min": 4.0
          },
          "function": "minecraft:set_count"
        }
      ],
      "rolls": 1.0
    },
    {
      "bonus_rolls": 0.0,
      "conditions": [
        {
          "condition": "minecraft:inverted",
          "term": {
            "condition": "minecraft:match_tool",
            "predicate": {
              "enchantments": [
                {
                  "enchantment": "minecraft:silk_touch"
                }
              ]
            }
          }
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "name": "hexcasting:charged_amethyst"
        }
      ],
      "functions": [
        {
          "add": false,
          "count": {
            "type": "minecraft:uniform",
            "max": 1.0,
            "min": 0.0
          },
          "function": "minecraft:set_count"
        }
      ],
      "rolls": 1.0
    },
    {
      "bonus_rolls": 0.0,
      "conditions": [
        {
          "condition": "minecraft:inverted",
          "term": {
            "condition": "minecraft:inverted",
            "term": {
              "condition": "minecraft:match_tool",
              "predicate": {
                "enchantments": [
                  {
                    "enchantment": "minecraft:silk_touch"
                  }
                ]
              }
            }
          }
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "name": "hexcasting:quenched_allay"
        }
      ],
      "rolls": 1.0
    }
  ]
}