Jump to content

Mob labels 1.7.2


The_SlayerMC

Recommended Posts

Back in the day of 1.6.4, I used to use this code inside the render file

 

protected void renderLabel(EntityLiving entityLiving, double par2, double par4, double par6) {
	int distanceToEntity = 20;
	this.renderLabel(entityLiving, EnumChatFormatting.DARK_RED + "Corrupted Creeper Steve", par2, par4, par6, distanceToEntity);
	par4 += (double)((float)this.getFontRendererFromRenderManager().FONT_HEIGHT * 1.15F * par6);
}

 

And now I'm wondering what is the replacement? I know of the ENTITY.setCustomTagName("NAME"); But I find that only works when you hold your cursor over the mob! So again.. What has it been changed too?

Former developer for DivineRPG, Pixelmon and now the maker of Essence of the Gods

Link to comment
Share on other sites

  • 2 months later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.