Jump to content

[1.16] Item Rendering (it's hard to sum it up in a title)


Recommended Posts

Posted

I have a block, with a tile entity, the block uses of a BakedModel to render based on some data from the tile entity. I've made a custom BlockItem which gets dropped with the tile data serialized to a nbt tag, and that when placed, deserializes the nbt for the tile entity.

The baked model is simple. I have a base model defined in json, and the getQuads simply adds a new cuboid shape inside the base model, representing how much the block is filled (The block is a jar)

but the Item renders just the base model (as would be expected). How could I make it render the model from the BakedModel? I've looked into ISTERs, but it doesn't seem that I can get the BakedModel quads from there

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.