Posted December 11, 20204 yr im very new to modding and was just curious about how to make a block transparent i also would need code instead of terms because i dont understand most syntax yet Edited December 16, 20204 yr by FREyebeans2506
December 11, 20204 yr 1. Learn java, it will definitely make everything less confusing. 2. copy the block model that minecraft:air uses Have you ever want the new operator to return a type that you didn't ask for? Well, now you can!
December 11, 20204 yr 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!
December 14, 20204 yr I believe that you can use RenderTypeLookup to set the block's render layer as transparent.
December 15, 20204 yr 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,
December 16, 20204 yr Author I managed to get it to work using my knowledge of voxel shape so thanks foonicular
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.