How do i make a custom enchantment glint on armors

Started by Lfty on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do i make a custom enchantment glint on armors

i am creating a mod that has immortal and super items that gives you powers and i am stuck on super armor i want it to have a rainbow animation that cycles through red,orange,yellow etc.. so does anyone know how????

Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This would likely require…
Sat, 07/11/2026 - 11:07

This would likely require extensive client-side coding to create a custom enchantment glint shader and apply it to items and armor. I would recommend just having an animated item texture and a multicolor armor texture, even though a custom rainbow enchantment glint would be cool.

Joined Jul 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do i do it then????  
Sat, 07/11/2026 - 13:31

how do i do it then????

 

Joined Nov 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use item states & disable…
Sat, 07/11/2026 - 15:36

Use item states & disable the glint with procedures.

 

Joined Jul 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
bro how do i disable the…
Sat, 07/11/2026 - 19:02

bro how do i disable the glint LIKE BRO

 

Joined Nov 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make an item state, then…
Tue, 07/14/2026 - 06:24

Make an item state, then when the item is held, if the state = 0 then replace held item with the same thing with the state = 1 and [enchantment_glint_override=0b] with /give. This is how i made a custom totem btw, and it works quite well. Use "/data get entity @s SelectedItem" to find out the tag you need to change on the item with the command.

Joined Nov 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
On item in hand tick:…
Tue, 07/14/2026 - 06:39

On item in hand tick: replace item in mainhand with air, execute command /"give @p your_modid:immortal_sword[minecraft:custom_data={state:1b},minecraft:enchantment_glint_override=0b]" in name of event/target entity