diff --git a/data/macro/function/hook/on_player_death.mcfunction b/data/macro/function/hook/on_player_death.mcfunction new file mode 100644 index 0000000..8348297 --- /dev/null +++ b/data/macro/function/hook/on_player_death.mcfunction @@ -0,0 +1,7 @@ +# macro:hook/on_player_death +# Reward: player_death advancement (entity_killed_player trigger) +# @s = ölen oyuncu +advancement revoke @s only macro:hook/player_death +data modify storage macro:engine _hook_fire_tmp set value {event:"player_death"} +function macro:hook/internal/fire with storage macro:engine _hook_fire_tmp +data remove storage macro:engine _hook_fire_tmp