Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

Commit

Permalink
Remove Breaker Box (#683)
Browse files Browse the repository at this point in the history
  • Loading branch information
miozune authored Jun 30, 2023
1 parent 904c942 commit 5036c2a
Show file tree
Hide file tree
Showing 15 changed files with 1 addition and 2,642 deletions.
45 changes: 0 additions & 45 deletions src/main/java/gtPlusPlus/GTplusplus.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import cpw.mods.fml.relauncher.IFMLLoadingPlugin.MCVersion;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import gregtech.api.GregTech_API;
import gregtech.api.enums.Materials;
import gregtech.api.util.FishPondFakeRecipe;
import gregtech.api.util.GTPP_Recipe;
Expand Down Expand Up @@ -155,10 +154,6 @@ public static void loadTextures() {
public GTplusplus() {
super();
INIT_PHASE.SUPER.setPhaseActive(true);

for (int i = 12; i < 16; i++) {
GregTech_API.registerTileEntityConstructor(i, Meta_GT_Proxy::constructCustomGregtechMetaTileEntityByMeta);
}
}

// Pre-Init
Expand Down Expand Up @@ -317,46 +312,6 @@ protected void generateGregtechRecipeMaps() {
mInvalidCount[6] = RecipeGen_MultisUsingFluidInsteadOfCells.generateRecipesNotUsingCells(
GTPP_Recipe.GTPP_Recipe_Map.sReactorProcessingUnitRecipes,
GTPP_Recipe.GTPP_Recipe_Map.sNuclearSaltProcessingPlantRecipes);
/*
* //Large Centrifuge generation mOriginalCount[0] =
* GT_Recipe.GT_Recipe_Map.sCentrifugeRecipes.mRecipeList.size(); for (GT_Recipe x :
* GT_Recipe.GT_Recipe_Map.sCentrifugeRecipes.mRecipeList) { if (x != null) { if
* (ItemUtils.checkForInvalidItems(x.mInputs, x.mOutputs)) { if
* (CORE.RA.addMultiblockCentrifugeRecipe(x.mInputs, x.mFluidInputs, x.mFluidOutputs, x.mOutputs, x.mChances,
* x.mDuration, x.mEUt, x.mSpecialValue)) { mValidCount[0]++; } else { mInvalidCount[0]++; } } else {
* Logger.INFO("[Recipe] Error generating Large Centrifuge recipe.");
* Logger.INFO("Inputs: "+ItemUtils.getArrayStackNames(x.mInputs));
* Logger.INFO("Fluid Inputs: "+ItemUtils.getArrayStackNames(x.mFluidInputs));
* Logger.INFO("Outputs: "+ItemUtils.getArrayStackNames(x.mOutputs));
* Logger.INFO("Fluid Outputs: "+ItemUtils.getArrayStackNames(x.mFluidOutputs)); } } else { mInvalidCount[0]++;
* } } if (GTPP_Recipe.GTPP_Recipe_Map.sMultiblockCentrifugeRecipes_GT.mRecipeList.size() < 1) { for (GT_Recipe
* a : GTPP_Recipe.GTPP_Recipe_Map.sMultiblockCentrifugeRecipes_GT.mRecipeList) {
* GTPP_Recipe.GTPP_Recipe_Map.sMultiblockCentrifugeRecipes_GT.add(a); } } //Large Electrolyzer generation
* mOriginalCount[1] = GT_Recipe.GT_Recipe_Map.sElectrolyzerRecipes.mRecipeList.size(); for (GT_Recipe x :
* GT_Recipe.GT_Recipe_Map.sElectrolyzerRecipes.mRecipeList) { if (x != null) { if
* (ItemUtils.checkForInvalidItems(x.mInputs, x.mOutputs)) { if
* (CORE.RA.addMultiblockElectrolyzerRecipe(x.mInputs, x.mFluidInputs, x.mFluidOutputs, x.mOutputs, x.mChances,
* x.mDuration, x.mEUt, x.mSpecialValue)) { mValidCount[1]++; } else { mInvalidCount[1]++; } } else {
* Logger.INFO("[Recipe] Error generating Large Electrolyzer recipe.");
* Logger.INFO("Inputs: "+ItemUtils.getArrayStackNames(x.mInputs));
* Logger.INFO("Fluid Inputs: "+ItemUtils.getArrayStackNames(x.mFluidInputs));
* Logger.INFO("Outputs: "+ItemUtils.getArrayStackNames(x.mOutputs));
* Logger.INFO("Fluid Outputs: "+ItemUtils.getArrayStackNames(x.mFluidOutputs)); } } else { mInvalidCount[1]++;
* } } if (GTPP_Recipe.GTPP_Recipe_Map.sMultiblockElectrolyzerRecipes_GT.mRecipeList.size() < 1) { for
* (GT_Recipe a : GTPP_Recipe.GTPP_Recipe_Map.sMultiblockElectrolyzerRecipes_GT.mRecipeList) {
* GTPP_Recipe.GTPP_Recipe_Map.sMultiblockElectrolyzerRecipes_GT.add(a); } } //Advanced Vacuum Freezer
* generation mOriginalCount[2] = GT_Recipe.GT_Recipe_Map.sVacuumRecipes.mRecipeList.size(); for (GT_Recipe x :
* GT_Recipe.GT_Recipe_Map.sVacuumRecipes.mRecipeList) { if (x != null &&
* RecipeUtils.doesGregtechRecipeHaveEqualCells(x)) { if (ItemUtils.checkForInvalidItems(x.mInputs, x.mOutputs))
* { if (CORE.RA.addAdvancedFreezerRecipe(x.mInputs, x.mFluidInputs, x.mFluidOutputs, x.mOutputs, x.mChances,
* x.mDuration, x.mEUt, x.mSpecialValue)) { mValidCount[2]++; } } else { mInvalidCount[2]++; } } else {
* mInvalidCount[2]++; } } //Redo plasma recipes in Adv. Vac.
* //Meta_GT_Proxy.generatePlasmaRecipesForAdvVacFreezer(); String[] machineName = new String[] {"Centrifuge",
* "Electrolyzer", "Vacuum Freezer"}; for (int i=0;i<3;i++) {
* Logger.INFO("[Recipe] Generated "+mValidCount[i]+" recipes for the Industrial "+machineName[i]
* +". The original machine can process "+mOriginalCount[i]+" recipes, meaning "+mInvalidCount[i]
* +" are invalid for this Multiblock's processing in some way."); }
*/
}

protected void dumpGtRecipeMap(final GT_Recipe_Map r) {
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/gtPlusPlus/core/handler/COMPAT_HANDLER.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@
import gtPlusPlus.xmod.gregtech.registration.gregtech.GregtechMolecularTransformer;
import gtPlusPlus.xmod.gregtech.registration.gregtech.GregtechNuclearSaltProcessingPlant;
import gtPlusPlus.xmod.gregtech.registration.gregtech.GregtechPollutionDevices;
import gtPlusPlus.xmod.gregtech.registration.gregtech.GregtechPowerBreakers;
import gtPlusPlus.xmod.gregtech.registration.gregtech.GregtechPowerSubStation;
import gtPlusPlus.xmod.gregtech.registration.gregtech.GregtechQuantumForceTransformer;
import gtPlusPlus.xmod.gregtech.registration.gregtech.GregtechRTG;
Expand Down Expand Up @@ -200,7 +199,6 @@ public static void registerGregtechMachines() {
GregtechIndustrialArcFurnace.run();
GregtechSolarTower.run();
GregtechLargeTurbinesAndHeatExchanger.run();
GregtechPowerBreakers.run();
GregtechAlgaeContent.run();
GregtechIndustrialAlloySmelter.run();
GregtechIsaMill.run();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -765,18 +765,6 @@ public enum GregtechItemList implements GregtechItemContainer {
ColdTrap_IV,
ColdTrap_ZPM,

// Breakers
BreakerBox_ULV,
BreakerBox_LV,
BreakerBox_MV,
BreakerBox_HV,
BreakerBox_EV,
BreakerBox_IV,
BreakerBox_LuV,
BreakerBox_ZPM,
BreakerBox_UV,
BreakerBox_MAX,

// Solar Generators
GT_Solar_ULV,
GT_Solar_LV,
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit 5036c2a

Please sign in to comment.