Jump to content

Recommended Posts

Posted

I'm trying to merge two (potentially vanilla) textures  at runtime based on the NBT of an item and have it display as the icon and in the player's hands. Surprisingly I have a decent idea from one of my other items on how to get vanilla textures so I don't think I need help with that part. But the IModel is a bit confusing.  

 

Where is the appropriate place to merge the textures? Based on other mods' uses of bake() in IModel, it seems like that method is primarily for switching out textures. Is the right place to do the merging in ItemOverrideList.handleItemState()? I was planning to cache these textures and pass the location into bake(). Is there a better place to do the merging?

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.