Jump to content

Rendering MultiBlock Structure/Block texture changing based on adjacent blocks


endershadow

Recommended Posts

I made a multiblock structure and I was wondering if anyone knew how to make the texture change when it's a multiblock, like railcraft's coke oven. I already have a TileEntitySpecialRenderer set up, so if I need to modify that I can. I also want to set up a block that will use the texture of blocks adjacent to it. if anyone can help me with these two problems, then it will be much appreciated.

Link to comment
Share on other sites

I guess you could pass on a different textureID into the rendering line?

You know you bind two different textures, and pass inn the one you want based on some if/else statement?

 

I don't know if it will work because I'm not sure how it is reading the rendering code, but if it looks at it every time then I assume it should work.

If you guys dont get it.. then well ya.. try harder...

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.