完善…模块
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
data modify storage fz:global fz.cache.dimension.id set from entity @s LastDeathLocation.dimension
|
||||
data modify storage fz:global fz.cache.dimension.name set from entity @s LastDeathLocation.dimension
|
||||
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]
|
||||
|
||||
@@ -1 +1 @@
|
||||
tellraw @s [{"text": "你的上次死亡位于"}, {"nbt": "fz.cache.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": "]"}]]
|
||||
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": "]"}]]
|
||||
Reference in New Issue
Block a user