Posted October 4, 201410 yr Hi, I'm updating my mod to 1.8 and noticed that although my stairs and slabs extend BlockStairs and BlockSlab, they make the area above/below them look "shadowed." If I turn off smooth lighting, the area is completely black. Additionally, the faces of the slabs disappear when I place another slab next to them (but a different half). Does anyone know why this is? Is the rendering of slabs and stairs hardcoded into vanilla now? Check out my mod, Realms of Chaos, here. If I helped you, be sure to press the "Thank You" button!
October 6, 201410 yr Try using. this.setLightOpacity(0); https://bitbucket.org/Dragonisser/cobaltmod/src/283795b0c366596dc22362f56cb558f9d8ff04ab/cobaltmod/blocks/BlockCobaltBrickSlab.java?at=master#cl-22 Tell me if it works 1.8 too, because this is in 1.7.10 and i can't test it right now ^^
October 6, 201410 yr I don't know if you already have this, and I'm not sure if it is the same in 1.8, but it works for me in 1.7, try: public boolean isOpaqueCube() { return false; } public boolean renderAsNormalBlock() { return false; } Ignore this if you already have this. I am just trying to help . I ask complicated questions, and apparently like to write really long detailed posts. But I also help others when I can.
October 6, 201410 yr Forge 1.8? PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.
October 6, 201410 yr Forge 1.8? Yes http://www.minecraftforge.net/forum/index.php/topic,22782.msg120872.html#msg120872 http://files.minecraftforge.net/fml/1.8 http://files.minecraftforge.net/maven/net/minecraftforge/fml/1.8-7.10.99.1005-1.8/fml-1.8-7.10.99.1005-1.8-changelog.txt
October 6, 201410 yr Not Forge 1.8, MC 1.8 (I don't know what version of Forge is the earliest for 1. I ask complicated questions, and apparently like to write really long detailed posts. But I also help others when I can.
October 6, 201410 yr Author It's not forge, it's fml. Forge hasn't been released yet. SetLightOpacity(0) did work, but then the blocks are completely transparent, right? Check out my mod, Realms of Chaos, here. If I helped you, be sure to press the "Thank You" button!
October 6, 201410 yr In 1.7.10 I used useneighborlightlevel = true. Or something close to that. On my phone so don't have access to my code.
October 6, 201410 yr Author Thanks I'll try that. Check out my mod, Realms of Chaos, here. If I helped you, be sure to press the "Thank You" button!
October 6, 201410 yr Author That worked. It was useNeighborBrightness. Thanks! Check out my mod, Realms of Chaos, here. If I helped you, be sure to press the "Thank You" button!
May 2, 201510 yr Thank you!!!!!!!!!!! I have been trying for weeks to figure out how to fix this in my mod! I would hug you, if such things were possible over an ethernet cable. Check out my Mod: The RPCraft Toolkit!
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.