Remove dead code
This commit is contained in:
parent
2e042088a1
commit
e5c157714d
4 changed files with 8 additions and 28 deletions
|
@ -34,13 +34,8 @@ public class GT_MetaTileEntity_AlloySmelter_Bronze
|
||||||
GT_Recipe tRecipe = GT_Recipe.GT_Recipe_Map.sAlloySmelterRecipes.findRecipe(getBaseMetaTileEntity(), false, gregtech.api.enums.GT_Values.V[1], null, getAllInputs());
|
GT_Recipe tRecipe = GT_Recipe.GT_Recipe_Map.sAlloySmelterRecipes.findRecipe(getBaseMetaTileEntity(), false, gregtech.api.enums.GT_Values.V[1], null, getAllInputs());
|
||||||
if ((tRecipe != null) && (canOutput(tRecipe.mOutputs)) && (tRecipe.isRecipeInputEqual(true, null, getAllInputs()))) {
|
if ((tRecipe != null) && (canOutput(tRecipe.mOutputs)) && (tRecipe.isRecipeInputEqual(true, null, getAllInputs()))) {
|
||||||
this.mOutputItems[0] = tRecipe.getOutput(0);
|
this.mOutputItems[0] = tRecipe.getOutput(0);
|
||||||
if (tRecipe.mEUt <= 16) {
|
|
||||||
this.mEUt = tRecipe.mEUt;
|
this.mEUt = tRecipe.mEUt;
|
||||||
this.mMaxProgresstime = (tRecipe.mDuration * 2);
|
this.mMaxProgresstime = (tRecipe.mDuration * 2);
|
||||||
} else {
|
|
||||||
this.mEUt = tRecipe.mEUt;
|
|
||||||
this.mMaxProgresstime = (tRecipe.mDuration * 2);
|
|
||||||
}
|
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -34,13 +34,8 @@ public class GT_MetaTileEntity_AlloySmelter_Steel
|
||||||
GT_Recipe tRecipe = GT_Recipe.GT_Recipe_Map.sAlloySmelterRecipes.findRecipe(getBaseMetaTileEntity(), false, gregtech.api.enums.GT_Values.V[2], null, getAllInputs());
|
GT_Recipe tRecipe = GT_Recipe.GT_Recipe_Map.sAlloySmelterRecipes.findRecipe(getBaseMetaTileEntity(), false, gregtech.api.enums.GT_Values.V[2], null, getAllInputs());
|
||||||
if ((tRecipe != null) && (canOutput(tRecipe.mOutputs)) && (tRecipe.isRecipeInputEqual(true, null, getAllInputs()))) {
|
if ((tRecipe != null) && (canOutput(tRecipe.mOutputs)) && (tRecipe.isRecipeInputEqual(true, null, getAllInputs()))) {
|
||||||
this.mOutputItems[0] = tRecipe.getOutput(0);
|
this.mOutputItems[0] = tRecipe.getOutput(0);
|
||||||
if (tRecipe.mEUt <= 16) {
|
|
||||||
this.mEUt = (tRecipe.mEUt * 3);
|
this.mEUt = (tRecipe.mEUt * 3);
|
||||||
this.mMaxProgresstime = tRecipe.mDuration;
|
this.mMaxProgresstime = tRecipe.mDuration;
|
||||||
} else {
|
|
||||||
this.mEUt = (tRecipe.mEUt * 3);
|
|
||||||
this.mMaxProgresstime = tRecipe.mDuration;
|
|
||||||
}
|
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -34,13 +34,8 @@ public class GT_MetaTileEntity_ForgeHammer_Bronze
|
||||||
GT_Recipe tRecipe = GT_Recipe.GT_Recipe_Map.sHammerRecipes.findRecipe(getBaseMetaTileEntity(), false, gregtech.api.enums.GT_Values.V[1], null, getAllInputs());
|
GT_Recipe tRecipe = GT_Recipe.GT_Recipe_Map.sHammerRecipes.findRecipe(getBaseMetaTileEntity(), false, gregtech.api.enums.GT_Values.V[1], null, getAllInputs());
|
||||||
if ((tRecipe != null) && (canOutput(tRecipe.mOutputs)) && (tRecipe.isRecipeInputEqual(true, null, getAllInputs()))) {
|
if ((tRecipe != null) && (canOutput(tRecipe.mOutputs)) && (tRecipe.isRecipeInputEqual(true, null, getAllInputs()))) {
|
||||||
this.mOutputItems[0] = tRecipe.getOutput(0);
|
this.mOutputItems[0] = tRecipe.getOutput(0);
|
||||||
if (tRecipe.mEUt <= 16) {
|
|
||||||
this.mEUt = tRecipe.mEUt;
|
this.mEUt = tRecipe.mEUt;
|
||||||
this.mMaxProgresstime = (tRecipe.mDuration * 2);
|
this.mMaxProgresstime = (tRecipe.mDuration * 2);
|
||||||
} else {
|
|
||||||
this.mEUt = tRecipe.mEUt;
|
|
||||||
this.mMaxProgresstime = (tRecipe.mDuration * 2);
|
|
||||||
}
|
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -34,13 +34,8 @@ public class GT_MetaTileEntity_ForgeHammer_Steel
|
||||||
GT_Recipe tRecipe = GT_Recipe.GT_Recipe_Map.sHammerRecipes.findRecipe(getBaseMetaTileEntity(), false, gregtech.api.enums.GT_Values.V[2], null, getAllInputs());
|
GT_Recipe tRecipe = GT_Recipe.GT_Recipe_Map.sHammerRecipes.findRecipe(getBaseMetaTileEntity(), false, gregtech.api.enums.GT_Values.V[2], null, getAllInputs());
|
||||||
if ((tRecipe != null) && (canOutput(tRecipe.mOutputs)) && (tRecipe.isRecipeInputEqual(true, null, getAllInputs()))) {
|
if ((tRecipe != null) && (canOutput(tRecipe.mOutputs)) && (tRecipe.isRecipeInputEqual(true, null, getAllInputs()))) {
|
||||||
this.mOutputItems[0] = tRecipe.getOutput(0);
|
this.mOutputItems[0] = tRecipe.getOutput(0);
|
||||||
if (tRecipe.mEUt <= 16) {
|
|
||||||
this.mEUt = (tRecipe.mEUt * 3);
|
this.mEUt = (tRecipe.mEUt * 3);
|
||||||
this.mMaxProgresstime = tRecipe.mDuration;
|
this.mMaxProgresstime = tRecipe.mDuration;
|
||||||
} else {
|
|
||||||
this.mEUt = (tRecipe.mEUt * 3);
|
|
||||||
this.mMaxProgresstime = tRecipe.mDuration;
|
|
||||||
}
|
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue