Custom Compass Like Item

Started by Androidc4 on

Topic category: Advanced modding

Last seen on 19:03, 24. Nov 2023
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom Compass Like Item

Im making a mod adding quality life additions to the sculk family and right now im focusing on making a custom crafted compass that points towards the nearest ancient city but i have no idea how do i make it point towards it.

Last seen on 02:14, 20. Apr 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
...I'm not sure if this is…
Mon, 01/02/2023 - 17:05

...I'm not sure if this is possible, but I feel like your best bet would be to somehow run a locate structure command in the background, save the x and z positions as world variables, and then use them to determine which direction the compass points.