Advancement can be granted, but it doesn't run the function

  "criteria": {
    "arrow_blocked": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "blocked": true,
          "source_entity": {
            "type": "#minecraft:arrows"
          }
        }
      }
    },
    "trident_blocked": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "blocked": true,
          "source_entity": {
            "type": "minecraft:trident"
          }
        }
      }
    },
    "using_shield": {
      "trigger": "minecraft:using_item",
      "conditions": {
        "item": {
          "items": "minecraft:shield",
          "components": {
            "minecraft:custom_data": "{slime_shield:1b}"
          }
        }
      }
    }
  },
  "requirements": [
    [
      "arrow_blocked",
      "trident_blocked"
    ],
    [
      "using_shield"
    ]
  ],
  "rewards": {
    "function": "silly_shields:slime_shield_ranged"
  }
}```
Continue to help post