{
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:golden_sword",
          "functions": [
            {
              "function": "minecraft:set_components",
              "components": {
                "minecraft:rarity": "uncommon",
                "minecraft:max_damage": 200,
                "minecraft:custom_data": "{vampsword:tag}",
                "minecraft:item_name": "Vampiric Blade",
                "minecraft:lore": [
                  {
                    "text": "Chance to get healing on hit",
                    "color": "gray",
                    "italic": false
                  }
                ]
              }
            }
          ]
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:random_chance",
          "chance": 0.05
        },
        {
          "condition": "minecraft:killed_by_player"
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:loot_table",
          "value": "survivalplus:pots/ghost"
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:random_chance",
          "chance": 0.18
        },
        {
          "condition": "minecraft:killed_by_player"
        }
      ]
    }
  ]
}