diff options
author | Yang Xizhi <60341015+GlodBlock@users.noreply.github.com> | 2022-07-09 20:30:48 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-09 19:30:48 +0700 |
commit | 4d22d4e01799bdb8282b735e25a50f723720a030 (patch) | |
tree | fccb8e7cc4b5eb637d0b573881cfe4b6d9f72172 /src/main/java/gregtech/common/tileentities | |
parent | bec40a67790fbb55b3dc769324c24cffeac77712 (diff) | |
download | GT5-Unofficial-4d22d4e01799bdb8282b735e25a50f723720a030.tar.gz GT5-Unofficial-4d22d4e01799bdb8282b735e25a50f723720a030.tar.bz2 GT5-Unofficial-4d22d4e01799bdb8282b735e25a50f723720a030.zip |
Standardization of GT5u Chemical Recipes (#1062)
* chemical rebalance
1 item unit = how many atom in it
1 fluid unit = 1b
* remove some tiny dust
* remove crop tiny dust
* Na2S
* Acetone chain rework and fix COx
* electis balance
* Fix cell amount
* more fix
* acid, rubber and epoxy
* no
* roast thing
* pbi
* number wise unnerf roast recipe
* uranium, indium, titanium lossless cycle
* salts
* clay
* silicon
* derp
* corret sodium carbonate chemical formula
* revert lossless indium
* fix
* scheelite
* silicon line
* ore dust
* kevlar line
* fix
* don't change register name
* fix
* nerf NaOH electrolysis recipe to match water
* fix
Co-authored-by: Pnc6lx <2458894429@qq.com>
Co-authored-by: Martin Robertz <dream-master@gmx.net>
Co-authored-by: miozune <miozune@gmail.com>
Diffstat (limited to 'src/main/java/gregtech/common/tileentities')
-rw-r--r-- | src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_LargeChemicalReactor.java | 35 |
1 files changed, 2 insertions, 33 deletions
diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_LargeChemicalReactor.java b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_LargeChemicalReactor.java index 6634124248..55d0d10ed9 100644 --- a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_LargeChemicalReactor.java +++ b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_LargeChemicalReactor.java @@ -138,43 +138,12 @@ public class GT_MetaTileEntity_LargeChemicalReactor extends GT_MetaTileEntity_En if (!mSingleRecipeCheck.checkRecipeInputsSingleStack(true)) { return false; } - tRecipe = mSingleRecipeCheck.getRecipe(); } else { ArrayList<ItemStack> tInputList = getStoredInputs(); - int tInputList_sS = tInputList.size(); - for (int i = 0; i < tInputList_sS - 1; i++) { - for (int j = i + 1; j < tInputList_sS; j++) { - if (GT_Utility.areStacksEqual(tInputList.get(i), tInputList.get(j))) { - if (tInputList.get(i).stackSize >= tInputList.get(j).stackSize) { - tInputList.remove(j--); - tInputList_sS = tInputList.size(); - } else { - tInputList.remove(i--); - tInputList_sS = tInputList.size(); - break; - } - } - } - } - ItemStack[] inputs = tInputList.toArray(new ItemStack[0]); - ArrayList<FluidStack> tFluidList = getStoredFluids(); - int tFluidList_sS = tFluidList.size(); - for (int i = 0; i < tFluidList_sS - 1; i++) { - for (int j = i + 1; j < tFluidList_sS; j++) { - if (GT_Utility.areFluidsEqual(tFluidList.get(i), tFluidList.get(j))) { - if (tFluidList.get(i).amount >= tFluidList.get(j).amount) { - tFluidList.remove(j--); - tFluidList_sS = tFluidList.size(); - } else { - tFluidList.remove(i--); - tFluidList_sS = tFluidList.size(); - break; - } - } - } - } + + ItemStack[] inputs = tInputList.toArray(new ItemStack[0]); FluidStack[] fluids = tFluidList.toArray(new FluidStack[0]); if (inputs.length == 0 && fluids.length == 0) { |