Jump to content

[1.11] Change a model's texture in custom IBakedModel


Recommended Posts

Posted (edited)

Hi,

 

I made a model in JSON and I managed to get a baked model from it to use in my custom IBakedModel.

This model is rendering well, the only thing is: can I change the texture of that model (in code)?

Because otherwise, I would need to create more json files with only a different texture.

Edited by Kander16

Creator of the Master Chef Mod and many more to come.

 

If I helped you, please click the 'thank you' button.

Posted

I currently have for a custom IBakedModel for this block.

I'm asking if you could change the texture of this model inside the IBakedModel. Because you can render the models in getQuads().

Thanks anyway ^_^

Creator of the Master Chef Mod and many more to come.

 

If I helped you, please click the 'thank you' button.

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.