From 630761e5d633eb976f4a1bd2178a3fbcae5072d4 Mon Sep 17 00:00:00 2001 From: miozune Date: Fri, 29 Dec 2023 21:32:03 +0900 Subject: Cleanup deprecation (#2416) * Remove isValidMetaTileEntity and filterValidMetaTileEntities * Remove OUTPUT_FULL * Remove calclavia oredict * Remove unused GT_GUIColorOverride constructor * Remove getItemGridPositions * Remove unused tool classes * Remove unused GT_Runnable_Sound constructors * Remove unused cover constructors * Remove getBasicOutput() * Remove unused GT_MetaTileEntity_GasTurbine constructors * Remove ImplosionCompressorRecipes#addImplosionRecipe * Remove mOutputItem1 & mOutputItem2 * Remove GT_MetaTileEntity_Miner#moveOneDown & #getFakePlayer * Remove unused GT_Worldgen_GT_Ore_Layer constructor * Remove GT_ModReference * Remove deprecated BaseMetaTileEntity#receiveMetaTileEntityData * Remove deprecated cover variables * Remove deprecated GT_CoverBehaviorBase#isCoverPlaceable * Remove unused variables from GT_MachineRecipeLoader * Remove #getCalcificationOutput * Remove IC2_Fuel_Can_Empty and IC2_Fuel_Can_Filled * Remove deprecated #polluteEnvironment() * Remove FluidDisplaySlotWidget --- src/main/java/gregtech/common/covers/GT_Cover_Arm.java | 8 -------- .../gregtech/common/covers/GT_Cover_ControlsWork.java | 8 -------- .../java/gregtech/common/covers/GT_Cover_Conveyor.java | 16 ---------------- .../java/gregtech/common/covers/GT_Cover_Crafting.java | 8 -------- .../java/gregtech/common/covers/GT_Cover_DoesWork.java | 8 -------- src/main/java/gregtech/common/covers/GT_Cover_Drain.java | 8 -------- .../java/gregtech/common/covers/GT_Cover_EUMeter.java | 8 -------- .../gregtech/common/covers/GT_Cover_FluidLimiter.java | 8 -------- .../gregtech/common/covers/GT_Cover_FluidRegulator.java | 8 -------- .../gregtech/common/covers/GT_Cover_Fluidfilter.java | 8 -------- .../java/gregtech/common/covers/GT_Cover_ItemFilter.java | 8 -------- .../java/gregtech/common/covers/GT_Cover_ItemMeter.java | 8 -------- src/main/java/gregtech/common/covers/GT_Cover_Lens.java | 8 -------- .../common/covers/GT_Cover_NeedMaintainance.java | 8 -------- .../gregtech/common/covers/GT_Cover_PlayerDetector.java | 8 -------- src/main/java/gregtech/common/covers/GT_Cover_Pump.java | 8 -------- .../common/covers/GT_Cover_RedstoneReceiverExternal.java | 8 -------- .../common/covers/GT_Cover_RedstoneReceiverInternal.java | 8 -------- .../covers/GT_Cover_RedstoneTransmitterExternal.java | 8 -------- .../covers/GT_Cover_RedstoneTransmitterInternal.java | 8 -------- .../common/covers/GT_Cover_RedstoneWirelessBase.java | 8 -------- .../java/gregtech/common/covers/GT_Cover_Screen.java | 8 -------- .../java/gregtech/common/covers/GT_Cover_Shutter.java | 8 -------- .../gregtech/common/covers/GT_Cover_SteamRegulator.java | 8 -------- .../java/gregtech/common/covers/GT_Cover_SteamValve.java | 8 -------- 25 files changed, 208 deletions(-) (limited to 'src/main/java/gregtech/common/covers') diff --git a/src/main/java/gregtech/common/covers/GT_Cover_Arm.java b/src/main/java/gregtech/common/covers/GT_Cover_Arm.java index 8391724c75..dc44e2b390 100644 --- a/src/main/java/gregtech/common/covers/GT_Cover_Arm.java +++ b/src/main/java/gregtech/common/covers/GT_Cover_Arm.java @@ -38,14 +38,6 @@ public class GT_Cover_Arm extends GT_CoverBehavior { // among players doesn't make sense. private static final String ANY_TEXT = "Any"; - /** - * @deprecated use {@link #GT_Cover_Arm(int aTickRate, ITexture coverTexture)} instead - */ - @Deprecated - public GT_Cover_Arm(int aTickRate) { - this(aTickRate, null); - } - public GT_Cover_Arm(int aTickRate, ITexture coverTexture) { super(coverTexture); this.mTickRate = aTickRate; diff --git a/src/main/java/gregtech/common/covers/GT_Cover_ControlsWork.java b/src/main/java/gregtech/common/covers/GT_Cover_ControlsWork.java index b57c4d682b..560a91bcef 100644 --- a/src/main/java/gregtech/common/covers/GT_Cover_ControlsWork.java +++ b/src/main/java/gregtech/common/covers/GT_Cover_ControlsWork.java @@ -22,14 +22,6 @@ import gregtech.common.gui.modularui.widget.CoverDataFollower_ToggleButtonWidget public class GT_Cover_ControlsWork extends GT_CoverBehavior implements IControlsWorkCover { - /** - * @deprecated use {@link #GT_Cover_ControlsWork(ITexture coverTexture)} instead - */ - @Deprecated - public GT_Cover_ControlsWork() { - this(null); - } - public GT_Cover_ControlsWork(ITexture coverTexture) { super(coverTexture); } diff --git a/src/main/java/gregtech/common/covers/GT_Cover_Conveyor.java b/src/main/java/gregtech/common/covers/GT_Cover_Conveyor.java index e9ce1fe3d0..fcedfbe768 100644 --- a/src/main/java/gregtech/common/covers/GT_Cover_Conveyor.java +++ b/src/main/java/gregtech/common/covers/GT_Cover_Conveyor.java @@ -28,22 +28,6 @@ public class GT_Cover_Conveyor extends GT_CoverBehavior { public final int mTickRate; private final int mMaxStacks; - /** - * @deprecated use {@link #GT_Cover_Conveyor(int aTickRate, int maxStacks, ITexture coverTexture)} instead - */ - @Deprecated - public GT_Cover_Conveyor(int aTickRate) { - this(aTickRate, 1, null); - } - - /** - * @deprecated use {@link #GT_Cover_Conveyor(int aTickRate, int maxStacks, ITexture coverTexture)} instead - */ - @Deprecated - public GT_Cover_Conveyor(int aTickRate, int maxStacks) { - this(aTickRate, maxStacks, null); - } - public GT_Cover_Conveyor(int aTickRate, int maxStacks, ITexture coverTexture) { super(coverTexture); this.mTickRate = aTickRate; diff --git a/src/main/java/gregtech/common/covers/GT_Cover_Crafting.java b/src/main/java/gregtech/common/covers/GT_Cover_Crafting.java index 2039162f93..f492542fa9 100644 --- a/src/main/java/gregtech/common/covers/GT_Cover_Crafting.java +++ b/src/main/java/gregtech/common/covers/GT_Cover_Crafting.java @@ -13,14 +13,6 @@ import gregtech.api.util.ISerializableObject; public class GT_Cover_Crafting extends GT_CoverBehavior { - /** - * @deprecated use {@link #GT_Cover_Crafting(ITexture coverTexture)} instead - */ - @Deprecated - public GT_Cover_Crafting() { - this(null); - } - public GT_Cover_Crafting(ITexture coverTexture) { super(coverTexture); } diff --git a/src/main/java/gregtech/common/covers/GT_Cover_DoesWork.java b/src/main/java/gregtech/common/covers/GT_Cover_DoesWork.java index 2e60c8cad2..37c791b024 100644 --- a/src/main/java/gregtech/common/covers/GT_Cover_DoesWork.java +++ b/src/main/java/gregtech/common/covers/GT_Cover_DoesWork.java @@ -20,14 +20,6 @@ import gregtech.common.gui.modularui.widget.CoverDataFollower_ToggleButtonWidget public class GT_Cover_DoesWork extends GT_CoverBehavior { - /** - * @deprecated use {@link #GT_Cover_DoesWork(ITexture coverTexture)} instead - */ - @Deprecated - public GT_Cover_DoesWork() { - this(null); - } - public GT_Cover_DoesWork(ITexture coverTexture) { super(coverTexture); } diff --git a/src/main/java/gregtech/common/covers/GT_Cover_Drain.java b/src/main/java/gregtech/common/covers/GT_Cover_Drain.java index b10ca4f493..2590f8e7ae 100644 --- a/src/main/java/gregtech/common/covers/GT_Cover_Drain.java +++ b/src/main/java/gregtech/common/covers/GT_Cover_Drain.java @@ -18,14 +18,6 @@ import gregtech.api.util.GT_Utility; public class GT_Cover_Drain extends GT_CoverBehavior { - /** - * @deprecated use {@link #GT_Cover_Drain(ITexture coverTexture)} instead - */ - @Deprecated - public GT_Cover_Drain() { - this(null); - } - public GT_Cover_Drain(ITexture coverTexture) { super(coverTexture); } diff --git a/src/main/java/gregtech/common/covers/GT_Cover_EUMeter.java b/src/main/java/gregtech/common/covers/GT_Cover_EUMeter.java index d91e62a687..de1f934a71 100644 --- a/src/main/java/gregtech/common/covers/GT_Cover_EUMeter.java +++ b/src/main/java/gregtech/common/covers/GT_Cover_EUMeter.java @@ -35,14 +35,6 @@ import io.netty.buffer.ByteBuf; public class GT_Cover_EUMeter extends GT_CoverBehaviorBase { - /** - * @deprecated use {@link #GT_Cover_EUMeter(ITexture coverTexture)} instead - */ - @Deprecated - public GT_Cover_EUMeter() { - this(null); - } - public GT_Cover_EUMeter(ITexture coverTexture) { super(EUMeterData.class, coverTexture); } diff --git a/src/main/java/gregtech/common/covers/GT_Cover_FluidLimiter.java b/src/main/java/gregtech/common/covers/GT_Cover_FluidLimiter.java index e1832d5a54..871f89a07b 100644 --- a/src/main/java/gregtech/common/covers/GT_Cover_FluidLimiter.java +++ b/src/main/java/gregtech/common/covers/GT_Cover_FluidLimiter.java @@ -32,14 +32,6 @@ import io.netty.buffer.ByteBuf; */ public class GT_Cover_FluidLimiter extends GT_CoverBehaviorBase { - /** - * @deprecated use {@link #GT_Cover_FluidLimiter(ITexture coverTexture)} instead - */ - @Deprecated - public GT_Cover_FluidLimiter() { - this(null); - } - public GT_Cover_FluidLimiter(ITexture coverTexture) { super(FluidLimiterData.class, coverTexture); } diff --git a/src/main/java/gregtech/common/covers/GT_Cover_FluidRegulator.java b/src/main/java/gregtech/common/covers/GT_Cover_FluidRegulator.java index 5325d09187..ce11a397f4 100644 --- a/src/main/java/gregtech/common/covers/GT_Cover_FluidRegulator.java +++ b/src/main/java/gregtech/common/covers/GT_Cover_FluidRegulator.java @@ -61,14 +61,6 @@ public class GT_Cover_FluidRegulator extends GT_CoverBehaviorBase (-1 >>> (Integer.SIZE - SPEED_LENGTH))) diff --git a/src/main/java/gregtech/common/covers/GT_Cover_Fluidfilter.java b/src/main/java/gregtech/common/covers/GT_Cover_Fluidfilter.java index 296b9c3469..5a6999e055 100644 --- a/src/main/java/gregtech/common/covers/GT_Cover_Fluidfilter.java +++ b/src/main/java/gregtech/common/covers/GT_Cover_Fluidfilter.java @@ -45,14 +45,6 @@ public class GT_Cover_Fluidfilter extends GT_CoverBehaviorBase