Posted April 25, 20223 yr Hello, short question, how can i make an armor which has an custom model? Thanks
April 26, 20223 yr 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. 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.