Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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

  • 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

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

 

 

 

 

  • 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

  • Author

oops wrong version i'm idiot xD i'm using 1.7.2

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

  • Author

No, really, i swear it isn't there

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

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!  ;)

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.