aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkekzdealer <kekzdealer@gmail.com>2020-05-18 13:36:05 +0200
committerkekzdealer <kekzdealer@gmail.com>2020-05-18 13:36:05 +0200
commita785ef53e7e135fe59a95d3412b73a3a6a31da38 (patch)
treefc2daf446cde41399897aa451241464310127a4b
parent6672927fc2f7d1130ae93a5d4405cbea3c138b1d (diff)
downloadGT5-Unofficial-a785ef53e7e135fe59a95d3412b73a3a6a31da38.tar.gz
GT5-Unofficial-a785ef53e7e135fe59a95d3412b73a3a6a31da38.tar.bz2
GT5-Unofficial-a785ef53e7e135fe59a95d3412b73a3a6a31da38.zip
Fixed thether beam being culled when source block is out of sight
-rw-r--r--src/main/java/common/tileentities/TE_SpaceElevatorTether.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/common/tileentities/TE_SpaceElevatorTether.java b/src/main/java/common/tileentities/TE_SpaceElevatorTether.java
index a098771f2e..c4df059563 100644
--- a/src/main/java/common/tileentities/TE_SpaceElevatorTether.java
+++ b/src/main/java/common/tileentities/TE_SpaceElevatorTether.java
@@ -3,6 +3,7 @@ package common.tileentities;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.tileentity.TileEntity;
+import net.minecraft.util.AxisAlignedBB;
public class TE_SpaceElevatorTether extends TileEntity {
@@ -12,4 +13,11 @@ public class TE_SpaceElevatorTether extends TileEntity {
// 4k is standard, 65k is what the vanilla beacon uses
return 65536.0D;
}
+
+ @Override
+ @SideOnly(Side.CLIENT)
+ public AxisAlignedBB getRenderBoundingBox() {
+ // Make it so the beam is still rendered even when the source block is out of sight
+ return INFINITE_EXTENT_AABB;
+ }
}