Jump to content

Armor location


xTimPugz

Recommended Posts

Hello everyone

 

 

Could anyone tell me his to do this, setting the armor location?

I tried setting the bipedHeadwear as child of Head (of my custom model) but that's not working.

 

For anyone intrested, I'm currently adding Sauron to the game :) It will be very nice if I get the armor working..

Speaking about the armor, the helmet is a techne modelled one from another mod, but the other 3 pieces aren't.

 

Thanks!

 

Link to comment
Share on other sites

Override

    @SideOnly(Side.CLIENT)
    public net.minecraft.client.model.ModelBiped getArmorModel(EntityLivingBase entityLiving, ItemStack itemStack, EntityEquipmentSlot armorSlot, net.minecraft.client.model.ModelBiped _default)
    {
        return null;
    }

In your Armors Class.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

It has nothing to do with armor, as it's not my armor :)

The issue is with the mob (Sauron in this case) having the Morgul armor on his body too low, because the model has been made larger.

I basically try to make the armor expand too so it perfectly fits.

 

 

Link to comment
Share on other sites

It has nothing to do with armor, as it's not my armor :)

The issue is with the mob (Sauron in this case) having the Morgul armor on his body too low, because the model has been made larger.

I basically try to make the armor expand too so it perfectly fits.

Well then you are going to have to add A new layer to your entity. this.addLayer and you need to pass in a ModelBiped.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

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.