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

Hello,

I have been trying to implement a custom armor model for a set of armor I'm making. The model is rendering correctly, however the armor pieces are not binding to the player. I am not sure why as from what I can tell from the limited resources on it, I am doing it correctly. I have linked to the rendering method as well as the rendering class. Any help would be appreciated!

 

 

Rendering Method: https://github.com/skiprocks999/Electrodynamics-Fork/blob/c68f5c93949c3fe0549ce4eecbcdbe55fe0e5305/src/main/java/electrodynamics/common/item/gear/armor/types/composite/CompositeArmorItem.java#L89

Rendering Class: https://github.com/skiprocks999/Electrodynamics-Fork/blob/1.16.5/src/main/java/electrodynamics/common/item/gear/armor/types/composite/CompositeArmorModel.java

  • Author

In other words the various parts do not move with the player. Instead of behaving like the vanilla armor for example, it instead behaves like this:

image.thumb.png.d65fb6bbaaf77e735389714ac53133b8.png

image.thumb.png.01c65bd493e3dd9923b62a6a9ef1eee1.png

I was under the impression that adding the various armor parts as children to the various biped parts would do this, but this does not seem to be the case. I linked the whole render class in my first post, but I have also included a screenshot of the code:

image.png.f5b2629d50b60e1336134549112ac169.png

  • Author

I got it figured out. I needed to copy the model angles of the biped groups to the various parts in my render method.

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.