endershadow Posted February 15, 2013 Posted February 15, 2013 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. Quote
Mazetar Posted February 20, 2013 Posted February 20, 2013 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. Quote Quote If you guys dont get it.. then well ya.. try harder...
endershadow Posted February 21, 2013 Author Posted February 21, 2013 so what exactly should I do for this block? this is the one for question 1. here's the block code. https://github.com/code-lyoko-modding/CodeLyokoMod/blob/master/lyoko/blocks/BlockSuperCalc.java Quote
Recommended Posts
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.