[1.16] Add Support for Side Culling
EpicPuppy613 opened this issue ยท 3 comments
I'm trying to make a translucent block with side culling, but currently there is no way to add side culling except in the code.
My block code is here
new BlockBuilder(<blockmaterial:glass>)
.notSolid()
.withHardnessAndResistance(0.3f)
.withRenderType(BlockRenderType.TRANSLUCENT)
.withType<BlockBuilderBasic>()
.build("white_cloud");
This can be done like so:
#loader contenttweaker
import mods.contenttweaker.block.BlockBuilder;
import mods.contenttweaker.block.BlockRenderType;
import mods.contenttweaker.block.advance.BlockBuilderAdvanced;
new BlockBuilder(<blockmaterial:glass>)
.notSolid()
.withHardnessAndResistance(0.3f)
.withRenderType(BlockRenderType.TRANSLUCENT)
.withType<BlockBuilderAdvanced>()
.build("white_cloud");
and then
import mods.contenttweaker.functions.IBlockIsSideInvisible;
<advancedblock:white_cloud>.setIsSideInvisible(IBlockIsSideInvisible.GLASS_LIKE);
Is there a way to accomplish this in 1.12? Sorry if this is the wrong place to ask.