aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/nei/GT_NEI_VacFurnace.java
diff options
context:
space:
mode:
authorAlkalus <3060479+draknyte1@users.noreply.github.com>2021-12-07 14:37:22 +0000
committerAlkalus <3060479+draknyte1@users.noreply.github.com>2021-12-07 14:37:22 +0000
commit43e67b5f97543c2a1ea51b89ed745d0773f94751 (patch)
tree989d74129ab372f798f2a899d38e353b4480b8a5 /src/Java/gtPlusPlus/nei/GT_NEI_VacFurnace.java
parenta00d9f9245db7dc0c425044c0aeff84d15092dfd (diff)
downloadGT5-Unofficial-43e67b5f97543c2a1ea51b89ed745d0773f94751.tar.gz
GT5-Unofficial-43e67b5f97543c2a1ea51b89ed745d0773f94751.tar.bz2
GT5-Unofficial-43e67b5f97543c2a1ea51b89ed745d0773f94751.zip
Added more nuclear processing recipes.
Removed lots of useless nuclear generated items. More NEI improvements. Made Dehydrator and FFPP recipe handling more lenient.
Diffstat (limited to 'src/Java/gtPlusPlus/nei/GT_NEI_VacFurnace.java')
-rw-r--r--src/Java/gtPlusPlus/nei/GT_NEI_VacFurnace.java119
1 files changed, 0 insertions, 119 deletions
diff --git a/src/Java/gtPlusPlus/nei/GT_NEI_VacFurnace.java b/src/Java/gtPlusPlus/nei/GT_NEI_VacFurnace.java
deleted file mode 100644
index 5fe63c4c61..0000000000
--- a/src/Java/gtPlusPlus/nei/GT_NEI_VacFurnace.java
+++ /dev/null
@@ -1,119 +0,0 @@
-package gtPlusPlus.nei;
-
-import codechicken.nei.recipe.TemplateRecipeHandler;
-import gregtech.api.util.GTPP_Recipe.GTPP_Recipe_Map;
-import gregtech.api.util.GT_Recipe;
-import gregtech.api.util.GT_Utility;
-
-public class GT_NEI_VacFurnace extends GTPP_NEI_DefaultHandler {
-
- public GT_NEI_VacFurnace() {
- super(GTPP_Recipe_Map.sVacuumFurnaceRecipes);
- }
-
- @Override
- public TemplateRecipeHandler newInstance() {
- return new GT_NEI_VacFurnace();
- }
-
- @Override
- public CachedDefaultRecipe createCachedRecipe(GT_Recipe aRecipe) {
- return new VacFurnaceDefaultRecipe(aRecipe);
- }
-
- public class VacFurnaceDefaultRecipe extends CachedDefaultRecipe {
-
- public VacFurnaceDefaultRecipe(final GT_Recipe aRecipe) {
- super(aRecipe);
- }
-
- @Override
- public void handleSlots() {
- int tStartIndex = 0;
-
- if (mRecipe.getRepresentativeInput(tStartIndex) != null) {
- this.mInputs.add(new FixedPositionedStack(mRecipe.getRepresentativeInput(tStartIndex), 12, 5));
- }
- tStartIndex++;
- if (mRecipe.getRepresentativeInput(tStartIndex) != null) {
- this.mInputs.add(new FixedPositionedStack(mRecipe.getRepresentativeInput(tStartIndex), 30, 5));
- }
- tStartIndex++;
- if (mRecipe.getRepresentativeInput(tStartIndex) != null) {
- this.mInputs.add(new FixedPositionedStack(mRecipe.getRepresentativeInput(tStartIndex), 48, 5));
- }
- tStartIndex++;
- if (mRecipe.getRepresentativeInput(tStartIndex) != null) {
- this.mInputs.add(new FixedPositionedStack(mRecipe.getRepresentativeInput(tStartIndex), 12, 23));
- }
- tStartIndex++;
- if (mRecipe.getRepresentativeInput(tStartIndex) != null) {
- this.mInputs.add(new FixedPositionedStack(mRecipe.getRepresentativeInput(tStartIndex), 30, 23));
- }
- tStartIndex++;
- if (mRecipe.getRepresentativeInput(tStartIndex) != null) {
- this.mInputs.add(new FixedPositionedStack(mRecipe.getRepresentativeInput(tStartIndex), 48, 23));
- }
- tStartIndex++;
-
- if (mRecipe.mSpecialItems != null) {
- this.mInputs.add(new FixedPositionedStack(mRecipe.mSpecialItems, 120, 52));
- }
- tStartIndex = 0;
-
- //9 Output Slots
- if (mRecipe.getOutput(tStartIndex) != null) {
- this.mOutputs.add(new FixedPositionedStack(mRecipe.getOutput(tStartIndex), 101, 4, mRecipe.getOutputChance(tStartIndex)));
- }
- tStartIndex++;
- if (mRecipe.getOutput(tStartIndex) != null) {
- this.mOutputs.add(new FixedPositionedStack(mRecipe.getOutput(tStartIndex), 119, 4, mRecipe.getOutputChance(tStartIndex)));
- }
- tStartIndex++;
- if (mRecipe.getOutput(tStartIndex) != null) {
- this.mOutputs.add(new FixedPositionedStack(mRecipe.getOutput(tStartIndex), 137, 4, mRecipe.getOutputChance(tStartIndex)));
- }
- tStartIndex++;
- if (mRecipe.getOutput(tStartIndex) != null) {
- this.mOutputs.add(new FixedPositionedStack(mRecipe.getOutput(tStartIndex), 101, 22, mRecipe.getOutputChance(tStartIndex)));
- }
- tStartIndex++;
- if (mRecipe.getOutput(tStartIndex) != null) {
- this.mOutputs.add(new FixedPositionedStack(mRecipe.getOutput(tStartIndex), 119, 22, mRecipe.getOutputChance(tStartIndex)));
- }
- tStartIndex++;
- if (mRecipe.getOutput(tStartIndex) != null) {
- this.mOutputs.add(new FixedPositionedStack(mRecipe.getOutput(tStartIndex), 137, 22, mRecipe.getOutputChance(tStartIndex)));
- }
- tStartIndex++;
- if (mRecipe.getOutput(tStartIndex) != null) {
- this.mOutputs.add(new FixedPositionedStack(mRecipe.getOutput(tStartIndex), 101, 40, mRecipe.getOutputChance(tStartIndex)));
- }
- tStartIndex++;
- if (mRecipe.getOutput(tStartIndex) != null) {
- this.mOutputs.add(new FixedPositionedStack(mRecipe.getOutput(tStartIndex), 119, 40, mRecipe.getOutputChance(tStartIndex)));
- }
- tStartIndex++;
- if (mRecipe.getOutput(tStartIndex) != null) {
- this.mOutputs.add(new FixedPositionedStack(mRecipe.getOutput(tStartIndex), 137, 40, mRecipe.getOutputChance(tStartIndex)));
- }
- tStartIndex++;
-
- if ((mRecipe.mFluidInputs.length > 0) && (mRecipe.mFluidInputs[0] != null) && (mRecipe.mFluidInputs[0].getFluid() != null)) {
- this.mInputs.add(new FixedPositionedStack(GT_Utility.getFluidDisplayStack(mRecipe.mFluidInputs[0], true), 12, 60));
- if ((mRecipe.mFluidInputs.length > 1) && (mRecipe.mFluidInputs[1] != null) && (mRecipe.mFluidInputs[1].getFluid() != null)) {
- this.mInputs.add(new FixedPositionedStack(GT_Utility.getFluidDisplayStack(mRecipe.mFluidInputs[1], true), 30, 60));
- }
- }
-
- if (mRecipe.mFluidOutputs.length > 0) {
- if ((mRecipe.mFluidOutputs[0] != null) && (mRecipe.mFluidOutputs[0].getFluid() != null)) {
- this.mOutputs.add(new FixedPositionedStack(GT_Utility.getFluidDisplayStack(mRecipe.mFluidOutputs[0], true), 101, 60));
- }
- if ((mRecipe.mFluidOutputs.length > 1) && (mRecipe.mFluidOutputs[1] != null) && (mRecipe.mFluidOutputs[1].getFluid() != null)) {
- this.mOutputs.add(new FixedPositionedStack(GT_Utility.getFluidDisplayStack(mRecipe.mFluidOutputs[1], true), 119, 60));
- }
- }
- }
- }
-}