aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com
diff options
context:
space:
mode:
authorGDCloud <gdcloudstrike@gmail.com>2023-02-27 17:33:44 +0100
committerGDCloud <gdcloudstrike@gmail.com>2023-02-27 17:33:44 +0100
commit24461c3987a7fdbd8c2f826365370e9b9e4c133f (patch)
treeca15840497a3c82b07280a5c9ae9c8193f9395cb /src/main/java/com
parent9bfca6cfb0d7223cb722c780d84549ac6e00bfaa (diff)
downloadGT5-Unofficial-24461c3987a7fdbd8c2f826365370e9b9e4c133f.tar.gz
GT5-Unofficial-24461c3987a7fdbd8c2f826365370e9b9e4c133f.tar.bz2
GT5-Unofficial-24461c3987a7fdbd8c2f826365370e9b9e4c133f.zip
Shift recipes 1 tier down (except dd)
Diffstat (limited to 'src/main/java/com')
-rw-r--r--src/main/java/com/github/technus/tectech/recipe/EyeOfHarmonyRecipe.java7
-rw-r--r--src/main/java/com/github/technus/tectech/recipe/EyeOfHarmonyRecipeStorage.java7
2 files changed, 11 insertions, 3 deletions
diff --git a/src/main/java/com/github/technus/tectech/recipe/EyeOfHarmonyRecipe.java b/src/main/java/com/github/technus/tectech/recipe/EyeOfHarmonyRecipe.java
index bc27293fa7..02e2948a0c 100644
--- a/src/main/java/com/github/technus/tectech/recipe/EyeOfHarmonyRecipe.java
+++ b/src/main/java/com/github/technus/tectech/recipe/EyeOfHarmonyRecipe.java
@@ -150,8 +150,11 @@ public class EyeOfHarmonyRecipe {
// Tier 7 - 576 Universium
// Tier 8 - 2304 Universium
// Tier 9 - 9216 Universium (DD only)
-
- fluidStackArrayList.add(SPECIAL_FLUIDS[(int) rocketTierOfRecipe]);
+ long spacetimeTier = rocketTierOfRecipe;
+ if (spacetimeTier == 0 || spacetimeTier == 9) {
+ spacetimeTier -= 1;
+ }
+ fluidStackArrayList.add(SPECIAL_FLUIDS[(int) spacetimeTier + 1]);
outputFluids = fluidStackArrayList;
// End fluid processing.
diff --git a/src/main/java/com/github/technus/tectech/recipe/EyeOfHarmonyRecipeStorage.java b/src/main/java/com/github/technus/tectech/recipe/EyeOfHarmonyRecipeStorage.java
index 9603e60af9..9c2c638f34 100644
--- a/src/main/java/com/github/technus/tectech/recipe/EyeOfHarmonyRecipeStorage.java
+++ b/src/main/java/com/github/technus/tectech/recipe/EyeOfHarmonyRecipeStorage.java
@@ -57,6 +57,11 @@ public class EyeOfHarmonyRecipeStorage {
continue;
}
+ long spacetimeTier = blockDimensionDisplay.getDimensionRocketTier();
+ if (spacetimeTier == 0) {
+ spacetimeTier += 1;
+ }
+
put(
dimAbbreviation,
new EyeOfHarmonyRecipe(
@@ -67,7 +72,7 @@ public class EyeOfHarmonyRecipeStorage {
BILLION * (blockDimensionDisplay.getDimensionRocketTier() + 1),
BILLION * (blockDimensionDisplay.getDimensionRocketTier() + 1),
timeCalculator(blockDimensionDisplay.getDimensionRocketTier()),
- blockDimensionDisplay.getDimensionRocketTier(),
+ spacetimeTier - 1,
1.0 - CHANCE_DECREASE_PER_DIMENSION
* blockDimensionDisplay.getDimensionRocketTier()));
}