How would I make a rainbow item?

Started by TheMaster123 on

Topic category: Help with modding (Java Edition)

Last seen on 05:02, 14. Feb 2021
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How would I make a rainbow item?

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.

Last seen on 01:35, 15. Mar 2022
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
One thing that comes to mind…
Sun, 02/14/2021 - 07:09

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.

Last seen on 03:37, 11. Mar 2023
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What I did is I made…
Sat, 03/13/2021 - 12:57

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 :).

Last seen on 03:37, 11. Mar 2023
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It wouldnt take forever to…
Sat, 03/13/2021 - 12:58

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 :).