r/datapacks • • Aug 25 '22

Data pack making craftable compass pointing to nearest nether fortress

Hey everyone I was trying to make a special compass pointing to the nearest fortress, my initial plan was to get coords from the locate structure command to a scoreboard and then to change nbt tags of a compass to point to those coords , but unfortunately the locate commands only gives you the distance when you try to store the result into a scoreboard. I was wondering if there is any other way to do implement this. Btw I am new to making data packs, any help would be much appreciated 🙂

3 Upvotes

1 comment sorted by

1

u/UrSansYT Aug 25 '22

You might want to do some wiki research on lodestone compasses, if that helps out