Started by
shakkanakki baabili
on
Topic category: Help with Minecraft modding (Java Edition)
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
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")