实现交互按钮

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
@@ -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": "你从未死亡!"}