{
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_sword",
          "conditions": [
            {
              "condition": "minecraft:value_check",
              "value": {
                "type": "minecraft:score",
                "target": {
                  "type": "minecraft:fixed",
                  "name": "#armour"
                },
                "score": "sanguine.dummy"
              },
              "range": 1
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:golden_axe",
          "conditions": [
            {
              "condition": "minecraft:value_check",
              "value": {
                "type": "minecraft:score",
                "target": {
                  "type": "minecraft:fixed",
                  "name": "#armour"
                },
                "score": "sanguine.dummy"
              },
              "range": 2
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond_sword",
          "conditions": [
            {
              "condition": "minecraft:value_check",
              "value": {
                "type": "minecraft:score",
                "target": {
                  "type": "minecraft:fixed",
                  "name": "#armour"
                },
                "score": "sanguine.dummy"
              },
              "range": 3
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_axe",
          "conditions": [
            {
              "condition": "minecraft:value_check",
              "value": {
                "type": "minecraft:score",
                "target": {
                  "type": "minecraft:fixed",
                  "name": "#armour"
                },
                "score": "sanguine.dummy"
              },
              "range": 4
            }
          ]
        }
      ],
      "functions": [
        {
          "function": "minecraft:enchant_randomly",
          "enchantments": [
            "minecraft:fire_aspect",
            "minecraft:sharpness",
            "minecraft:knockback",
            "minecraft:protection"
          ],
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.4
            }
          ]
        }
      ]
    }
  ]
}
