Is there any way to revoke an advancement?

Started by shakkanakki baabili on

Topic category: Help with modding (Java Edition)

Last seen on 17:55, 15. Sep 2024
Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there any way to revoke an advancement?
Sat, 09/14/2024 - 20:43 (edited)

By revoking I don't mean removing vanilla advancements, just to replicate the command /advancement revoke @s X. My idea is to make it so when a player dies all of their advancements are gone.
EDIT: Also I know I can use the execute command block but it won't work for worlds/servers without cheats enabled

Edited by shakkanakki baabili on Sat, 09/14/2024 - 20:43
Last seen on 19:51, 17. Sep 2024
Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Create a new procedure that…
Sun, 09/15/2024 - 01:21

Create a new procedure that triggers when entity dies

If entity is of sub-type Player or Server Player

-Execute as [Target Entity] run /advancement revoke @s everything

Image

Download Procedure (Create a new procedure and click on the right above corner "Import Procedure")