From c3fe6ecf7ca0f2d95a2c31ce3f375c4e4eee9d0b Mon Sep 17 00:00:00 2001 From: LexManos Date: Fri, 26 Aug 2016 15:26:29 -0700 Subject: [PATCH] Make StructureBlock TESRs always render. Closes #3222 --- .../net/minecraft/tileentity/TileEntity.java.patch | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/tileentity/TileEntity.java.patch b/patches/minecraft/net/minecraft/tileentity/TileEntity.java.patch index 64201c392..aa4dffe1e 100644 --- a/patches/minecraft/net/minecraft/tileentity/TileEntity.java.patch +++ b/patches/minecraft/net/minecraft/tileentity/TileEntity.java.patch @@ -68,7 +68,7 @@ public double func_145835_a(double p_145835_1_, double p_145835_3_, double p_145835_5_) { double d0 = (double)this.field_174879_c.func_177958_n() + 0.5D - p_145835_1_; -@@ -305,6 +315,198 @@ +@@ -305,6 +315,202 @@ { } @@ -151,6 +151,10 @@ + { + bb = new net.minecraft.util.math.AxisAlignedBB(pos.func_177982_a(-1, 0, -1), pos.func_177982_a(2, 2, 2)); + } ++ else if (type == Blocks.field_185779_df) ++ { ++ bb = INFINITE_EXTENT_AABB; ++ } + else if (type != null && type != Blocks.field_150461_bJ) + { + net.minecraft.util.math.AxisAlignedBB cbb = null;