Jump to content

Setting the .setLightOpacity(0); for slabs and Stairs


Grizzly101

Recommended Posts

Hello Everyone! :) Is there any possible way to not add ".setLightOpacity(0);" for your slabs and stairs and still not screw up the shading? The vanilla slabs and stairs don't have it and works fine. In fact, the shading is different than the slabs I made.

 

Here is a picture of my test room:width=800 height=449http://sphotos-e.ak.fbcdn.net/hphotos-ak-snc6/259930_447233528666661_2045660487_n.jpg[/img]

 

 

Here is a picture of it with my slabs(doubled):

width=800 height=449http://sphotos-g.ak.fbcdn.net/hphotos-ak-prn1/60739_447233535333327_1247379448_n.jpg[/img]

 

 

Here is a picture of it with stone slabs(doubled)

width=800 height=449http://sphotos-c.ak.fbcdn.net/hphotos-ak-ash3/549046_447233508666663_1313670354_n.jpg[/img]

 

 

It seems like my slabs do not block the light from coming in. Guess its because of ".setLightOpacity(0)"

Note: My slab has almost the same color as a stone slab.

 

Please tell me if there is an alternative. :)

Link to comment
Share on other sites

I would like to know too, I also had to allow all light to pass through the block so the block is shaded correctly without the 'ghost shading'.

I know minecraft stairs and slabs used to allow all light through, so obviously a workaround in in there somewhere, but I haven't been bothered enough by it yet to track it down.

Link to comment
Share on other sites

As far as I know, single and doubled slabs don't share the same block-ID, they have different ones.

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.