ore search

Started by Choco-Pie on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ore search

Hello. I'm trying to make a procedure that checks a cube with a 30x30x30 ramser for the presence of a certain ore (let's say coal). There is a template for this procedure with the search for a specific block in a 6x6x6 cube. The question arises, how do I deduce the coordinates of this ore within the designated boundaries (30x30x30) and by subtracting from my own coordinates - the coordinate of the ore - calculate the distance from the player to this ore