Kander16 Posted August 8, 2016 Share Posted August 8, 2016 Hi, I'm making new leaves that grow olives. I want to color the leaves with java code, but the blossom / olives I want to be colored with the texture. So I thought, what about multiple layers of texture on that block. So that you have a foreground and a background. The background(leaves) will be colored per biome with code. The foreground(olives/blossom) will be colored by the texture itself. (the color won't change per biome as it would look ugly). I learned how to do this for 1.7.10, using multiple pass rendered blocks. But since the rendering was changed in 1.8, that won't work anymore(Obviously). How do I do this for minecraft 1.8(and probably up)? Thanks for helping! Quote Creator of the Master Chef Mod and many more to come. If I helped you, please click the 'thank you' button. Link to comment Share on other sites More sharing options...
Choonster Posted August 8, 2016 Share Posted August 8, 2016 I explained how to do this in 1.10.2 here. In 1.8.x, you need to override the appropriate colour methods in your Block and Item instead of using IBlockColor / IItemColor . Quote 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 More sharing options...
Kander16 Posted August 8, 2016 Author Share Posted August 8, 2016 Thanks! I figured it out. Quote Creator of the Master Chef Mod and many more to come. If I helped you, please click the 'thank you' button. Link to comment Share on other sites More sharing options...
Kander16 Posted August 8, 2016 Author Share Posted August 8, 2016 Oh, I got another problem. When setting my graphics to "fast", the background (leaves) looks white. It works normal in the fancy graphics. The overlay works just fine. I don't know what's the problem. I think it has to do with EnumBlockLayer SOLID, but how do I fix that? Here's a picture http://imgur.com/a/zdzLe Quote Creator of the Master Chef Mod and many more to come. If I helped you, please click the 'thank you' button. Link to comment Share on other sites More sharing options...
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.