Jump to content

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


Recommended Posts

Posted (edited)

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!

Posted
  On 6/4/2021 at 9:13 PM, Anonomys said:

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

Expand  

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

  On 6/4/2021 at 9:13 PM, 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

Expand  

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

  On 6/4/2021 at 9:13 PM, 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.

Expand  

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

Posted
  On 6/4/2021 at 9:23 PM, kiou.23 said:

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

Expand  

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!

Posted

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

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