Detect a player unlocking any advancement
Is there any way to do this using datapacks? I specifically want to detect advancements that would show up in chat if announce advancements is enabled. Ideally without hardcoding it for every individual advancement.