aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/covers/GT_Cover_RedstoneTransmitterInternal.java
diff options
context:
space:
mode:
authorLéa Gris <lea.gris@noiraude.net>2022-09-01 13:17:27 +0200
committerGitHub <noreply@github.com>2022-09-01 13:17:27 +0200
commitb1ac2dc90ec6847e5a328fb12a3ece3b670df33c (patch)
treeff74c772afc2239939f37d307fa026deef6edb5b /src/main/java/gregtech/common/covers/GT_Cover_RedstoneTransmitterInternal.java
parent8a6973f2bddfb0a1485422725745c1078b1ea49e (diff)
downloadGT5-Unofficial-b1ac2dc90ec6847e5a328fb12a3ece3b670df33c.tar.gz
GT5-Unofficial-b1ac2dc90ec6847e5a328fb12a3ece3b670df33c.tar.bz2
GT5-Unofficial-b1ac2dc90ec6847e5a328fb12a3ece3b670df33c.zip
impl(covers): functional covers uses machine casing (#1317)
* impl(covers): functional covers uses machine casing - Functional covers now will let see the casing, when placed on machines. - When placed on pipes or frames, they continue to use their own tiered casing as they used to. * impr(cover): restore backward compat interface to cover registgration Registering covers with the old interface works again. Legacy cover registration just produce covers that renders the old way without transparency over machine casing. Removed the useless GT_Cover_Cased class and added the feature to the GT_CoverBehavior class, maintaining the old constructor alongside the new constructor with an overlay texture. * impr(covers): deprecate old constructors Delete totally redundant and unused EnergyOnly cover Keeps other unused covers as TODO reimplementation tasks * impr(covers): fludStorageMonitor overlay - Re-add FluidStorageMonitor fluid-texture overlay - Allow light-emitting fluids to render as glow texture. * impr(covers): Expand foreground texture support to GT_Cover_FacadeBase * spotlessapply
Diffstat (limited to 'src/main/java/gregtech/common/covers/GT_Cover_RedstoneTransmitterInternal.java')
-rw-r--r--src/main/java/gregtech/common/covers/GT_Cover_RedstoneTransmitterInternal.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/java/gregtech/common/covers/GT_Cover_RedstoneTransmitterInternal.java b/src/main/java/gregtech/common/covers/GT_Cover_RedstoneTransmitterInternal.java
index 0003e063b3..a1f020c40c 100644
--- a/src/main/java/gregtech/common/covers/GT_Cover_RedstoneTransmitterInternal.java
+++ b/src/main/java/gregtech/common/covers/GT_Cover_RedstoneTransmitterInternal.java
@@ -1,9 +1,23 @@
package gregtech.common.covers;
import gregtech.api.GregTech_API;
+import gregtech.api.interfaces.ITexture;
import gregtech.api.interfaces.tileentity.ICoverable;
public class GT_Cover_RedstoneTransmitterInternal extends GT_Cover_RedstoneWirelessBase {
+
+ /**
+ * @deprecated use {@link #GT_Cover_RedstoneTransmitterInternal(ITexture coverTexture)} instead
+ */
+ @Deprecated
+ public GT_Cover_RedstoneTransmitterInternal() {
+ this(null);
+ }
+
+ public GT_Cover_RedstoneTransmitterInternal(ITexture coverTexture) {
+ super(coverTexture);
+ }
+
@Override
public boolean isRedstoneSensitive(
byte aSide, int aCoverID, int aCoverVariable, ICoverable aTileEntity, long aTimer) {