Re edited this old help topic to a helpful post.
Sorry if it's a bit messy and looks like it takes forever but it shouldn't take no more than 5 minutes.
This is really easy, all you're doing is changing IDs, it's fun to experiment with the different colors. If you want to do an individual item this might be a good reference but i never figured out how to do that yet.
If you need help or have any questions, feel free to send me a message, i will always be happy to respond.
If you have forge+MCP then you can find all the files in Forge Source\forge\mcp\src\minecraft\net\minecraft\client\renderer\entity
Go into "RenderItem.java" and look for this (just press ctrl+F and type in "glint", you might have to search around a tiny bit.):
It should be around line 420 if you haven't edited this file much.
Yours will not be the same color IDs as mine since i already edited it and cant remember the default ones. But this color is white with a slight hint of yellow.
Edit the color IDs like so, you will have to guess the IDs for the color you want but i've narrowed it down to this so far.
GL11.glColor4f(red, green, blue, alpha);
Alpha is how transparent you want the glint to be
Now for the 3D rendered model...
Go into "ItemRenderer.java", press "Ctrl + F" and search for "110930"
You should find it in something like this...
Copying thy known effect unto your item may be impossible as it is hard-coded in-game and in .Class files
Although, You could make a filter in MCEdit using Python that would make it work like that; possibly, Sethbling may be the only that can do that (as well as Hypixel but he may not give you the filter). In texture packs, it can be the greatest Impossibru that may be done in Minecraft.
Other theories that I could include are but not limited to:
1. If texture packs are given the chance by Mojang to not just replace the appearance of the game but to also replace it's programming files such as it's .Class files in the minecraft.jar , you could(if you're have the programming skills to manipulate .class files) make alternate .Class files to make what you want to happen.
2. The MCPatcher or Optifine method might do something new in retexturing(don't ask me about it[not an expert]) those items that they would glow as you want them to do.
Other things like that yeah, the guy above me is right: The thing you want is hard-coded in the game programming, but any of my theories may re-code it in a snap.
Hope that helps you.
Private Mod Note
Rollback Post to RevisionRollBack
I was once an ordinary Steve thinking about rainbows when I was struck by lightning to death, but still, my big thought about rainbows, brought me back to life. Now, living as Death, using the power of rainbows in accordance with life and death
The image that effects this is the glint.png in the misc folder, but that only effects the shape of the glow, not the color. See steelfeathers' texture pack guide for more information. http://www.minecraft...e-to-texturing/