aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/elisis/gtnhlanth/common/tileentity
diff options
context:
space:
mode:
authorboubou19 <miisterunknown@gmail.com>2024-08-15 15:38:58 +0200
committerGitHub <noreply@github.com>2024-08-15 15:38:58 +0200
commit0f990a7cfd78c3ede4db09a893e1e6edff164a2a (patch)
tree5ab69d203be91a1c15313f61d9172f9bbdd4ba82 /src/main/java/com/elisis/gtnhlanth/common/tileentity
parent33c8d91bbe289651270378316fdadab730aa386f (diff)
downloadGT5-Unofficial-0f990a7cfd78c3ede4db09a893e1e6edff164a2a.tar.gz
GT5-Unofficial-0f990a7cfd78c3ede4db09a893e1e6edff164a2a.tar.bz2
GT5-Unofficial-0f990a7cfd78c3ede4db09a893e1e6edff164a2a.zip
Cleanup (#2803)
* remove dead code * use proper materials for tiered circuits * remove yet another RA1 call * remove deprecated usage * small step toward Research station assline recipes migration * remove dead code * remove dead code * remove dead code * migrate BW recipes * remove some more RA1 code * remove bad search and replace + spotlessapply * yeet deprecated code and change how sieverts for recipes are computed * fix loading * fix bad replacements * spotless apply
Diffstat (limited to 'src/main/java/com/elisis/gtnhlanth/common/tileentity')
-rw-r--r--src/main/java/com/elisis/gtnhlanth/common/tileentity/Digester.java3
-rw-r--r--src/main/java/com/elisis/gtnhlanth/common/tileentity/DissolutionTank.java13
-rw-r--r--src/main/java/com/elisis/gtnhlanth/common/tileentity/SourceChamber.java2
3 files changed, 0 insertions, 18 deletions
diff --git a/src/main/java/com/elisis/gtnhlanth/common/tileentity/Digester.java b/src/main/java/com/elisis/gtnhlanth/common/tileentity/Digester.java
index 479569c7f6..239be6a3ea 100644
--- a/src/main/java/com/elisis/gtnhlanth/common/tileentity/Digester.java
+++ b/src/main/java/com/elisis/gtnhlanth/common/tileentity/Digester.java
@@ -73,9 +73,6 @@ public class Digester extends GT_MetaTileEntity_EnhancedMultiBlockBase<Digester>
.addElement('c', ofCoil(Digester::setCoilLevel, Digester::getCoilLevel))
.build();
- // private int mHeat;
- // private int mNeededHeat;
-
public Digester(String name) {
super(name);
}
diff --git a/src/main/java/com/elisis/gtnhlanth/common/tileentity/DissolutionTank.java b/src/main/java/com/elisis/gtnhlanth/common/tileentity/DissolutionTank.java
index f515024365..e6a714fd00 100644
--- a/src/main/java/com/elisis/gtnhlanth/common/tileentity/DissolutionTank.java
+++ b/src/main/java/com/elisis/gtnhlanth/common/tileentity/DissolutionTank.java
@@ -146,19 +146,12 @@ public class DissolutionTank extends GT_MetaTileEntity_EnhancedMultiBlockBase<Di
FluidStack majorGenericFluid = tRecipe.mFluidInputs[0];
FluidStack minorGenericFluid = tRecipe.mFluidInputs[1];
- // FluidStack majorInput = null;
- // FluidStack minorInput = null;
-
int majorAmount;
int minorAmount;
FluidStack fluidInputOne = tFluidInputs.get(0);
FluidStack fluidInputTwo = tFluidInputs.get(1);
- // majorInput = ((fluidInputOne.getUnlocalizedName().equals(majorGenericFluid.getUnlocalizedName()))
- // ? fluidInputOne
- // : fluidInputTwo);
- // GT_Log.out.print(majorInput.getLocalizedName());
if (fluidInputOne.getUnlocalizedName()
.equals(majorGenericFluid.getUnlocalizedName())) {
if (fluidInputTwo.getUnlocalizedName()
@@ -183,12 +176,6 @@ public class DissolutionTank extends GT_MetaTileEntity_EnhancedMultiBlockBase<Di
} else return false;
- // GT_Log.out.print("out of switch weirdness");
-
- // GT_Log.out.print("major " + majorInput.getLocalizedName());
- // GT_Log.out.print("minor " + minorInput.getLocalizedName());
-
- // GT_Log.out.print("mjrinputamt " + majorInput.amount);
return majorAmount / tRecipe.mSpecialValue == minorAmount;
}
diff --git a/src/main/java/com/elisis/gtnhlanth/common/tileentity/SourceChamber.java b/src/main/java/com/elisis/gtnhlanth/common/tileentity/SourceChamber.java
index 6649d0a232..0626118a25 100644
--- a/src/main/java/com/elisis/gtnhlanth/common/tileentity/SourceChamber.java
+++ b/src/main/java/com/elisis/gtnhlanth/common/tileentity/SourceChamber.java
@@ -203,8 +203,6 @@ public class SourceChamber extends GT_MetaTileEntity_EnhancedMultiBlockBase<Sour
// when produced by this
// multiblock
float maxMaterialEnergy = tRecipe.maxEnergy; // The maximum energy for the recipe processed
- // outputEnergy = (float) ((-maxEnergy) * Math.pow(1.001, -(tRecipe.energyRatio)*(tVoltage-tRecipe.mEUt))) +
- // maxEnergy;
outputEnergy = (float) Math.min(
(-maxMaterialEnergy) * Math.pow(1.001, -(tRecipe.energyRatio) * (tVoltageMaxTier - tRecipe.mEUt))
+ maxMaterialEnergy,