How to find X Y Z of blocks in world?

Started by Freon on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to find X Y Z of blocks in world?

I wanna make entity that will detect ore and go to it. I already did the procedure for searching blocks in radius but cant find X Y Z of block to move to, is there any method to find X Y Z of block in world?