Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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!

 

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.

Not Forge 1.8, MC 1.8 (I don't know what version of Forge is the earliest for 1.8)

I ask complicated questions, and apparently like to write really long detailed posts. But I also help others when I can.

  • 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!

In 1.7.10 I used useneighborlightlevel = true. Or something close to that. On my phone so don't have access to my code.

 

  • 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!

  • 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!

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.