Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

ISimpleBlockRenderingHandler - Doesn't render is block's render pass is 1?


Recommended Posts

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.

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.

Link to post
Share on other sites

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.

 

width=800 height=449http://s22.postimg.org/4lh3lpdqp/2013_06_13_15_59_06.png[/img]

 

And with render pass 0:

width=800 height=449http://s15.postimg.org/gk8whtrvf/2013_06_13_16_01_26.png[/img]

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.

Link to post
Share on other sites

Riddle me this, Batman.

 

Doesn't render

width=800 height=449http://s10.postimg.org/64mow4bll/2013_06_13_23_26_00.png[/img]

 

Place string, block renders

width=800 height=449http://s24.postimg.org/soa1wok79/2013_06_13_23_26_02.png[/img]

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.

Link to post
Share on other sites

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.

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.

Link to post
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.

Guest
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.



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.