Jump to content

[Solved] Made Custom Armor, but now it doesn't animate [1.16.4]


Recommended Posts

Posted (edited)

Hello, I have made custom armor for a mod I have been working on: https://www.curseforge.com/minecraft/mc-mods/megaman-armor-mod

And I saw something that I used to help make the custom armor models. I followed some of the advice on this thread here: 

I tried to make it move but the arms and legs do not follow the player model like normal armor. Maybe I forgot something???

MegamanArmorFeet.java

edit: After looking around some I found someone who had trouble and it seems like the answer is here somewhere, but I haven't figured it out and can't get it to work: https://mcreator.net/forum/51185/tutorial-how-make-3d-rendered-armor-moving-arms-legs-and-head

I still don't know how it works, but I feel the answer is in here somewhere for someone to find.

Edit: I Discovered the solution! So you add some lines to the "render" in the armor model file. this will "attatch" the parts to the legs.

        this.RightLeg.copyModelAngles(this.bipedRightLeg);
        this.LeftLeg.copyModelAngles(this.bipedLeftLeg);
        RightLeg.render(matrixStack, buffer, packedLight, packedOverlay);
        LeftLeg.render(matrixStack, buffer, packedLight, packedOverlay);

Edited by Collecter128
Sorry, didn't finish the full post
  • Collecter128 changed the title to [Solved] Made Custom Armor, but now it doesn't animate [1.16.4]

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.