data modify storage fz:here fz.cache.dimension set from entity @s Dimension data modify storage fz:here fz.cache.pos set value [0, 0, 0] execute store result storage fz:here fz.cache.pos[0] int 1 run data get entity @s Pos[0] execute store result storage fz:here fz.cache.pos[1] int 1 run data get entity @s Pos[1] execute store result storage fz:here fz.cache.pos[2] int 1 run data get entity @s Pos[2] data modify storage fz:here fz.cache.message set value ["", "", ""] data modify storage fz:here fz.cache.message[0] set value '{"nbt": "fz.cache.dimension", "storage": "fz:here"}' data modify storage fz:here fz.cache.message[1] set value '[{"text": "[", "color": "green"}, {"nbt": "fz.cache.pos[0]", "storage": "fz:here"}, {"text": ", "}, {"nbt": "fz.cache.pos[1]", "storage": "fz:here"}, {"text": ", "}, {"nbt": "fz.cache.pos[2]", "storage": "fz:here"}, {"text": "]"}]' function #fz:module/here/custom_message