实现交互按钮
This commit is contained in:
parent
7b2136c282
commit
90a4a61855
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@ -14,6 +14,7 @@
|
||||
"logAlert": "execute if score fz.logger.level fz.variable.integer matches ..600 run tellraw @a [{\"nbt\": \"fz.level.alert\", \"interpret\": true, \"storage\": \"fz:logger\"}, {\"text\": \"${1:log_alert}\"}]",
|
||||
"logError": "execute if score fz.logger.level fz.variable.integer matches ..800 run tellraw @a [{\"nbt\": \"fz.level.error\", \"interpret\": true, \"storage\": \"fz:logger\"}, {\"text\": \"${1:log_error}\"}]",
|
||||
"TEXT": "{\"text\": \"${1:TEXT}\", \"color\": \"${2:COLOR}\"}",
|
||||
"storageText": "{\"nbt\": \"${1:NBT}\", \"interpret\": true, \"storage\": \"${2:A namespaced ID}\"}"
|
||||
"storageText": "{\"nbt\": \"${1:NBT}\", \"interpret\": true, \"storage\": \"${2:A namespaced ID}\"}",
|
||||
"ifInstalled": "execute if data storage fz:installed fz.module{${1:module_name}:1b} run ${tellraw}"
|
||||
}
|
||||
}
|
@ -41,7 +41,7 @@
|
||||
- 在[`#fz:game_event/(<...>/)on_<事件>`](data/fz/tags/functions/game_event/)标签中注册触发时需要调用的函数即可
|
||||
|
||||
### 日志模块
|
||||
- 仓库中提供了日志相关的代码片段,位于`.vscode/settings.json`
|
||||
- 仓库中提供了日志相关的代码片段,位于[`.vscode/settings.json`](.vscode/settings.json)
|
||||
- 暂时没有找到方法在服务端控制台打印日志,但会被记录在客户端
|
||||
|
||||
#### 详细 Fine
|
||||
|
@ -1,5 +1,6 @@
|
||||
|
||||
|
||||
function #fz:uninstall
|
||||
function #fz:install
|
||||
function #fz:load
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
# 本目录用于存放向事件中注册的函数,并不用来新建事件
|
||||
|
||||
execute if entity @s[x_rotation = -90] run function #fz:module/config/on_config
|
@ -1,6 +0,0 @@
|
||||
# 调用者:fz:module/config/trigger
|
||||
|
||||
## 如果分数大于0说明玩家点击了按钮
|
||||
execute as @a if score @s fz.module.config.trigger matches 1.. run function #fz:module/config/on_click/on_click
|
||||
|
||||
schedule function fz:module/config/loop 1t replace
|
@ -1,2 +0,0 @@
|
||||
## 设置或重制超时时间
|
||||
schedule function #fz:module/config/timeout 300s replace
|
@ -1,6 +1,6 @@
|
||||
data modify storage fz:here fz.nether_pos set value [0, 0]
|
||||
execute store result storage fz:here fz.nether_pos[0] int 0.125 run data get entity @s Pos[0]
|
||||
execute store result storage fz:here fz.nether_pos[1] int 0.125 run data get entity @s Pos[2]
|
||||
execute store result storage fz:here fz.nether.x int 0.125 run data get entity @s Pos[0]
|
||||
execute store result storage fz:here fz.nether.z int 0.125 run data get entity @s Pos[2]
|
||||
data modify storage fz:global fz.api.dimension.id set value "minecraft:the_nether"
|
||||
function #fz:api/get_dimension_name
|
||||
data modify storage fz:here fz.message[2] set value '[{"text": ",对应", "color": "white"}, {"nbt": "fz.api.dimension.name", "interpret": true, "storage": "fz:global"}, [{"text": "[", "color": "green"}, {"nbt": "fz.nether_pos[0]", "storage": "fz:here"}, {"text": ", "}, {"nbt": "fz.nether_pos[1]", "storage": "fz:here"}, {"text": "]"}]]'
|
||||
data modify storage fz:here fz.message[2] set value '[{"text": ",对应", "color": "white"}, {"nbt": "fz.api.dimension.name", "interpret": true, "storage": "fz:global"}, [{"text": "[", "color": "green"}, {"nbt": "fz.nether.x", "storage": "fz:here"}, {"text": ", "}, {"nbt": "fz.nether.z", "storage": "fz:here"}, {"text": "]"}]]'
|
@ -1,6 +1,6 @@
|
||||
data modify storage fz:here fz.overworld_pos set value [0, 0]
|
||||
execute store result storage fz:here fz.overworld_pos[0] int 8 run data get entity @s Pos[0]
|
||||
execute store result storage fz:here fz.overworld_pos[1] int 8 run data get entity @s Pos[2]
|
||||
execute store result storage fz:here fz.overworld.x int 8 run data get entity @s Pos[0]
|
||||
execute store result storage fz:here fz.overworld.z int 8 run data get entity @s Pos[2]
|
||||
data modify storage fz:global fz.api.dimension.id set value "minecraft:overworld"
|
||||
function #fz:api/get_dimension_name
|
||||
data modify storage fz:here fz.message[2] set value '[{"text": ",对应", "color": "white"}, {"nbt": "fz.api.dimension.name", "interpret": true, "storage": "fz:global"}, [{"text": "[", "color": "green"}, {"nbt": "fz.overworld_pos[0]", "storage": "fz:here"}, {"text": ", "}, {"nbt": "fz.overworld_pos[1]", "storage": "fz:here"}, {"text": "]"}]]'
|
||||
data modify storage fz:here fz.message[2] set value '[{"text": ",对应", "color": "white"}, {"nbt": "fz.api.dimension.name", "interpret": true, "storage": "fz:global"}, [{"text": "[", "color": "green"}, {"nbt": "fz.overworld.x", "storage": "fz:here"}, {"text": ", "}, {"nbt": "fz.overworld.z", "storage": "fz:here"}, {"text": "]"}]]'
|
@ -1,10 +1,10 @@
|
||||
## fz.cache.pos已在install中初始化
|
||||
execute store result storage fz:here fz.pos[0] int 1 run data get entity @s Pos[0]
|
||||
execute store result storage fz:here fz.pos[1] int 1 run data get entity @s Pos[1]
|
||||
execute store result storage fz:here fz.pos[2] int 1 run data get entity @s Pos[2]
|
||||
data modify storage fz:here fz.message[0] set from storage fz:global fz.api.dimension.name
|
||||
data modify storage fz:here fz.message[1] set value '[{"text": "[", "color": "green"}, {"nbt": "fz.pos[0]", "storage": "fz:here"}, {"text": ", "}, {"nbt": "fz.pos[1]", "storage": "fz:here"}, {"text": ", "}, {"nbt": "fz.pos[2]", "storage": "fz:here"}, {"text": "]"}]'
|
||||
data modify storage fz:here fz.message[2] set value ''
|
||||
execute store result storage fz:here fz.x int 1 run data get entity @s Pos[0]
|
||||
execute store result storage fz:here fz.y int 1 run data get entity @s Pos[1]
|
||||
execute store result storage fz:here fz.z int 1 run data get entity @s Pos[2]
|
||||
data modify storage fz:here fz.message.dimension set from storage fz:global fz.api.dimension.name
|
||||
data modify storage fz:here fz.message.position set value '[{"text": "[", "color": "green"}, {"nbt": "fz.x", "storage": "fz:here"}, {"text": ", "}, {"nbt": "fz.y", "storage": "fz:here"}, {"text": ", "}, {"nbt": "fz.z", "storage": "fz:here"}, {"text": "]"}]'
|
||||
data modify storage fz:here fz.message.append set value ''
|
||||
|
||||
## 调试
|
||||
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": "获取了位置信息"}]
|
@ -1 +1 @@
|
||||
tellraw @a [{"text": "", "color": "white"}, {"selector": "@s"}, {"text": "说:"}, {"text": "我在"}, {"nbt": "fz.message[0]", "interpret": true, "storage": "fz:here"}, {"nbt": "fz.message[1]", "interpret": true, "storage": "fz:here"}, {"nbt": "fz.message[2]", "interpret": true, "storage": "fz:here"}]
|
||||
tellraw @a [{"text": "", "color": "white"}, {"selector": "@s"}, {"text": "说:"}, {"text": "我在"}, {"nbt": "fz.message.dimension", "interpret": true, "storage": "fz:here"}, {"nbt": "fz.message.position", "interpret": true, "storage": "fz:here"}, {"nbt": "fz.message.append", "interpret": true, "storage": "fz:here"}]
|
@ -1,8 +1,5 @@
|
||||
data modify storage fz:here fz.pos set value [0, 0, 0]
|
||||
data modify storage fz:here fz.message set value ['', '', '']
|
||||
|
||||
## 标记为已安装
|
||||
data modify storage fz:installed fz.module.here set value 1b
|
||||
|
||||
## 日志
|
||||
execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已安装组件:here"}]
|
||||
execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已安装组件:玩家位置"}]
|
@ -0,0 +1 @@
|
||||
execute if data storage fz:installed fz.module{last_nether_portal:1b} run tellraw @s [{"text": "获取位置:"},[{"text": "[", "hoverEvent": {"action": "show_text", "value": "发送给:自己"}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 2000"}},{"text": "私信", "color": "aqua"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "value": "发送给:所有人"}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 2010"}},{"text": "广播", "color": "aqua"},{"text": "]"}]]
|
@ -0,0 +1,2 @@
|
||||
execute if score @s fz.module.interactor.trigger matches 2000 run function #fz:module/here/private_message
|
||||
execute if score @s fz.module.interactor.trigger matches 2010 run function #fz:module/here/global_message
|
@ -1 +1 @@
|
||||
tellraw @s [{"text": "你在", "color": "white"}, {"nbt": "fz.message[0]", "interpret": true, "storage": "fz:here"}, {"nbt": "fz.message[1]", "interpret": true, "storage": "fz:here"}, {"nbt": "fz.message[2]", "interpret": true, "storage": "fz:here"}]
|
||||
tellraw @s [{"text": "你在", "color": "white"}, {"nbt": "fz.message.dimension", "interpret": true, "storage": "fz:here"}, {"nbt": "fz.message.position", "interpret": true, "storage": "fz:here"}, {"nbt": "fz.message.append", "interpret": true, "storage": "fz:here"}]
|
@ -4,4 +4,4 @@ data remove storage fz:here fz
|
||||
data modify storage fz:installed fz.module.here set value 0b
|
||||
|
||||
## 日志
|
||||
execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已卸载组件:here"}]
|
||||
execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已卸载组件:玩家位置"}]
|
@ -0,0 +1,3 @@
|
||||
# 本目录用于存放向事件中注册的函数,并不用来新建事件
|
||||
|
||||
execute if entity @s[x_rotation = -90] run function #fz:module/interactor/on_interact
|
@ -1,7 +1,7 @@
|
||||
scoreboard objectives add fz.module.config.trigger trigger
|
||||
scoreboard objectives add fz.module.interactor.trigger trigger
|
||||
|
||||
## 标记为已安装
|
||||
data modify storage fz:installed fz.module.config set value 1b
|
||||
data modify storage fz:installed fz.module.interactor set value 1b
|
||||
|
||||
## 日志
|
||||
execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已安装组件:配置"}]
|
@ -1,5 +1,5 @@
|
||||
schedule clear fz:module/config/loop
|
||||
execute as @a run function #fz:module/config/reset_trigger
|
||||
schedule clear fz:module/interactor/loop
|
||||
execute as @a run function #fz:module/interactor/reset_trigger
|
||||
|
||||
## 日志
|
||||
execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已加载组件:配置"}]
|
6
data/fz/functions/module/interactor/loop.mcfunction
Normal file
6
data/fz/functions/module/interactor/loop.mcfunction
Normal file
@ -0,0 +1,6 @@
|
||||
# 调用者:fz:module/interactor/trigger
|
||||
|
||||
## 如果分数大于0说明玩家点击了按钮
|
||||
execute as @a if score @s fz.module.interactor.trigger matches 1.. run function #fz:module/interactor/on_click/on_click
|
||||
|
||||
schedule function fz:module/interactor/loop 1t replace
|
@ -1,4 +1,4 @@
|
||||
# 调用者:#fz:module/config/on_click
|
||||
# 调用者:#fz:module/interactor/on_click
|
||||
|
||||
## 调试
|
||||
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": "点击了配置按钮,触发器分数为:"}, {"score": {"name": "@s", "objective": "fz.module.config.trigger"}}]
|
||||
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": "点击了配置按钮,触发器分数为:"}, {"score": {"name": "@s", "objective": "fz.module.interactor.trigger"}}]
|
@ -0,0 +1,2 @@
|
||||
## 设置或重制超时时间
|
||||
schedule function #fz:module/interactor/timeout 300s replace
|
@ -1,7 +1,7 @@
|
||||
# 调用者:#fz:module/config/reset_trigger
|
||||
# 调用者:#fz:module/interactor/reset_trigger
|
||||
|
||||
scoreboard players reset @s fz.module.config.trigger
|
||||
scoreboard players enable @s fz.module.config.trigger
|
||||
scoreboard players reset @s fz.module.interactor.trigger
|
||||
scoreboard players enable @s fz.module.interactor.trigger
|
||||
|
||||
## 调试
|
||||
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": "的触发器分数"}]
|
@ -1,4 +1,4 @@
|
||||
schedule clear fz:module/config/loop
|
||||
schedule clear fz:module/interactor/loop
|
||||
|
||||
## 日志
|
||||
execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "五分钟无人回应,已关闭配置按钮监听,再次使用时需重新唤起"}]
|
@ -1,9 +1,9 @@
|
||||
schedule clear fz:module/config/loop
|
||||
schedule clear fz:module/interactor/loop
|
||||
|
||||
scoreboard objectives remove fz.module.config.trigger
|
||||
scoreboard objectives remove fz.module.interactor.trigger
|
||||
|
||||
## 标记为已卸载
|
||||
data modify storage fz:installed fz.module.config set value 0b
|
||||
data modify storage fz:installed fz.module.interactor set value 0b
|
||||
|
||||
## 日志
|
||||
execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已卸载组件:配置"}]
|
@ -1,8 +1,7 @@
|
||||
data modify storage fz:global fz.api.dimension.id set from entity @s LastDeathLocation.dimension
|
||||
## fz.cache.pos已在install中初始化
|
||||
execute store result storage fz:last_death fz.cache.pos[0] int 1 run data get entity @s LastDeathLocation.pos[0]
|
||||
execute store result storage fz:last_death fz.cache.pos[1] int 1 run data get entity @s LastDeathLocation.pos[1]
|
||||
execute store result storage fz:last_death fz.cache.pos[2] int 1 run data get entity @s LastDeathLocation.pos[2]
|
||||
execute store result storage fz:last_death fz.x int 1 run data get entity @s LastDeathLocation.pos[0]
|
||||
execute store result storage fz:last_death fz.y int 1 run data get entity @s LastDeathLocation.pos[1]
|
||||
execute store result storage fz:last_death fz.z int 1 run data get entity @s LastDeathLocation.pos[2]
|
||||
|
||||
## 调试
|
||||
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": "获取了死亡点"}]
|
@ -1,7 +1,5 @@
|
||||
data modify storage fz:last_death fz.cache.pos set value [0, 0, 0]
|
||||
|
||||
## 标记为已安装
|
||||
data modify storage fz:installed fz.module.last_death set value 1b
|
||||
|
||||
## 日志
|
||||
execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已安装组件:死亡点"}]
|
||||
execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已安装组件:上一死亡点"}]
|
@ -0,0 +1 @@
|
||||
execute if data storage fz:installed fz.module{last_death:1b} run tellraw @s [{"text": "获取上一死亡点:"},[{"text": "[", "hoverEvent": {"action": "show_text", "value": "发送给:自己"}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 2100"}},{"text": "私信", "color": "aqua"},{"text": "]"}]]
|
@ -0,0 +1 @@
|
||||
execute if score @s fz.module.interactor.trigger matches 2100 run function #fz:module/last_death/private_message
|
@ -1 +1,2 @@
|
||||
tellraw @s [{"text": "你上次死亡于"}, {"nbt": "fz.api.dimension.name", "interpret": true, "storage": "fz:global"}, [{"text": "[", "color": "green"}, {"nbt": "fz.cache.pos[0]", "storage": "fz:last_death"}, {"text": ", "}, {"nbt": "fz.cache.pos[1]", "storage": "fz:last_death"}, {"text": ", "}, {"nbt": "fz.cache.pos[2]", "storage": "fz:last_death"}, {"text": "]"}]]
|
||||
execute if data entity @s LastDeathLocation run tellraw @s [{"text": "你上次死亡于"}, {"nbt": "fz.api.dimension.name", "interpret": true, "storage": "fz:global"}, [{"text": "[", "color": "green"}, {"nbt": "fz.x", "storage": "fz:last_death"}, {"text": ", "}, {"nbt": "fz.y", "storage": "fz:last_death"}, {"text": ", "}, {"nbt": "fz.z", "storage": "fz:last_death"}, {"text": "]"}]]
|
||||
execute unless data entity @s LastDeathLocation run tellraw @s {"text": "你从未死亡!"}
|
@ -4,4 +4,4 @@ data remove storage fz:last_death fz
|
||||
data modify storage fz:installed fz.module.last_death set value 0b
|
||||
|
||||
## 日志
|
||||
execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已卸载组件:死亡点"}]
|
||||
execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已卸载组件:上一死亡点"}]
|
@ -1,2 +1,5 @@
|
||||
execute if score @s fz.module.last_nether_portal.dimension matches 0 run data modify storage fz:global fz.api.dimension.id set value "minecraft:overworld"
|
||||
execute if score @s fz.module.last_nether_portal.dimension matches -1 run data modify storage fz:global fz.api.dimension.id set value "minecraft:the_nether"
|
||||
|
||||
## 调试
|
||||
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": "获取了上次穿出的地狱门"}]
|
@ -1 +1,2 @@
|
||||
tellraw @a [{"selector": "@s"}, [{"text": "说:我上次穿出的下界传送门位于", "color": "white"}, {"nbt": "fz.message", "interpret": true, "storage": "fz:last_nether_portal"}]]
|
||||
execute if score @s fz.module.last_nether_portal.dimension matches -2147483648..2147483647 run tellraw @a [{"selector": "@s"}, [{"text": "说:我上次穿出的下界传送门位于", "color": "white"}, {"nbt": "fz.message", "interpret": true, "storage": "fz:last_nether_portal"}]]
|
||||
execute unless score @s fz.module.last_nether_portal.dimension matches -2147483648..2147483647 run tellraw @s {"text": "你从未穿出过下界传送门!"}
|
@ -3,3 +3,9 @@ scoreboard objectives add fz.module.last_nether_portal.x dummy
|
||||
scoreboard objectives add fz.module.last_nether_portal.y dummy
|
||||
scoreboard objectives add fz.module.last_nether_portal.z dummy
|
||||
data modify storage fz:last_nether_portal fz.message set value '[{"nbt": "fz.api.dimension.name", "interpret": true, "storage": "fz:global"}, [{"text": "[", "color": "green"}, {"score": {"name": "@s", "objective": "fz.module.last_nether_portal.x"}}, {"text": ", "}, {"score": {"name": "@s", "objective": "fz.module.last_nether_portal.z"}}, {"text": ", "}, {"score": {"name": "@s", "objective": "fz.module.last_nether_portal.z"}}, {"text": "]"}]]'
|
||||
|
||||
## 标记为已安装
|
||||
data modify storage fz:installed fz.module.last_nether_portal set value 1b
|
||||
|
||||
## 日志
|
||||
execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已安装组件:上次穿出的下界传送门"}]
|
@ -0,0 +1 @@
|
||||
execute if data storage fz:installed fz.module{last_nether_portal:1b} run tellraw @s [{"text": "获取上次穿出的下界传送门:"},[{"text": "[", "hoverEvent": {"action": "show_text", "value": "发送给:自己"}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 2200"}},{"text": "私信", "color": "aqua"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "value": "发送给:所有人"}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 2210"}},{"text": "广播", "color": "aqua"},{"text": "]"}]]
|
@ -0,0 +1,2 @@
|
||||
execute if score @s fz.module.interactor.trigger matches 2200 run function #fz:module/last_nether_portal/private_message
|
||||
execute if score @s fz.module.interactor.trigger matches 2210 run function #fz:module/last_nether_portal/global_message
|
@ -1 +1,2 @@
|
||||
tellraw @a [{"text": "你上次穿出的下界传送门位于"}, {"nbt": "fz.message", "interpret": true, "storage": "fz:last_nether_portal"}]
|
||||
execute if score @s fz.module.last_nether_portal.dimension matches -2147483648..2147483647 run tellraw @s [{"text": "你上次穿出的下界传送门位于"}, {"nbt": "fz.message", "interpret": true, "storage": "fz:last_nether_portal"}]
|
||||
execute unless score @s fz.module.last_nether_portal.dimension matches -2147483648..2147483647 run tellraw @s {"text": "你从未穿出过下界传送门!"}
|
@ -1,4 +1,11 @@
|
||||
scoreboard objectives remove fz.module.last_nether_portal.dimension
|
||||
scoreboard objectives remove fz.module.last_nether_portal.x
|
||||
scoreboard objectives remove fz.module.last_nether_portal.y
|
||||
scoreboard objectives remove fz.module.last_nether_portal.z
|
||||
data remove storage fz:last_nether_portal fz
|
||||
|
||||
## 标记为已安装
|
||||
data modify storage fz:installed fz.module.last_nether_portal set value 0b
|
||||
|
||||
## 日志
|
||||
execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已卸载组件:上次穿出的下界传送门"}]
|
@ -0,0 +1,7 @@
|
||||
data modify storage fz:global fz.api.dimension.id set from entity @s SpawnDimension
|
||||
data modify storage fz:last_spawn_point fz.x set from entity @s SpawnX
|
||||
data modify storage fz:last_spawn_point fz.y set from entity @s SpawnY
|
||||
data modify storage fz:last_spawn_point fz.z set from entity @s SpawnZ
|
||||
|
||||
## 调试
|
||||
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": "获取了出生点"}]
|
@ -0,0 +1,5 @@
|
||||
## 标记为已安装
|
||||
data modify storage fz:installed fz.module.last_spawn_point set value 1b
|
||||
|
||||
## 日志
|
||||
execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已安装组件:上一出生点"}]
|
@ -0,0 +1 @@
|
||||
execute if data storage fz:installed fz.module{last_spawn_point:1b} run tellraw @s [{"text": "获取上一出生点:"},[{"text": "[", "hoverEvent": {"action": "show_text", "value": "发送给:自己"}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 2300"}},{"text": "私信", "color": "aqua"},{"text": "]"}]]
|
@ -0,0 +1 @@
|
||||
execute if score @s fz.module.interactor.trigger matches 2300 run function #fz:module/last_spawn_point/private_message
|
@ -0,0 +1,2 @@
|
||||
execute if data entity @s SpawnDimension run tellraw @s [{"text": "你的上个出生点位于"}, {"nbt": "fz.api.dimension.name", "interpret": true, "storage": "fz:global"}, [{"text": "[x: ", "color": "green"}, {"nbt": "fz.x", "storage": "fz:last_spawn_point"}, {"text": ", y: "}, {"nbt": "fz.y", "storage": "fz:last_spawn_point"}, {"text": ", z: "}, {"nbt": "fz.z", "storage": "fz:last_spawn_point"}, {"text": "]"}]]
|
||||
execute unless data entity @s SpawnDimension run tellraw @s {"text": "你从未设置过出生点!"}
|
@ -0,0 +1,5 @@
|
||||
## 标记为已安装
|
||||
data modify storage fz:installed fz.module.last_spawn_point set value 0b
|
||||
|
||||
## 日志
|
||||
execute if score fz.logger.level fz.variable.integer matches ..500 run tellraw @a [{"nbt": "fz.level.info", "interpret": true, "storage": "fz:logger"}, {"text": "已卸载组件:上一出生点"}]
|
@ -1,3 +0,0 @@
|
||||
# 调用者:#fz:module/scoreboard/config/display/buttons
|
||||
|
||||
execute if data storage fz:installed fz.module{scoreboard:1b} run tellraw @s [[{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "contents": {"text": "关", "color": "dark_red"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.config.trigger set 1000"}}, {"text": "关", "color": "dark_red"}, {"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.carousel", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.config.trigger set 1010"}}, {"nbt": "fz.scoreboard.text.carousel", "interpret": true, "storage": "fz:module"}, {"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.general", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.config.trigger set 1020"}}, {"nbt": "fz.scoreboard.text.general", "interpret": true, "storage": "fz:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.activation", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.config.trigger set 1030"}}, {"nbt": "fz.scoreboard.text.activation", "interpret": true, "storage": "fz:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.aviating_distance", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.config.trigger set 1040"}}, {"nbt": "fz.scoreboard.text.aviating_distance", "interpret": true, "storage": "fz:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.damage_taken", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.config.trigger set 1050"}}, {"nbt": "fz.scoreboard.text.damage_taken", "interpret": true, "storage": "fz:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.death_count", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.config.trigger set 1060"}}, {"nbt": "fz.scoreboard.text.death_count", "interpret": true, "storage": "fz:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.dig_count", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.config.trigger set 1070"}}, {"nbt": "fz.scoreboard.text.dig_count", "interpret": true, "storage": "fz:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.fishing_count", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.config.trigger set 1080"}}, {"nbt": "fz.scoreboard.text.fishing_count", "interpret": true, "storage": "fz:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.kill_count", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.config.trigger set 1090"}}, {"nbt": "fz.scoreboard.text.kill_count", "interpret": true, "storage": "fz:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.trade_count", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.config.trigger set 1100"}}, {"nbt": "fz.scoreboard.text.trade_count", "interpret": true, "storage": "fz:module"}, {"text": "]"}]]
|
@ -1,14 +0,0 @@
|
||||
execute if score @s fz.module.config.trigger matches 1000 run function #fz:module/scoreboard/config/subscribe/off
|
||||
execute if score @s fz.module.config.trigger matches 1010 run function #fz:module/scoreboard/config/subscribe/carousel
|
||||
execute if score @s fz.module.config.trigger matches 1020 run function #fz:module/scoreboard/config/subscribe/general
|
||||
execute if score @s fz.module.config.trigger matches 1030 run function #fz:module/scoreboard/config/subscribe/activation
|
||||
execute if score @s fz.module.config.trigger matches 1040 run function #fz:module/scoreboard/config/subscribe/aviating_distance
|
||||
execute if score @s fz.module.config.trigger matches 1050 run function #fz:module/scoreboard/config/subscribe/damage_taken
|
||||
execute if score @s fz.module.config.trigger matches 1060 run function #fz:module/scoreboard/config/subscribe/death_count
|
||||
execute if score @s fz.module.config.trigger matches 1070 run function #fz:module/scoreboard/config/subscribe/dig_count
|
||||
execute if score @s fz.module.config.trigger matches 1080 run function #fz:module/scoreboard/config/subscribe/fishing_count
|
||||
execute if score @s fz.module.config.trigger matches 1090 run function #fz:module/scoreboard/config/subscribe/kill_count
|
||||
execute if score @s fz.module.config.trigger matches 1100 run function #fz:module/scoreboard/config/subscribe/trade_count
|
||||
|
||||
## 调试
|
||||
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": "点击了计分板配置按钮,触发器分数为:"}, {"score": {"name": "@s", "objective": "fz.module.config.trigger"}}]
|
@ -1,3 +1,3 @@
|
||||
# 调用者:#fz:module/scoreboard/config/display/head
|
||||
# 调用者:#fz:module/scoreboard/interactor/display
|
||||
|
||||
execute if data storage fz:installed fz.module{scoreboard:1b} run tellraw @s {"text": "计分板:"}
|
@ -0,0 +1,3 @@
|
||||
# 调用者:#fz:module/scoreboard/interactor/display
|
||||
|
||||
execute if data storage fz:installed fz.module{scoreboard:1b} run tellraw @s [[{"text": "[", "color": "dark_gray", "hoverEvent": {"action": "show_text", "contents": {"text": "关", "color": "dark_red"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 1000"}}, {"text": "关", "color": "dark_red"}, {"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.carousel", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 1010"}}, {"nbt": "fz.scoreboard.text.carousel", "interpret": true, "storage": "fz:module"}, {"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.general", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 1020"}}, {"nbt": "fz.scoreboard.text.general", "interpret": true, "storage": "fz:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.activation", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 1030"}}, {"nbt": "fz.scoreboard.text.activation", "interpret": true, "storage": "fz:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.aviating_distance", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 1040"}}, {"nbt": "fz.scoreboard.text.aviating_distance", "interpret": true, "storage": "fz:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.damage_taken", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 1050"}}, {"nbt": "fz.scoreboard.text.damage_taken", "interpret": true, "storage": "fz:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.death_count", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 1060"}}, {"nbt": "fz.scoreboard.text.death_count", "interpret": true, "storage": "fz:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.dig_count", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 1070"}}, {"nbt": "fz.scoreboard.text.dig_count", "interpret": true, "storage": "fz:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.fishing_count", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 1080"}}, {"nbt": "fz.scoreboard.text.fishing_count", "interpret": true, "storage": "fz:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.kill_count", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 1090"}}, {"nbt": "fz.scoreboard.text.kill_count", "interpret": true, "storage": "fz:module"},{"text": "]"}], [{"text": "[", "hoverEvent": {"action": "show_text", "contents": {"nbt": "fz.scoreboard.text.trade_count", "interpret": true, "storage": "fz:module"}}, "clickEvent": {"action": "run_command", "value": "/trigger fz.module.interactor.trigger set 1100"}}, {"nbt": "fz.scoreboard.text.trade_count", "interpret": true, "storage": "fz:module"}, {"text": "]"}]]
|
@ -0,0 +1,11 @@
|
||||
execute if score @s fz.module.interactor.trigger matches 1000 run function #fz:module/scoreboard/interactor/subscribe/off
|
||||
execute if score @s fz.module.interactor.trigger matches 1010 run function #fz:module/scoreboard/interactor/subscribe/carousel
|
||||
execute if score @s fz.module.interactor.trigger matches 1020 run function #fz:module/scoreboard/interactor/subscribe/general
|
||||
execute if score @s fz.module.interactor.trigger matches 1030 run function #fz:module/scoreboard/interactor/subscribe/activation
|
||||
execute if score @s fz.module.interactor.trigger matches 1040 run function #fz:module/scoreboard/interactor/subscribe/aviating_distance
|
||||
execute if score @s fz.module.interactor.trigger matches 1050 run function #fz:module/scoreboard/interactor/subscribe/damage_taken
|
||||
execute if score @s fz.module.interactor.trigger matches 1060 run function #fz:module/scoreboard/interactor/subscribe/death_count
|
||||
execute if score @s fz.module.interactor.trigger matches 1070 run function #fz:module/scoreboard/interactor/subscribe/dig_count
|
||||
execute if score @s fz.module.interactor.trigger matches 1080 run function #fz:module/scoreboard/interactor/subscribe/fishing_count
|
||||
execute if score @s fz.module.interactor.trigger matches 1090 run function #fz:module/scoreboard/interactor/subscribe/kill_count
|
||||
execute if score @s fz.module.interactor.trigger matches 1100 run function #fz:module/scoreboard/interactor/subscribe/trade_count
|
@ -1,4 +1,4 @@
|
||||
# 调用者:fz:module/scoreboard/config/subscribe/~
|
||||
# 调用者:fz:module/scoreboard/interactor/subscribe/~
|
||||
|
||||
team join fz.module.scoreboard.display.activation @s
|
||||
|
@ -1,4 +1,4 @@
|
||||
# 调用者:fz:module/scoreboard/config/subscribe/~
|
||||
# 调用者:fz:module/scoreboard/interactor/subscribe/~
|
||||
|
||||
team join fz.module.scoreboard.display.aviating_distance @s
|
||||
|
@ -1,4 +1,4 @@
|
||||
# 调用者:fz:module/scoreboard/config/subscribe/~
|
||||
# 调用者:fz:module/scoreboard/interactor/subscribe/~
|
||||
|
||||
team join fz.module.scoreboard.display.carousel @s
|
||||
|
@ -1,4 +1,4 @@
|
||||
# 调用者:fz:module/scoreboard/config/subscribe/~
|
||||
# 调用者:fz:module/scoreboard/interactor/subscribe/~
|
||||
|
||||
team join fz.module.scoreboard.display.damage_taken @s
|
||||
|
@ -1,4 +1,4 @@
|
||||
# 调用者:fz:module/scoreboard/config/subscribe/~
|
||||
# 调用者:fz:module/scoreboard/interactor/subscribe/~
|
||||
|
||||
team join fz.module.scoreboard.display.death_count @s
|
||||
|
@ -1,4 +1,4 @@
|
||||
# 调用者:fz:module/scoreboard/config/subscribe/~
|
||||
# 调用者:fz:module/scoreboard/interactor/subscribe/~
|
||||
|
||||
team join fz.module.scoreboard.display.dig_count @s
|
||||
|
@ -1,4 +1,4 @@
|
||||
# 调用者:fz:module/scoreboard/config/subscribe/~
|
||||
# 调用者:fz:module/scoreboard/interactor/subscribe/~
|
||||
|
||||
team join fz.module.scoreboard.display.fishing_count @s
|
||||
|
@ -1,4 +1,4 @@
|
||||
# 调用者:fz:module/scoreboard/config/subscribe/~
|
||||
# 调用者:fz:module/scoreboard/interactor/subscribe/~
|
||||
|
||||
team join fz.module.scoreboard.display.general @s
|
||||
|
@ -1,4 +1,4 @@
|
||||
# 调用者:fz:module/scoreboard/config/subscribe/~
|
||||
# 调用者:fz:module/scoreboard/interactor/subscribe/~
|
||||
|
||||
team join fz.module.scoreboard.display.kill_count @s
|
||||
|
@ -1,4 +1,4 @@
|
||||
# 调用者:#fz:module/scoreboard/config/subscribe/~
|
||||
# 调用者:#fz:module/scoreboard/interactor/subscribe/~
|
||||
|
||||
team leave @s
|
||||
|
@ -1,4 +1,4 @@
|
||||
# 调用者:fz:module/scoreboard/config/subscribe/~
|
||||
# 调用者:fz:module/scoreboard/interactor/subscribe/~
|
||||
|
||||
team join fz.module.scoreboard.display.placement_count @s
|
||||
|
@ -1,4 +1,4 @@
|
||||
# 调用者:fz:module/scoreboard/config/subscribe/~
|
||||
# 调用者:fz:module/scoreboard/interactor/subscribe/~
|
||||
|
||||
team join fz.module.scoreboard.display.trade_count @s
|
||||
|
@ -1,6 +1,6 @@
|
||||
# 调用者:#fz:module/try_load
|
||||
|
||||
## 判断是否安装,如果安装则加载
|
||||
execute if data storage fz:installed fz.module{config:1b} run function #fz:module/config/load
|
||||
execute if data storage fz:installed fz.module{interactor:1b} run function #fz:module/interactor/load
|
||||
execute if data storage fz:installed fz.module{health:1b} run function #fz:module/health/load
|
||||
execute if data storage fz:installed fz.module{scoreboard:1b} run function #fz:module/scoreboard/load
|
||||
|
@ -2,6 +2,6 @@
|
||||
"replace": false,
|
||||
"values": [
|
||||
"#fz:game_event/reset_all",
|
||||
"#fz:module/config/reset_trigger"
|
||||
"#fz:module/interactor/reset_trigger"
|
||||
]
|
||||
}
|
@ -2,6 +2,6 @@
|
||||
"__comment": "调用者:fz:game_event/on_unsneaked,当玩家蹲起后触发此事件",
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/config/event/on_unsneak"
|
||||
"fz:module/interactor/event/on_unsneak"
|
||||
]
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"__comment": "调用者:fz:module/config/on_click、fz:module/config/trigger",
|
||||
"replace": false,
|
||||
"values": [
|
||||
"#fz:module/scoreboard/config/display"
|
||||
]
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/config/on_click",
|
||||
"#fz:module/scoreboard/config/on_click"
|
||||
]
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"#fz:module/config/on_click",
|
||||
"#fz:module/config/reset_trigger"
|
||||
]
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/config/reset_trigger"
|
||||
"fz:module/here/interactor/display"
|
||||
]
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/here/interactor/on_click"
|
||||
]
|
||||
}
|
11
data/fz/tags/functions/module/interactor/display.json
Normal file
11
data/fz/tags/functions/module/interactor/display.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"__comment": "调用者:fz:module/interactor/on_click、fz:module/interactor/trigger",
|
||||
"replace": false,
|
||||
"values": [
|
||||
"#fz:module/scoreboard/interactor/display",
|
||||
"#fz:module/here/interactor/display",
|
||||
"#fz:module/last_death/interactor/display",
|
||||
"#fz:module/last_nether_portal/interactor/display",
|
||||
"#fz:module/last_spawn_point/interactor/display"
|
||||
]
|
||||
}
|
@ -2,6 +2,6 @@
|
||||
"__comment": "调用者:#fz:module/install",
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/config/install"
|
||||
"fz:module/interactor/install"
|
||||
]
|
||||
}
|
@ -2,6 +2,6 @@
|
||||
"__comment": "调用者:fz:module/try_load",
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/config/load"
|
||||
"fz:module/interactor/load"
|
||||
]
|
||||
}
|
11
data/fz/tags/functions/module/interactor/on_click.json
Normal file
11
data/fz/tags/functions/module/interactor/on_click.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/interactor/on_click",
|
||||
"#fz:module/scoreboard/interactor/on_click",
|
||||
"#fz:module/here/interactor/on_click",
|
||||
"#fz:module/last_death/interactor/on_click",
|
||||
"#fz:module/last_nether_portal/interactor/on_click",
|
||||
"#fz:module/last_spawn_point/interactor/on_click"
|
||||
]
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"#fz:module/interactor/display",
|
||||
"#fz:module/interactor/on_click",
|
||||
"#fz:module/interactor/reset_trigger"
|
||||
]
|
||||
}
|
@ -2,7 +2,8 @@
|
||||
"__comment": "调用者:fz:event/on_unsneak,当玩家抬头到最高角度并蹲起后,触发此事件",
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/config/loop",
|
||||
"#fz:module/config/display"
|
||||
"fz:module/interactor/on_interact",
|
||||
"fz:module/interactor/loop",
|
||||
"#fz:module/interactor/display"
|
||||
]
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/interactor/reset_trigger"
|
||||
]
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/config/timeout"
|
||||
"fz:module/interactor/timeout"
|
||||
]
|
||||
}
|
@ -2,6 +2,6 @@
|
||||
"__comment": "调用者:#fz:module/uninstall",
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/config/uninstall"
|
||||
"fz:module/interactor/uninstall"
|
||||
]
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/last_death/interactor/display"
|
||||
]
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/last_death/interactor/on_click"
|
||||
]
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/last_nether_portal/interactor/display"
|
||||
]
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/last_nether_portal/interactor/on_click"
|
||||
]
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/last_spawn_point/get_spawn_point",
|
||||
"#fz:api/get_dimension_name"
|
||||
]
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/last_spawn_point/install"
|
||||
]
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/last_spawn_point/interactor/display"
|
||||
]
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/last_spawn_point/interactor/on_click"
|
||||
]
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"#fz:module/last_spawn_point/get_spawn_point",
|
||||
"fz:module/last_spawn_point/private_message"
|
||||
]
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/last_spawn_point/uninstall"
|
||||
]
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/scoreboard/config/display/head",
|
||||
"fz:module/scoreboard/config/display/buttons"
|
||||
]
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/scoreboard/config/on_click",
|
||||
"#fz:module/config/display"
|
||||
]
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/scoreboard/config/subscribe/activation"
|
||||
]
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/scoreboard/config/subscribe/aviating_distance"
|
||||
]
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/scoreboard/config/subscribe/carousel"
|
||||
]
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/scoreboard/config/subscribe/damage_taken"
|
||||
]
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/scoreboard/config/subscribe/death_count"
|
||||
]
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/scoreboard/config/subscribe/dig_count"
|
||||
]
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/scoreboard/config/subscribe/fishing_count"
|
||||
]
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/scoreboard/config/subscribe/general"
|
||||
]
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/scoreboard/config/subscribe/kill_count"
|
||||
]
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"fz:module/scoreboard/config/subscribe/off"
|
||||
]
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user