TheNuclearDuck Posted March 17, 2013 Share Posted March 17, 2013 I've been looking around for a while on Google, and I can't seem to find anything about this subject. Basically, I want to draw a block so that it has an overlay drawn on top of the original texture, with a tint. I know it can be done, because there are examples in vanilla such as the sides of grass blocks, and also in other mods such as the shards in Mystcraft. Looking through some of the code, I found a couple of methods in BlockGrass.java which let you change the tint of the whole block, but this is not what I want. what I want is to overlay it with another texture, with a tint. How can this be done in Minecraft Forge? Please help! Quote Link to comment Share on other sites More sharing options...
newboyhun Posted March 17, 2013 Share Posted March 17, 2013 I think you will need to make a custom renderer for it. Quote Link to comment Share on other sites More sharing options...
TheNuclearDuck Posted March 17, 2013 Author Share Posted March 17, 2013 I think you will need to make a custom renderer for it. Okay, can you tell me how I'd go about creating such a renderer? Quote Link to comment Share on other sites More sharing options...
newboyhun Posted March 17, 2013 Share Posted March 17, 2013 Check this:http://www.minecraftforge.net/wiki/Multiple_Pass_Render_Blocks Quote Link to comment Share on other sites More sharing options...
TheNuclearDuck Posted March 17, 2013 Author Share Posted March 17, 2013 Thank you, it worked perfectly! Quote 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.