2020-11-27 00:27:49 +08:00
|
|
|
|
#由config/sneak和config/unsneak成就触发
|
|
|
|
|
#判断玩家视角是否指向正上方,是则运行turnon函数
|
2021-08-03 06:30:28 +08:00
|
|
|
|
execute if data storage fz:survival installed{config: 1b} if entity @s[x_rotation=-90] run function fz:config/turnon
|
2020-11-27 00:27:49 +08:00
|
|
|
|
#重置该玩家的两个成就
|
|
|
|
|
advancement revoke @s only fz:config/sneak
|
|
|
|
|
advancement revoke @s only fz:config/unsneak
|