fz-survival-datapack/data/fz/functions/event/player/reset_advancements.mcfunction

16 lines
911 B
Mcfunction

## 复位所有事件进度
advancement revoke @s only fz:event/on_aviate_one_meter
advancement revoke @s only fz:event/on_dead
advancement revoke @s only fz:event/on_dig
advancement revoke @s only fz:event/on_interacted_with_entity/on_shears_used_on_entity
advancement revoke @s only fz:event/on_login
advancement revoke @s only fz:event/on_piglin_trade
advancement revoke @s only fz:event/on_play_one_hour
advancement revoke @s only fz:event/on_sneak
advancement revoke @s only fz:event/on_take_damage
advancement revoke @s only fz:event/on_tools_used_on_block
advancement revoke @s only fz:event/on_unsneak
advancement revoke @s only fz:event/on_villager_trade
## 调试
execute if score fz.logger.level fz.variable.integer matches ..400 run tellraw @a [{"nbt": "fz.level.debug", "interpret": true, "storage": "fz:logger"}, {"text": "已重置玩家"}, {"selector": "@s"}, {"text": "的所有事件成就"}]