diff options
Diffstat (limited to 'src/main/java/gregtech/api/util')
-rw-r--r-- | src/main/java/gregtech/api/util/AdvancedFusionOverclockDescriber.java | 8 | ||||
-rw-r--r-- | src/main/java/gregtech/api/util/GT_OverclockCalculator.java | 20 |
2 files changed, 4 insertions, 24 deletions
diff --git a/src/main/java/gregtech/api/util/AdvancedFusionOverclockDescriber.java b/src/main/java/gregtech/api/util/AdvancedFusionOverclockDescriber.java index 7a6e609f93..606716310f 100644 --- a/src/main/java/gregtech/api/util/AdvancedFusionOverclockDescriber.java +++ b/src/main/java/gregtech/api/util/AdvancedFusionOverclockDescriber.java @@ -13,11 +13,11 @@ public class AdvancedFusionOverclockDescriber extends FusionOverclockDescriber { } @Override - protected int getEUtIncreasePerOC() { - return 2; + protected double getEUtIncreasePerOC() { + return 4.0; } - protected int getDurationDecreasePerOC() { - return 2; + protected double getDurationDecreasePerOC() { + return 4.0; } } diff --git a/src/main/java/gregtech/api/util/GT_OverclockCalculator.java b/src/main/java/gregtech/api/util/GT_OverclockCalculator.java index 3a08988339..91cdf865ad 100644 --- a/src/main/java/gregtech/api/util/GT_OverclockCalculator.java +++ b/src/main/java/gregtech/api/util/GT_OverclockCalculator.java @@ -295,16 +295,6 @@ public class GT_OverclockCalculator { } /** - * @deprecated Deprecated in favor of {@link #setEUtIncreasePerOC(double)}. Calls - * {@link #setEUtIncreasePerOC(double)} where the given value is 2^eutIncreasePerOC - */ - @Deprecated - @Nonnull - public GT_OverclockCalculator setEUtIncreasePerOC(int eutIncreasePerOC) { - return setEUtIncreasePerOC(Math.pow(2, eutIncreasePerOC)); - } - - /** * Sets the amount that the eut would be multiplied by per overclock. Do not set as 1(ONE) if the duration decrease * is also 1(ONE)! */ @@ -317,16 +307,6 @@ public class GT_OverclockCalculator { } /** - * @deprecated Deprecated in favor of {@link #setDurationDecreasePerOC(double)}. Calls - * {@link #setDurationDecreasePerOC(double)} where the given value is 2^durationDecreasePerOC - */ - @Deprecated - @Nonnull - public GT_OverclockCalculator setDurationDecreasePerOC(int durationDecreasePerOC) { - return setDurationDecreasePerOC(Math.pow(2, durationDecreasePerOC)); - } - - /** * Sets the amount that the duration would be divided by per overclock. Do not set as 1(ONE) if the eut increase is * also 1(ONE)! */ |