[SOLVED]Getting Coordinates From The "Run command /[locate biome x] and get result"

Started by Rebuilt on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[SOLVED]Getting Coordinates From The "Run command /[locate biome x] and get result"
Tue, 09/23/2025 - 14:32 (edited)

I need to know how to get the coordinates from the "run /[locate biome <mod_id:mod_biome>] at X Y Z"

Edited by Rebuilt on Tue, 09/23/2025 - 14:32
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you might try "execute…
Mon, 09/22/2025 - 20:24

you might try "execute command "/locate biome" at x, y, z and get result"

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
looks like the output of…
Mon, 09/22/2025 - 20:35

looks like the output of that command is never the coordinates.

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah @thatperson_ I do have…
Mon, 09/22/2025 - 21:02

Yeah @thatperson_ I do have that. Honestly I should have been more specific. I did that and I need to extract the coords from the result

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What minecraft and mcreator…
Tue, 09/23/2025 - 07:13

What minecraft and mcreator version are you using?

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
2025.2 on forge 1.20.1
Tue, 09/23/2025 - 13:31

2025.2 on forge 1.20.1

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Quick question, what am I…
Tue, 09/23/2025 - 13:46

Quick question, what am I supposed to put in the main part of the block?

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
here? the code that will…
Tue, 09/23/2025 - 13:51

here?

the code that will use the coords

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
so like you can put anything…
Tue, 09/23/2025 - 13:51

so like you can put anything you want there 

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh ok. Its a compass like…
Tue, 09/23/2025 - 14:08

Oh ok. Its a compass like item that locates biomes so it needs to send the coords to an item data tag as text and then to a text variable in its gui. It needs to set its tag to the coords and then send the coords to the code that renders it in game. 

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
sadly the X-iterator Y…
Tue, 09/23/2025 - 14:10

sadly the X-iterator Y-iterator and Z-iterator aren't supported by the current generator :/

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yeah that should be possible…
Tue, 09/23/2025 - 14:11

yeah that should be possible, but you should probably use 3 separate number nbt tags for x, y and z

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
like 3 in total not 3 per x…
Tue, 09/23/2025 - 14:11

like 3 in total not 3 per x y and z

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh right sorry I forgot to…
Tue, 09/23/2025 - 14:12

oh right sorry I forgot to port them gimme a min