Started by
Exantho
on
Topic category: Help with Minecraft modding (Java Edition)
Recently, I had an interesting idea for an item similar to the compass and clock but would instead be a radar that would have the amount of mobs nearby appear as the number of dots on the sprite. As I was working on this, I realised that I couldn't find a way to change the sprite live, similar to the compass and clock. If anyone could help or point out that its possible (or best yet, add the ability to the program if it is currently impossible) that would be great. I've already scoured the forums and wiki but I couldn't find anything.
Thanks in advance.
-Exantho (Ethan)
Edited by Exantho on Fri, 07/16/2021 - 14:24
The best idea is to make a ton of variations of the texture
Thats how the compass and clock work
Tho I havent found a way to change the texture ingame so the next best thing is a ton of duplicate items and changing the item out for the next
I already made all the variations obviously but yeah, my problem is changing the sprite.
I already thought of the replacing item thing but I feel that would be quite clunky, in GUI and hand, both having the item doing annoying pick up animation.
Hmm true
Might be something you have to do code for as I know of no other way