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.

QKninja

Members
  • Joined

  • Last visited

Everything posted by QKninja

  1. I'm running into a rendering problem. I'm using a TileEntitySpecialRenderer to render my model, which is working as expected. However, when my block is placed bordering certain blocks, such as a lit furnace or end portal, the corresponding side on that block will not render correctly. It appears as if I haven't overridden IsOpaqueCube(), but I have. I've provided a screenshot and some relevant code, and can provide more if needed. Thanks. Edit: If I change the light level of the block to zero, it works. having a light level leads to a different call in BlockRenderer. Edit 2: I messed up and setLightLevel(10.0F) when it should be less than 1. replacing with setLightLevel(0.5F) fixed the problem. @Override public boolean shouldSideBeRendered(IBlockAccess p_149646_1_, int p_149646_2_, int p_149646_3_, int p_149646_4_, int p_149646_5_) { return true; } @Override public boolean isOpaqueCube() { return false; } @Override public int getRenderType() { return -1; } @Override public boolean renderAsNormalBlock() { return false; }

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.