how to check if a player has entered a new biome with advancements

  "criteria": {
    "requirement": {
      "trigger": "minecraft:location",
      "conditions": {
        "player": {
          "location": {
            "structures": [
              "minecraft:jungle_pyramid"
            ]
          },
          "slots": {}
        }
      }
    }
  },
  "rewards": {
    "function": "aeternum:leveling/result"
  }
}```


I have this atm but it continuously runs whenever im in the structure. what I want is to make the reward only run when the player discovers a jungle temple for the first time.
Continue to help post