This commit is contained in:
Alexdoru authored and Jason Mitchell committed 2023-01-28 18:02:41 -08:00
1 parent d12e70dd52
commit 59f3b5b72a
6 files changed
+33 -20

No files matched your search

@@ -29,15 +29,21 @@ public class BattlesignBlock extends EquipBlock {
@Override
public boolean shouldSideBeRendered(
IBlockAccess p_149646_1_, int p_149646_2_, int p_149646_3_, int p_149646_4_, int p_149646_5_) {
return p_149646_5_ == 0 && this.minY > 0.0D || (p_149646_5_ == 1 && this.maxY < 1.0D || (p_149646_5_ == 2 && this.minZ > 0.0D || (p_149646_5_ == 3 && this.maxZ < 1.0D || (p_149646_5_ == 4 && this.minX > 0.0D || (p_149646_5_ == 5 && this.maxX < 1.0D || !(p_149646_1_
.getBlock(p_149646_2_, p_149646_3_, p_149646_4_)
.isOpaqueCube()
&& p_149646_1_
.getBlock(
p_149646_2_,
p_149646_3_ + 1,
p_149646_4_)
.isOpaqueCube()))))));
return p_149646_5_ == 0 && this.minY > 0.0D
|| (p_149646_5_ == 1 && this.maxY < 1.0D
|| (p_149646_5_ == 2 && this.minZ > 0.0D
|| (p_149646_5_ == 3 && this.maxZ < 1.0D
|| (p_149646_5_ == 4 && this.minX > 0.0D
|| (p_149646_5_ == 5 && this.maxX < 1.0D
|| !(p_149646_1_
.getBlock(p_149646_2_, p_149646_3_, p_149646_4_)
.isOpaqueCube()
&& p_149646_1_
.getBlock(
p_149646_2_,
p_149646_3_ + 1,
p_149646_4_)
.isOpaqueCube()))))));
}
@Override