aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kekztech
diff options
context:
space:
mode:
authorkekzdealer <kekzdealer@gmail.com>2020-05-18 22:57:11 +0200
committerkekzdealer <kekzdealer@gmail.com>2020-05-18 22:57:11 +0200
commite763bd08b1ac3800ca259e1d16d63821b28e0067 (patch)
treefce8bf7aeda3b53ff094e50d34b87e5dc3fafb18 /src/main/java/kekztech
parenta785ef53e7e135fe59a95d3412b73a3a6a31da38 (diff)
downloadGT5-Unofficial-e763bd08b1ac3800ca259e1d16d63821b28e0067.tar.gz
GT5-Unofficial-e763bd08b1ac3800ca259e1d16d63821b28e0067.tar.bz2
GT5-Unofficial-e763bd08b1ac3800ca259e1d16d63821b28e0067.zip
Implemented TESR for Space Elevator Capacitors. This allows me to change their colour saturation on the fly to sync it with the elevator charge state. - Added tooltip to the caps to tell players that the invisible top/bot faces are intended as a performance improvement
Diffstat (limited to 'src/main/java/kekztech')
-rw-r--r--src/main/java/kekztech/KekzCore.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/kekztech/KekzCore.java b/src/main/java/kekztech/KekzCore.java
index a160c3b7e7..7574c1f399 100644
--- a/src/main/java/kekztech/KekzCore.java
+++ b/src/main/java/kekztech/KekzCore.java
@@ -1,6 +1,7 @@
package kekztech;
-import client.renderer.TetherRenderer;
+import client.renderer.TESR_SECapacitor;
+import client.renderer.TESR_SETether;
import common.Blocks;
import common.Recipes;
import common.Researches;
@@ -76,7 +77,8 @@ public class KekzCore {
NetworkRegistry.INSTANCE.registerGuiHandler(instance, new GuiHandler());
// Register TESR
- ClientRegistry.bindTileEntitySpecialRenderer(TE_SpaceElevatorTether.class, new TetherRenderer());
+ ClientRegistry.bindTileEntitySpecialRenderer(TE_SpaceElevatorTether.class, new TESR_SETether());
+ ClientRegistry.bindTileEntitySpecialRenderer(TE_SpaceElevatorCapacitor.class, new TESR_SECapacitor());
Researches.preInit();
}