Started by TheMaster123 on Sun, 02/14/2021 - 05:02
Topic category: Help with modding (Java Edition)
In other words, how would I go about making an item that cycles through all of the colors of the rainbow. This is probably possible with an animation, but that'd take forever and wouldn't look as good. I'm fine with going into the code and making something, as I have a small bit of coding knowledge. I looked online for solutions, but the only ones I found were from 5 or 6 years ago and will probably not work. Thanks in advance.
One thing that comes to mind and would require a bit of code is trying to do something similar to how the Enchantment Glint works.
What I did is I made multiple different textures which are different colors of the original texture. Then I went to “create animated texture” and added those textures to the frames in order, red,orange,yellow,etc. Then i ticked the option to smooth the animation. I didnt change the tick speed of the animation, but you can change it yourself. The animation should look smooth and rainbow colored. If thats what you needed :).
It wouldnt take forever to make the animation. You only need like 7 different colored textures to make the animated item texture, so it wont take too long :).