{
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:emerald"
        }
      ],
      "functions": [
        {
          "function": "minecraft:set_count",
          "count": 5,
          "add": true,
          "conditions": [
            {
              "condition": "minecraft:match_tool",
              "predicate": {
                "tag": "forge:armors"
              }
            }
          ]
        },
        {
          "function": "minecraft:set_count",
          "count": 3,
          "add": true,
          "conditions": [
            {
              "condition": "minecraft:match_tool",
              "predicate": {
                "tag": "forge:tools"
              }
            }
          ]
        },
        {
          "function": "minecraft:set_count",
          "count": 3,
          "add": true,
          "conditions": [
            {
              "condition": "deathtaxes:has_rarity",
              "rarity": "uncommon"
            }
          ]
        },
        {
          "function": "minecraft:set_count",
          "count": 6,
          "add": true,
          "conditions": [
            {
              "condition": "deathtaxes:has_rarity",
              "rarity": "rare"
            }
          ]
        },
        {
          "function": "minecraft:set_count",
          "count": 9,
          "add": true,
          "conditions": [
            {
              "condition": "deathtaxes:has_rarity",
              "rarity": "epic"
            }
          ]
        },
        {
          "function": "minecraft:set_count",
          "count": 9,
          "add": true,
          "conditions": [
            {
              "condition": "deathtaxes:has_enchantment"
            }
          ]
        }
      ]
    }
  ]
}