KGS Posted May 14, 2014 Share Posted May 14, 2014 I extend vanilla stairs with my own class. I create a few instances of it. The problem is that the lighting is wrong on nearby blocks. Vanilla stairs: http://www.update.uu.se/~kgs/screenshots/2014-04-29_00.47.38.png[/img] My stairs: http://www.update.uu.se/~kgs/screenshots/2014-04-29_00.47.51.png[/img] As you can see, the light level is completely wrong. public class BaseStairs extends BlockStairs { public BaseStairs(Block block, int someInt) { super(block, someInt); } @Override public boolean isOpaqueCube() { return false; } @Override public boolean renderAsNormalBlock() { return false; } } Someone on the #minecraftforge channel suggested I override getAmbientOcclusionLightLevel and return 0.0f, but that made no difference. 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.