Draco18s Posted June 13, 2013 Posted June 13, 2013 I have a block. It has a SimpleBlockRenderingHandler. If I do this in the block class, it renders: public int getRenderBlockPass() { return 0; } But the pixels that I would like to be partially transparent are rendering as fully solid. So I do this: public int getRenderBlockPass() { return 1; } And now it doesn't render at all. Quote Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
Draco18s Posted June 13, 2013 Author Posted June 13, 2013 Ok, it's not entirely based on renderpass 1. It's also based on the block's Y position. If it's Y is over 63 and has render pass 1, then it doesn't render. http://s22.postimg.org/4lh3lpdqp/2013_06_13_15_59_06.png[/img] And with render pass 0: http://s15.postimg.org/gk8whtrvf/2013_06_13_16_01_26.png[/img] Quote Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
Draco18s Posted June 14, 2013 Author Posted June 14, 2013 Riddle me this, Batman. Doesn't render http://s10.postimg.org/64mow4bll/2013_06_13_23_26_00.png[/img] Place string, block renders http://s24.postimg.org/soa1wok79/2013_06_13_23_26_02.png[/img] Quote Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
ObsequiousNewt Posted June 14, 2013 Posted June 14, 2013 Riddle me this, Batman. Doesn't render -snip Place string, block renders -snip- Maybe has something to do with shouldSideBeRendered()? Just an idea... Quote BEWARE OF GOD --- Co-author of Pentachoron Labs' SBFP Tech.
Draco18s Posted June 14, 2013 Author Posted June 14, 2013 Riddle me this, Batman. Doesn't render -snip Place string, block renders -snip- Maybe has something to do with shouldSideBeRendered()? Just an idea... Nope, as it turned out, it was because I was returning false. Quote Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
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.