{
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:loot_table",
          "value": "survivalplus:entities/player/tools/stone",
          "weight": 8,
          "conditions": [
            {
              "condition": "minecraft:entity_properties",
              "entity": "this",
              "predicate": {
                "equipment": {
                  "mainhand": {
                    "items": [
                      "minecraft:stone_sword"
                    ]
                  }
                }
              }
            }
          ]
        },
        {
          "type": "minecraft:loot_table",
          "value": "survivalplus:entities/player/tools/iron",
          "weight": 6,
          "conditions": [
            {
              "condition": "minecraft:entity_properties",
              "entity": "this",
              "predicate": {
                "equipment": {
                  "mainhand": {
                    "items": [
                      "minecraft:iron_sword"
                    ]
                  }
                }
              }
            }
          ]
        },
        {
          "type": "minecraft:loot_table",
          "value": "survivalplus:entities/player/tools/diamond",
          "weight": 1,
          "conditions": [
            {
              "condition": "minecraft:entity_properties",
              "entity": "this",
              "predicate": {
                "equipment": {
                  "mainhand": {
                    "items": [
                      "minecraft:diamond_sword"
                    ]
                  }
                }
              }
            }
          ]
        }
      ],
      "functions": [
        {
          "function": "minecraft:set_damage",
          "damage": {
            "min": 0.14,
            "max": 0.61
          }
        }
      ]
    }
  ]
}