Jump to content

Help identifying code relating to display of nametags


thomas12s

Recommended Posts

What I'm trying to do:

 

The objective is to remove the floating nametag above a player. Whether or not the box remains there is fine, but I need to remove the nametag. This should be clientside only. It still needs to interact with a vanilla 1.5.1 server though.

 

What I've checked:

 

I've combed through EntityPlayer and RenderPlayer a couple times along with several other classes. I'm not sure of the behavior of the code in rendering the name, but I feel like there should be like 4 lines to comment out or change the display by showing an empty string.

 

Any knowledge/ideas in this is greatly appreciated. I know Java quite well, but interpreting all of this code and knowing exactly what will not affect other parts of the code is a little over my head. I've been working on this for hours just to identify what code is displaying the tag...

Link to comment
Share on other sites

func_96450_a? But it's not a good practice to directly modify base classes, this should be done via ASM library (or maybe Player API).

mnn.getNativeLang() != English

If I helped you please click on the "thank you" button.

Link to comment
Share on other sites

func_96450_a? But it's not a good practice to directly modify base classes, this should be done via ASM library (or maybe Player API).

mnn.getNativeLang() != English

If I helped you please click on the "thank you" button.

Link to comment
Share on other sites

ASM is not for beginners inn programming. I'm not saying this to crucify or bulley new modders/programmers but it is not the easiest thing inn the world and I can't change that.

You need to have your mod be a core mod to utilize ASM. You can read a bit about it here http://www.minecraftforge.net/wiki/Using_Access_Transformers

and I suggest you google it a bit before you decide to use it.

 

As I said above it's not easy but if you know Java very well, then take a look and you should be able to tell what ya need to study before ya begin ;)

 

If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

ASM is not for beginners inn programming. I'm not saying this to crucify or bulley new modders/programmers but it is not the easiest thing inn the world and I can't change that.

You need to have your mod be a core mod to utilize ASM. You can read a bit about it here http://www.minecraftforge.net/wiki/Using_Access_Transformers

and I suggest you google it a bit before you decide to use it.

 

As I said above it's not easy but if you know Java very well, then take a look and you should be able to tell what ya need to study before ya begin ;)

 

If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

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