Skip to content

Commit 64fa2d3

Browse files
committed
Change knightmetal block to allow some culling of side faces
1 parent 25182d7 commit 64fa2d3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/java/twilightforest/block/BlockTFKnightmetalBlock.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,15 @@ public boolean isOpaqueCube(IBlockState state) {
5151

5252
@Override
5353
@Deprecated
54-
public boolean isFullCube(IBlockState state)
55-
{
54+
public boolean isFullCube(IBlockState state) {
5655
return false;
5756
}
5857

5958
@Override
6059
@SideOnly(Side.CLIENT)
6160
@Deprecated
6261
public boolean shouldSideBeRendered(IBlockState state, IBlockAccess access, BlockPos pos, EnumFacing side) {
63-
return true;
62+
return !access.getBlockState(pos.offset(side)).doesSideBlockRendering(access, pos.offset(side), side.getOpposite());
6463
}
6564

6665
@SideOnly(Side.CLIENT)

0 commit comments

Comments
 (0)