Social Icons

Sunday 6 May 2012

[Tut] nametags With Distance and Colors

First off is what you may need:
Common sense (Obviously)
Eclipse Here
Basic Java Knowledge
MCP Here
Eclipse With MCP Here

OK now go to : RenderPlayer.java

and find RenderName under that there will be:

PHP Code:
if (Minecraft.isGuiEnabled() && entityplayer != renderManager.livingPlayer
Now find the part i am editing and make it look like this

[Image: WzXq9.png]

Now you can do the same for
PHP Code:
if(entityplayer.isSneaking()) 

OK now for the colors so go to : RenderLiving.java

and Find

renderLivingLabel

Now go Under this part
PHP Code:
if (s.equals("deadmau5"))
{
    
byte0 = -10;

And Edit This
PHP Code:
tessellator.setColorRGBA_F(0.0F0.0F0.0F0.25F); 

To look like this
[Image: guKLx.png]

If you know GL11 colors then you will know how to change them

It should look like this when done:

Credit to Element 2345

No comments:

Post a Comment