I added a partially transparent block to my mod and noticed the opposite side of the block isn't rendering. I know that for performance reasons the sides that aren't facing the player will not be rendered, but I'd like to disable that somehow for this block (because it looks weird now). Is there a way to do this?
I already have the following methods overriden in my the relevant block class:
@Override
public boolean isFullCube(IBlockState state) {
return false;
}
@Override
public boolean isOpaqueCube(IBlockState state) {
return false;
}
@Override
public BlockRenderLayer getBlockLayer() {
return BlockRenderLayer.TRANSLUCENT;
}
blockstates/respawn_altar.json:
{
"variants": {
"normal": { "model": "oam:respawn_altar_model" }
}
}
models/block/respawn_altar_model.json:
{
"parent": "block/cube_bottom_top",
"textures": {
"top": "oam:blocks/respawn_altar_top",
"bottom": "oam:blocks/respawn_altar_bottom",
"side": "oam:blocks/respawn_altar_side"
}
}
Thanks