diff --git a/data/fzsd/functions/module/here/get_dimension_message/if_overworld.mcfunction b/data/fzsd/functions/module/here/get_dimension_message/if_overworld.mcfunction index 7b1e8c7..e9d5d35 100644 --- a/data/fzsd/functions/module/here/get_dimension_message/if_overworld.mcfunction +++ b/data/fzsd/functions/module/here/get_dimension_message/if_overworld.mcfunction @@ -3,4 +3,4 @@ execute store result storage fzsd:here fzsd.nether.x int 0.125 run data get enti execute store result storage fzsd:here fzsd.nether.z int 0.125 run data get entity @s Pos[2] data modify storage fzsd:global fzsd.api.dimension.id set value "minecraft:the_nether" function #fzsd:api/get_dimension_name -data modify storage fzsd:here fzsd.message[2] set value '[{"text": ",对应", "color": "white"}, {"nbt": "fzsd.api.dimension.name", "interpret": true, "storage": "fzsd:global"}, [{"text": "[", "color": "green"}, {"nbt": "fzsd.nether.x", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.nether.z", "storage": "fzsd:here"}, {"text": "]"}]]' \ No newline at end of file +data modify storage fzsd:here fzsd.message.append set value '[{"text": ",对应", "color": "white"}, {"nbt": "fzsd.api.dimension.name", "interpret": true, "storage": "fzsd:global"}, [{"text": "[", "color": "green"}, {"nbt": "fzsd.nether.x", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.nether.z", "storage": "fzsd:here"}, {"text": "]"}]]' \ No newline at end of file diff --git a/data/fzsd/functions/module/here/get_dimension_message/if_the_nether.mcfunction b/data/fzsd/functions/module/here/get_dimension_message/if_the_nether.mcfunction index f86a10a..d94cae7 100644 --- a/data/fzsd/functions/module/here/get_dimension_message/if_the_nether.mcfunction +++ b/data/fzsd/functions/module/here/get_dimension_message/if_the_nether.mcfunction @@ -3,4 +3,4 @@ execute store result storage fzsd:here fzsd.overworld.x int 8 run data get entit execute store result storage fzsd:here fzsd.overworld.z int 8 run data get entity @s Pos[2] data modify storage fzsd:global fzsd.api.dimension.id set value "minecraft:overworld" function #fzsd:api/get_dimension_name -data modify storage fzsd:here fzsd.message[2] set value '[{"text": ",对应", "color": "white"}, {"nbt": "fzsd.api.dimension.name", "interpret": true, "storage": "fzsd:global"}, [{"text": "[", "color": "green"}, {"nbt": "fzsd.overworld.x", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.overworld.z", "storage": "fzsd:here"}, {"text": "]"}]]' \ No newline at end of file +data modify storage fzsd:here fzsd.message.append set value '[{"text": ",对应", "color": "white"}, {"nbt": "fzsd.api.dimension.name", "interpret": true, "storage": "fzsd:global"}, [{"text": "[", "color": "green"}, {"nbt": "fzsd.overworld.x", "storage": "fzsd:here"}, {"text": ", "}, {"nbt": "fzsd.overworld.z", "storage": "fzsd:here"}, {"text": "]"}]]' \ No newline at end of file