实现交互按钮

This commit is contained in:
延皓
2022-07-19 20:53:53 +08:00
parent 7b2136c282
commit 90a4a61855
118 changed files with 378 additions and 252 deletions
@@ -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