Jump to content

[1.8.9] Combining JSON Model and TESR


AnZaNaMa

Recommended Posts

I have a TileEntity that, in 1.8, I had rendered using solely a TESR, and drew all the quads on, which would work fine as a JSON file, except I have different colors for upgraded versions of the block. I could use blockstates for this, but before I updated to 1.8.9, I also had it rendering a smaller floating hologram above the TileEntity that slowly spun in a circle. I'm wondering if I can use JSON models and BlockStates for the basic cube shape then combine that with a TESR for the spinning hologram.

- Just because things are the way they are doesn't mean they can't be the way you want them to be. Unless they're aspen trees. You can tell they're aspens 'cause the way they are.

Link to comment
Share on other sites

This is what the enchantment table does, so it is indeed possible. Just set the block's model to the basic cube using the standard model system and have your

TESR

render the hologram above it.

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

Oh okay cool! I never expected it to be so simple. On a side note, what changed about TESRs between 1.8 and 1.8.9, because I noticed that all my addVertexWithUV() are now errored.

- Just because things are the way they are doesn't mean they can't be the way you want them to be. Unless they're aspen trees. You can tell they're aspens 'cause the way they are.

Link to comment
Share on other sites

On a side note, what changed about TESRs between 1.8 and 1.8.9, because I noticed that all my addVertexWithUV() are now errored.

 

Unfortunately, I can't help you with that. I suggest looking at the changes in vanilla's renderers, searching for forum threads relevant to the topic and/or waiting for someone who knows the rendering system to post.

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.

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.