Jump to content

[1.7.10] [Unsolved] How to add Wavefront Armor?


SuperHB

Recommended Posts

    public static int ironmanMk1helmID;  // <==== This is zero by default
    public static int ironmanMk1chestID; 
    public static int ironmanMk1pantsID;
    public static int ironmanMk1bootsID;

//Define Iron Man Armor       ***   This is the renderID (see above) ---v
    public static Item ironmanMk1Helmet = new IronManMk1(IronManMk1Mat, ironmanMk1helmID, 0).setUnlocalizedName("IronManMk1Helmet");
    public static Item ironmanMk1Chest = new IronManMk1(IronManMk1Mat, ironmanMk1helmID, 1).setUnlocalizedName("IronManMk1Chest");
    public static Item ironmanMk1Pants = new IronManMk1(IronManMk1Mat, ironmanMk1helmID, 2).setUnlocalizedName("IronManMk1Pants");
    public static Item ironmanMk1Boots = new IronManMk1(IronManMk1Mat, ironmanMk1helmID, 3).setUnlocalizedName("IronManMk1Boots");

With this code, you are setting the renderID to be cloth (0). I don't do much rendering stuff at all, but that doesn't seem correct to me. I'd help you more, but my konwledge of rendering issues is pretty slim.

Link to comment
Share on other sites

    public static int ironmanMk1helmID;  // <==== This is zero by default
    public static int ironmanMk1chestID; 
    public static int ironmanMk1pantsID;
    public static int ironmanMk1bootsID;

//Define Iron Man Armor       ***   This is the renderID (see above) ---v
    public static Item ironmanMk1Helmet = new IronManMk1(IronManMk1Mat, ironmanMk1helmID, 0).setUnlocalizedName("IronManMk1Helmet");
    public static Item ironmanMk1Chest = new IronManMk1(IronManMk1Mat, ironmanMk1helmID, 1).setUnlocalizedName("IronManMk1Chest");
    public static Item ironmanMk1Pants = new IronManMk1(IronManMk1Mat, ironmanMk1helmID, 2).setUnlocalizedName("IronManMk1Pants");
    public static Item ironmanMk1Boots = new IronManMk1(IronManMk1Mat, ironmanMk1helmID, 3).setUnlocalizedName("IronManMk1Boots");

With this code, you are setting the renderID to be cloth (0). I don't do much rendering stuff at all, but that doesn't seem correct to me. I'd help you more, but my konwledge of rendering issues is pretty slim.

 

Thanks, I'll do some research. Hope I find something

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.