Posted April 23, 201411 yr 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
April 23, 201411 yr Hi EntityRenderer.renderHand See http://greyminecraftcoder.blogspot.com.au/2013/08/rendering-first-person-view-items.html -TGG
April 23, 201411 yr Author 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
April 23, 201411 yr 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
April 23, 201411 yr Author 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
April 23, 201411 yr Author oops wrong version i'm idiot i'm using 1.7.2 Actually i don't know what to write in this signature soooo.... anyway
April 23, 201411 yr Author still no renderhandevent Actually i don't know what to write in this signature soooo.... anyway
April 23, 201411 yr Author No, really, i swear it isn't there Actually i don't know what to write in this signature soooo.... anyway
April 24, 201411 yr ha ha this could go on for hours :-) It's a recent addition (2 months ago according to the history).... https://github.com/MinecraftForge/MinecraftForge/search?q=renderhandevent&ref=cmdform -TGG
April 26, 201411 yr 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!
April 26, 201411 yr 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.
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.