Jump to content

[1.9.4/1.10] Custom Item Model and IItemColor [SOLVED]


Recommended Posts

I'm trying to update some of the models in my mod. I have fully modeled the first item in cubik and am ready to export it however I'm not sure how I can add extra colours.


At the moment in the latest release, the item uses the in-built minecraft default item and as such can use the multi-pass id to set the colour of the texture layer, however I have found no information on how you can do this with custom models.


The texture I want to add colour to (as I only want to dynamically add colour to the test tube contents) is on a different layer and is currently a greyscale so should accept a colour, I just don't have any idea and can't find any information on where to start.

Link to comment
Share on other sites

What format is the model in?


If it's JSON, you can specify the tint index of each face of each element, this will be passed to the


. See the wiki for the full model format.


If it's OBJ/B3D, there's not currently any way to specify tint indexes. It's been requested here, but I don't think it's being worked on actively.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

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.

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.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.