Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.16.4]I don't know how to make blocks transparent


FREyebeans2506
 Share

Recommended Posts

Mod blocks must have block models loaded from resource packs just like vanilla blocks. The vanilla air model is assets/minecraft/models/block/air.json, and the blockstates are assets/minecraft/blockstates/air.json

Have you ever want the new operator to return a type that you didn't ask for? Well, now you can!

Link to comment
Share on other sites

On 12/10/2020 at 6:49 PM, Vinyarion said:

1. Learn java, it will definitely make everything less confusing.

Do this. You will need it.

 

For now, you can use RenderTypeLookup.setRenderLayer(YourBlockClass.YourBlock.get(), RenderType.getTranslucent());

Use .get() if using deferred registries. You have to put this in your client setup event, I have my own topic on this.

A link to that is right here, 

 

Link to comment
Share on other sites

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

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.