Fix Stained Glass pane rendering issues
This commit is contained in:
parent
ba69a1a6fd
commit
3119f700f3
1 changed files with 15 additions and 0 deletions
|
@ -92,6 +92,21 @@
|
|||
{
|
||||
d5 = (double)p_147801_2_ + 0.5D + 0.5D;
|
||||
d6 = (double)p_147801_2_ + 0.5D - 0.5D;
|
||||
@@ -2724,10 +2728,10 @@
|
||||
double d16 = (double)p_147733_2_ + 0.5D + 0.0625D;
|
||||
double d17 = (double)p_147733_4_ + 0.5D - 0.0625D;
|
||||
double d18 = (double)p_147733_4_ + 0.5D + 0.0625D;
|
||||
- boolean flag = flag5 ? ((BlockStainedGlassPane)p_147733_1_).func_150098_a(this.field_147845_a.func_147439_a(p_147733_2_, p_147733_3_, p_147733_4_ - 1)) : ((BlockPane)p_147733_1_).func_150098_a(this.field_147845_a.func_147439_a(p_147733_2_, p_147733_3_, p_147733_4_ - 1));
|
||||
- boolean flag1 = flag5 ? ((BlockStainedGlassPane)p_147733_1_).func_150098_a(this.field_147845_a.func_147439_a(p_147733_2_, p_147733_3_, p_147733_4_ + 1)) : ((BlockPane)p_147733_1_).func_150098_a(this.field_147845_a.func_147439_a(p_147733_2_, p_147733_3_, p_147733_4_ + 1));
|
||||
- boolean flag2 = flag5 ? ((BlockStainedGlassPane)p_147733_1_).func_150098_a(this.field_147845_a.func_147439_a(p_147733_2_ - 1, p_147733_3_, p_147733_4_)) : ((BlockPane)p_147733_1_).func_150098_a(this.field_147845_a.func_147439_a(p_147733_2_ - 1, p_147733_3_, p_147733_4_));
|
||||
- boolean flag3 = flag5 ? ((BlockStainedGlassPane)p_147733_1_).func_150098_a(this.field_147845_a.func_147439_a(p_147733_2_ + 1, p_147733_3_, p_147733_4_)) : ((BlockPane)p_147733_1_).func_150098_a(this.field_147845_a.func_147439_a(p_147733_2_ + 1, p_147733_3_, p_147733_4_));
|
||||
+ boolean flag = ((BlockPane)p_147733_1_).canPaneConnectTo(this.field_147845_a, p_147733_2_, p_147733_3_, p_147733_4_ - 1, NORTH);
|
||||
+ boolean flag1 = ((BlockPane)p_147733_1_).canPaneConnectTo(this.field_147845_a, p_147733_2_, p_147733_3_, p_147733_4_ + 1, SOUTH);
|
||||
+ boolean flag2 = ((BlockPane)p_147733_1_).canPaneConnectTo(this.field_147845_a, p_147733_2_ - 1, p_147733_3_, p_147733_4_, WEST );
|
||||
+ boolean flag3 = ((BlockPane)p_147733_1_).canPaneConnectTo(this.field_147845_a, p_147733_2_ + 1, p_147733_3_, p_147733_4_, EAST );
|
||||
double d19 = 0.001D;
|
||||
double d20 = 0.999D;
|
||||
double d21 = 0.001D;
|
||||
@@ -3121,10 +3125,10 @@
|
||||
double d16 = (double)p_147767_2_ + 0.5D + 0.0625D;
|
||||
double d17 = (double)p_147767_4_ + 0.5D - 0.0625D;
|
||||
|
|
Loading…
Reference in a new issue