2022-07-11 15:40:55 +08:00
|
|
|
data modify storage fz:global fz.api.dimension.id set from entity @s LastDeathLocation.dimension
|
2022-07-19 20:53:53 +08:00
|
|
|
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]
|
2022-07-09 13:06:56 +08:00
|
|
|
|
|
|
|
## 调试
|
|
|
|
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": "获取了死亡点"}]
|