Is it possible to create an advancement that is granted after x days of gameplay with datapack?

I'm creating a datapack that adds new advancements to skyblock, but I don't have much technical knowledge ><". But I'd like to do two things:

  • an advancement that is granted after 100 days of play

  • an advancement that is granted when the player places 10 dirt blocks in a specific biome.

Maybe create a scoreboard that will count this and grant advancement? I don't know, does anyone know of a solution?

Continue to help post