skip999 Posted July 30, 2021 Posted July 30, 2021 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 Quote
skip999 Posted July 31, 2021 Author Posted July 31, 2021 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: 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: Quote
skip999 Posted July 31, 2021 Author Posted July 31, 2021 I got it figured out. I needed to copy the model angles of the biped groups to the various parts in my render method. Quote
Recommended Posts
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.