{
  "type": "minecraft:entity",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:loot_table",
          "value": "minecraft:entities/drowned"
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:loot_table",
          "value": "survivalplus:watertrinket"
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:any_of",
          "terms": [
            {
              "condition": "minecraft:entity_properties",
              "entity": "attacking_player",
              "predicate": {
                "nbt": "{Tags:[luckyfoot]}"
              }
            },
            {
              "condition": "minecraft:entity_properties",
              "entity": "attacking_player",
              "predicate": {
                "nbt": "{Inventory:[{components:{\"minecraft:custom_data\":{luck:tag}}}]}"
              }
            }
          ]
        },
        {
          "condition": "minecraft:random_chance",
          "chance": 0.15
        }
      ]
    }
  ]
}