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.

[SOLVED] [1.16.5] Custom block model makes the block underneath it transparent

Featured Replies

Posted

Hey, so I was taking a break from minecraft modding and then today i decided to go back and do some modding again. I saw that my latest version of my mod was 1.16.3, so i decided to update it to 1.16.5. Then I found out that they renamed basically everything, and now im stuck with this problem, the problem is that its not the same code as in the 1.16.3 because the voxel shapes and facing things dont work in this version. So i just deleted them, and now i dont know how to fix this. These blocks have no rotation and no boundary boxes, since i deleted them. I never liked working with them, for me they are annoying. And yeah as i said, the problem is that the custom block model makes the block underneath or beside it transparent. The code is basic, basically just a constructor in a class and some properties in the init class. Any help appreciated!

Edited by Anonomys

This is my signature. I don't really too much know about java but i try to help and i try to get help from others too. Thank you!

7 minutes ago, Anonomys said:

the problem is that the custom block model makes the block underneath or beside it transparent.

you need to set your blocks render layer to be cutout during the client setup.

8 minutes ago, Anonomys said:

I saw that my latest version of my mod was 1.16.3, so i decided to update it to 1.16.5. Then I found out that they renamed basically everything

things haven't been renamed. Forge previously used mcp mappings, but recently Mojang relesead the official mappings, and so the newer versions of forge ship with those by default.

you can cahnge the mappings channel and version in your build.gradle to switch back to mcp

8 minutes ago, Anonomys said:

the problem is that its not the same code as in the 1.16.3 because the voxel shapes and facing things dont work in this version.

they should work, just have different names. you can use of your IDE's auto complete to see what method shares the signature (parameters and return type), that you were using

  • Author
1 minute ago, kiou.23 said:

you need to set your blocks render layer to be cutout during the client setup.

And how do i do that?

This is my signature. I don't really too much know about java but i try to help and i try to get help from others too. Thank you!

  • Author

Okay doesnt matter, i just changed the mappings channel from the official to the latest snapshot (20210309-1.16.5). It works now how its supposed to.

This is my signature. I don't really too much know about java but i try to help and i try to get help from others too. Thank you!

  • Anonomys changed the title to [SOLVED] [1.16.5] Custom block model makes the block underneath it transparent

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.