Jump to content

Recommended Posts

Posted

Hello!

Before I answer ---> start learn to find information by yourself, it's not hard to do it. 

Now look:
Use GeckoLib, it has a lot of useful features and 3d armor too.
The first thing you need to do is install BlockBench GeckoLib plugin ---> Then create your armor and export it as GeckoLib Model, you model should have name "example_armor.geo.json".

Now just follow this GeckoLib guideline to get your armor render ---> https://github.com/bernie-g/geckolib/wiki/Armor-Animations

It's pretty easy thou.

In few words:
-You have to public class your_armor_item extends GeoArmorItem implements IAnimatable
-Then add animation controllers into your_amor_item
-Then create renderer class - remember to keep bone names exact like you named it in BlockBench(example: this.headBone = "bipedHead";) if you don't do this - game will crash when you try open inventory or switch to 3rd person view  when you wearing your armor.
-Now it's time to register renderer in your main example_mod.class.

sgMMlPg.png


All of these steps are in GeckoLib guideline I gave you.

Good luck!

-A

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.