I am trying to get the resulting coordinates from /locate poi nether_portal (and yes i do need the coordinates, not the distance like the command returns). I've seen something online about being able to use a loot table to get an explorer map to the nearest structure, then reading it's nbt to get the coordinates, but afaik that doesn't apply to points of interest. The only solution I can think of at the moment is placing down an always active impulse command block in a force loaded chunk in an empty dimension that has the locate command, waiting a tick, and then reading the resulting text output from the nbt of the block. This, however, sounds horrible. Does anyone know of any other way to do this?
#Trying to store the resulting coordinates of /locate poi in a scoreboard
1 messages · Page 1 of 1 (latest)
There is not another way to do this