Jump to content

Need Help -- Changing Item Texture like Compass


BigNerd

Recommended Posts

Hello all,

 

I am working on my own little mod, and I had an idea for an "item finder". The test right now is with diamonds. Essentially, when you have this item in your hand and you right-click with it, it displays the location of the nearest diamond. I have that functionality mostly working, but I would like the texture to behave like a compass. Basically, when you right-click, it "locks on" to the nearest diamond. From that point, the item behaves like a compass that points to the nearest diamond. Unfortunately, I have not been able to figure out how to work with textures properly.

 

Has anyone worked with compass-like textures? Or does anyone have a suggestion for how to go about doing this?

 

Thanks for your help!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.