Jump to content

Recommended Posts

Posted

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!

Posted

 

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.

Posted

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!

  • 6 months later...

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.