Jump to content

[1.12] [Solved] Get IBakedModel from ItemStack


mysticalherobine

Recommended Posts

EDIT: I solved how to make a custom renderer for the Item, but I need to render the selected item over it. I can't figure out how to do such a thing, any help is appreciated! Thanks in advance.

 

OLD:

Hey there! So my problem is that I don't quite understand how to dynamically render items using things such as IModel or IBakedModel.

The task is pretty simple, I just want to render my item, then in a layer above, render the currently selected item from within the item's Inventory. Essentially, a backpack that allows you to scroll to a specific item, using shift-scroll, to place down blocks. But, for better or for worse, I can't quite get my head around how to use the classes to render the item in such a way. I assume that it wouldn't be to hard and I'm just over looking something.

 

Thanks for any help in advance!

Edited by mysticalherobine
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.