Started by
Androidc4
on
Topic category: Advanced modding
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.
...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.