Posted February 21, 20178 yr Does anyone know how to change the color of entity.setGlowing(true). Preferably a way that doesn't involve changing the entity's team.
February 21, 20178 yr From what I just looked at in the code there doesn't seem to be anyway but by changing the team if the entity isn't your own Edited February 21, 20178 yr by CoderAtParadise More Clarification Did you really need to know?
February 21, 20178 yr Check out how vanilla classes pull their color data for outlines and manipulate it to your liking. In your Render class, you may be able to set the color by enabling color material via GlStateManager.enableColorMaterial(); and then changing the color with GlStateManager.enableOutlineMode([*color int*]); You can look at RenderBoat for an example. Not sure if this works though, I haven't tried it. Also, to get a color without having to do all the math/googling you can use the MathHelper function that takes in 3 ints from 0-255 (RGB) and returns the single int: public static int rgb(int rIn, int gIn, int bIn)
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.