Jump to content

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


FREyebeans2506

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

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