How to make a compass that points to coordinates?

Started by CrizoDev on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a compass that points to coordinates?

For starters, I'm using version 1.21.1 Neoforge, 2024.4. I already have a system for locating a structure, and saving its coordinates as variables to be used elsewhere (X and Z, specifically), but how do I make it so that my compass item that I have created points to the X and Z variables using itemstates?

Create procedure that…
Wed, 05/21/2025 - 18:58

Create procedure that returns different values between 0 and 1 in even intervals for different angles your compass would show depending on your variables.

Then select this procedure as data source for custom property

Joined May 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Im still confused on how I…
Fri, 05/23/2025 - 17:02

Im still confused on how I would get it to point in the right direction