Jump to content

Recommended Posts

Posted

simple question: what is the class (maybe the event) that regulates the rendering of the player's arm in first person?

Actually i don't know what to write in this signature soooo.... anyway

Posted

OK but what event calls it? because i want to change the custom player model and texture (Already did) but i do it in RenderPlayerEvent and so it is called only in 3rd person, and also i would like to change player hand model...

Actually i don't know what to write in this signature soooo.... anyway

Posted

Hi

 

There is no event called just before it, as far as I can tell, it's not done the same way as 3rd person.

 

To be honest I don't know what the best way to do that is.  Perhaps overwrite the hand model; or alternatively perhaps there is some way to extend RenderPlayer with your own class and overwrite the player's entry in entityRenderMap.

 

With any luck someone else on the forum may have tried it before...

 

-TGG

 

 

 

 

Posted

There is an event for this

RenderHandEvent

, but it's not in 1.6 yet.

 

what do you mean with that?

Actually i don't know what to write in this signature soooo.... anyway

Posted

Yes, it is there in 1.7.2. What I like to do to find classes is type the name of the class (in this case, RenderHandEvent), and then click on it to highlight it. Now, press F13. BAM. Takes you right to the class so that you don't have to waste time looking for it. The RenderHandEvent is located in: package net.minecraftforge.client.event. Learn to use the power of your IDE!  ;)

Posted

Or just use Ctrl-Shift-T (eclipse) resp. Ctrl-N Ctrl-N (yes, two times; Intellij) ;)

 

Ah, yes, of course, I forgot about IDEA users. I've always changed the keyboard shortcuts to Eclipse in IntelliJ because I think they're weird. xD

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.

Announcements



×
×
  • Create New...

Important Information

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