添加交互器打开方式选项、添加将假人分数忽略的地毯脚本
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
## 运行事件
|
||||
function #fz:module/interactor/event/on_click/on_click
|
||||
|
||||
## 重置进度
|
||||
advancement revoke @s only fz:module/interactor/on_click
|
||||
@@ -1,3 +0,0 @@
|
||||
# 本目录用于存放向事件中注册的函数,并不用来新建事件
|
||||
|
||||
execute if entity @s[x_rotation = -90] run function #fz:module/interactor/on_interact
|
||||
@@ -0,0 +1,3 @@
|
||||
# 本目录用于存放向事件中注册的函数,并不用来新建事件
|
||||
|
||||
execute if score @s fz.module.interactor.player.config matches 1 if entity @s[x_rotation = -90] run function #fz:module/interactor/display
|
||||
@@ -0,0 +1,4 @@
|
||||
## 调试
|
||||
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": "重置了交互器事件进度"}]
|
||||
|
||||
advancement revoke @s from fz:module/interactor/on_click
|
||||
Reference in New Issue
Block a user