diff options
author | miozune <miozune@gmail.com> | 2023-05-17 00:01:01 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-16 17:01:01 +0200 |
commit | 04514282c08ebefdb3e68a46db34092f72be2316 (patch) | |
tree | 0c9bc99f480f7e7f45a99a55a5b6619ebb5b014b /src/main/java/gtPlusPlus/xmod/gregtech/recipes | |
parent | cd58ff7cd4dc4b5ffe917a24a4b4c6da577f462d (diff) | |
download | GT5-Unofficial-04514282c08ebefdb3e68a46db34092f72be2316.tar.gz GT5-Unofficial-04514282c08ebefdb3e68a46db34092f72be2316.tar.bz2 GT5-Unofficial-04514282c08ebefdb3e68a46db34092f72be2316.zip |
Remove a lot of unused classes (#629)
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/recipes')
5 files changed, 0 insertions, 390 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/recipes/GregtechRecipeAdder.java b/src/main/java/gtPlusPlus/xmod/gregtech/recipes/GregtechRecipeAdder.java index 2cb2ed2c5f..88c2f90c3c 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/recipes/GregtechRecipeAdder.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/recipes/GregtechRecipeAdder.java @@ -31,7 +31,6 @@ import gtPlusPlus.xmod.gregtech.api.interfaces.internal.IGregtech_RecipeAdder; import gtPlusPlus.xmod.gregtech.api.metatileentity.implementations.GT_MetaTileEntity_Hatch_Energy_RTG; import gtPlusPlus.xmod.gregtech.common.helpers.FlotationRecipeHandler; import gtPlusPlus.xmod.gregtech.common.tileentities.generators.GregtechMetaTileEntity_RTG; -import gtPlusPlus.xmod.gregtech.recipes.machines.RECIPEHANDLER_MatterFabricator; public class GregtechRecipeAdder implements IGregtech_RecipeAdder { @@ -116,7 +115,6 @@ public class GregtechRecipeAdder implements IGregtech_RecipeAdder { aEUt, 0); GTPP_Recipe_Map.sMatterFab2Recipes.addRecipe(aRecipe); - RECIPEHANDLER_MatterFabricator.debug5(aFluidInput, aFluidOutput, aDuration, aEUt); return true; } diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/recipes/machines/RECIPEHANDLER_AssemblyLine.java b/src/main/java/gtPlusPlus/xmod/gregtech/recipes/machines/RECIPEHANDLER_AssemblyLine.java deleted file mode 100644 index cb0ec59f22..0000000000 --- a/src/main/java/gtPlusPlus/xmod/gregtech/recipes/machines/RECIPEHANDLER_AssemblyLine.java +++ /dev/null @@ -1,14 +0,0 @@ -package gtPlusPlus.xmod.gregtech.recipes.machines; - -import net.minecraft.item.ItemStack; -import net.minecraftforge.fluids.FluidStack; - -public class RECIPEHANDLER_AssemblyLine { - - public static boolean addAssemblylineRecipe(ItemStack paramItemStack1, int paramInt1, - ItemStack[] paramArrayOfItemStack, FluidStack[] paramArrayOfFluidStack, ItemStack paramItemStack2, - int paramInt2, int paramInt3) { - - return false; - } -} diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/recipes/machines/RECIPEHANDLER_CokeOven.java b/src/main/java/gtPlusPlus/xmod/gregtech/recipes/machines/RECIPEHANDLER_CokeOven.java deleted file mode 100644 index 599b98ed86..0000000000 --- a/src/main/java/gtPlusPlus/xmod/gregtech/recipes/machines/RECIPEHANDLER_CokeOven.java +++ /dev/null @@ -1,121 +0,0 @@ -package gtPlusPlus.xmod.gregtech.recipes.machines; - -import net.minecraft.item.ItemStack; -import net.minecraftforge.fluids.FluidStack; - -import gtPlusPlus.api.objects.Logger; - -public class RECIPEHANDLER_CokeOven { - - public static void debug1() { - Logger.WARNING("=================================================================================="); - Logger.WARNING("=================================================================================="); - Logger.WARNING("=================================================================================="); - Logger.WARNING("Walking Through CokeOven Recipe Creation."); - Logger.WARNING("My name is Ralph and I will be your humble host."); - } - - public static void debug2(final ItemStack aInput1, final ItemStack aInput2, final FluidStack aFluidInput, - final FluidStack aFluidOutput, final ItemStack aOutput, final int aDuration, final int aEUt) { - Logger.WARNING("=================================================================================="); - Logger.WARNING("Taking a step forward."); - Logger.WARNING("aInput1 == null && aFluidInput == null || aOutput == null && aFluidOutput == null"); - Logger.WARNING( - "aInput1:" + aInput1.toString() - + " aInput2:" - + aInput2.toString() - + " aFluidInput:" - + aFluidInput.toString() - + " aFluidOutput:" - + aFluidOutput.toString() - + " aOutput:" - + aOutput.toString() - + " aDuration:" - + aDuration - + " aEU/t:" - + aEUt); - Logger.WARNING("Passed."); - } - - public static void debug3(final ItemStack aInput1, final ItemStack aInput2, final FluidStack aFluidInput, - final FluidStack aFluidOutput, final ItemStack aOutput, final int aDuration, final int aEUt) { - Logger.WARNING("=================================================================================="); - Logger.WARNING("Taking a step forward."); - Logger.WARNING( - "(aOutput != null) && ((aDuration = GregTech_API.sRecipeFile.get(cokeoven, aOutput, aDuration)) <= 0)"); - Logger.WARNING( - "aInput1:" + aInput1.toString() - + " aInput2:" - + aInput2.toString() - + " aFluidInput:" - + aFluidInput.toString() - + " aFluidOutput:" - + aFluidOutput.toString() - + " aOutput:" - + aOutput.toString() - + " aDuration:" - + aDuration - + " aEU/t:" - + aEUt); - Logger.WARNING("Passed."); - } - - public static void debug4(final ItemStack aInput1, final ItemStack aInput2, final FluidStack aFluidInput, - final FluidStack aFluidOutput, final ItemStack aOutput, final int aDuration, final int aEUt) { - Logger.WARNING("=================================================================================="); - Logger.WARNING("Taking a step forward."); - Logger.WARNING( - "(aFluidOutput != null) && ((aDuration = GregTech_API.sRecipeFile.get(cokeoven, aFluidOutput.getFluid().getName(), aDuration)) <= 0)"); - Logger.WARNING( - "aInput1:" + aInput1.toString() - + " aInput2:" - + aInput2.toString() - + " aFluidInput:" - + aFluidInput.toString() - + " aFluidOutput:" - + aFluidOutput.toString() - + " aOutput:" - + aOutput.toString() - + " aDuration:" - + aDuration - + " aEU/t:" - + aEUt); - Logger.WARNING("Passed."); - Logger.WARNING( - "aInput1:" + aInput1.toString() - + " aInput2:" - + aInput2.toString() - + " aFluidInput:" - + aFluidInput.toString() - + " aFluidOutput:" - + aFluidOutput.toString() - + " aOutput:" - + aOutput.toString() - + " aDuration:" - + aDuration - + " aEU/t:" - + aEUt); - } - - public static void debug5(final ItemStack aInput1, final ItemStack aInput2, final FluidStack aFluidInput, - final FluidStack aFluidOutput, final ItemStack aOutput, final int aDuration, final int aEUt) { - Logger.INFO( - "Successfully added a Coke Oven recipe for: " + aOutput.getDisplayName() - + " & " - + aFluidOutput.getFluid().getName() - + ", Using " - + aInput1.getDisplayName() - + " & " - + aInput2.getDisplayName() - + " & liquid " - + aFluidInput.getFluid().getName() - + ". This takes " - + (aDuration / 20) - + " seconds for " - + aEUt - + "eu/t."); - Logger.WARNING("=================================================================================="); - Logger.WARNING("=================================================================================="); - Logger.WARNING("=================================================================================="); - } -} diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/recipes/machines/RECIPEHANDLER_Dehydrator.java b/src/main/java/gtPlusPlus/xmod/gregtech/recipes/machines/RECIPEHANDLER_Dehydrator.java deleted file mode 100644 index fc9ed99ffe..0000000000 --- a/src/main/java/gtPlusPlus/xmod/gregtech/recipes/machines/RECIPEHANDLER_Dehydrator.java +++ /dev/null @@ -1,152 +0,0 @@ -package gtPlusPlus.xmod.gregtech.recipes.machines; - -import net.minecraft.item.ItemStack; -import net.minecraftforge.fluids.FluidStack; - -import gtPlusPlus.api.objects.Logger; -import gtPlusPlus.core.util.minecraft.ItemUtils; - -public class RECIPEHANDLER_Dehydrator { - - public static void debug1() { - Logger.WARNING("=================================================================================="); - Logger.WARNING("=================================================================================="); - Logger.WARNING("=================================================================================="); - Logger.WARNING("Walking Through Chemical Dehydrator Recipe Creation."); - Logger.WARNING("My name is Willus and I will be your humble host."); - } - - public static void debug2(final ItemStack aInput1, final ItemStack aInput2, final FluidStack aFluidInput, - final FluidStack aFluidOutput, final ItemStack aOutput, final int aDuration, final int aEUt) { - Logger.WARNING("=================================================================================="); - Logger.WARNING("Taking a step forward."); - Logger.WARNING("aInput1 == null && aFluidInput == null || aOutput == null && aFluidOutput == null"); - Logger.WARNING( - "aInput1:" + aInput1.toString() - + " aInput2:" - + aInput2.toString() - + " aFluidInput:" - + aFluidInput.toString() - + " aFluidOutput:" - + aFluidOutput.toString() - + " aOutput:" - + aOutput.toString() - + " aDuration:" - + aDuration - + " aEU/t:" - + aEUt); - Logger.WARNING("Passed."); - } - - public static void debug3(final ItemStack aInput1, final ItemStack aInput2, final FluidStack aFluidInput, - final FluidStack aFluidOutput, final ItemStack aOutput, final int aDuration, final int aEUt) { - Logger.WARNING("=================================================================================="); - Logger.WARNING("Taking a step forward."); - Logger.WARNING( - "(aOutput != null) && ((aDuration = GregTech_API.sRecipeFile.get(cokeoven, aOutput, aDuration)) <= 0)"); - Logger.WARNING( - "aInput1:" + aInput1.toString() - + " aInput2:" - + aInput2.toString() - + " aFluidInput:" - + aFluidInput.toString() - + " aFluidOutput:" - + aFluidOutput.toString() - + " aOutput:" - + aOutput.toString() - + " aDuration:" - + aDuration - + " aEU/t:" - + aEUt); - Logger.WARNING("Passed."); - } - - public static void debug4(final ItemStack aInput1, final ItemStack aInput2, final FluidStack aFluidInput, - final FluidStack aFluidOutput, final ItemStack aOutput, final int aDuration, final int aEUt) { - Logger.WARNING("=================================================================================="); - Logger.WARNING("Taking a step forward."); - Logger.WARNING( - "(aFluidOutput != null) && ((aDuration = GregTech_API.sRecipeFile.get(cokeoven, aFluidOutput.getFluid().getName(), aDuration)) <= 0)"); - Logger.WARNING( - "aInput1:" + aInput1.toString() - + " aInput2:" - + aInput2.toString() - + " aFluidInput:" - + aFluidInput.toString() - + " aFluidOutput:" - + aFluidOutput.toString() - + " aOutput:" - + aOutput.toString() - + " aDuration:" - + aDuration - + " aEU/t:" - + aEUt); - Logger.WARNING("Passed."); - Logger.WARNING( - "aInput1:" + aInput1.toString() - + " aInput2:" - + aInput2.toString() - + " aFluidInput:" - + aFluidInput.toString() - + " aFluidOutput:" - + aFluidOutput.toString() - + " aOutput:" - + aOutput.toString() - + " aDuration:" - + aDuration - + " aEU/t:" - + aEUt); - } - - public static void debug5(final ItemStack aInput1, final ItemStack aInput2, final FluidStack aFluidInput, - final FluidStack aFluidOutput, final ItemStack[] aOutput, final int aDuration, final int aEUt) { - - String inputAname; - String inputBname; - String inputFluidname; - String outputFluidName; - - if (aInput1 != null) { - inputAname = aInput1.getDisplayName(); - } else { - inputAname = "null"; - } - - if (aInput2 != null) { - inputBname = aInput2.getDisplayName(); - } else { - inputBname = "null"; - } - - if (aFluidInput != null) { - inputFluidname = aFluidInput.getFluid().getName(); - } else { - inputFluidname = "null"; - } - - if (aFluidOutput != null) { - outputFluidName = aFluidOutput.getFluid().getName(); - } else { - outputFluidName = "null"; - } - - Logger.INFO( - "Successfully added a Chemical Dehydrator recipe for: " + ItemUtils.getArrayStackNames(aOutput) - + " & " - + outputFluidName - + ", Using " - + inputAname - + " & " - + inputBname - + " & liquid " - + inputFluidname - + ". This takes " - + (aDuration / 20) - + " seconds for " - + aEUt - + "eu/t."); - Logger.WARNING("=================================================================================="); - Logger.WARNING("=================================================================================="); - Logger.WARNING("=================================================================================="); - } -} diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/recipes/machines/RECIPEHANDLER_MatterFabricator.java b/src/main/java/gtPlusPlus/xmod/gregtech/recipes/machines/RECIPEHANDLER_MatterFabricator.java deleted file mode 100644 index ea2f4a95fe..0000000000 --- a/src/main/java/gtPlusPlus/xmod/gregtech/recipes/machines/RECIPEHANDLER_MatterFabricator.java +++ /dev/null @@ -1,101 +0,0 @@ -package gtPlusPlus.xmod.gregtech.recipes.machines; - -import net.minecraftforge.fluids.FluidStack; - -import gtPlusPlus.api.objects.Logger; - -public class RECIPEHANDLER_MatterFabricator { - - public static void debug1() { - Logger.WARNING("=================================================================================="); - Logger.WARNING("=================================================================================="); - Logger.WARNING("=================================================================================="); - Logger.WARNING("Walking Through Matter Fabrication Recipe Creation."); - Logger.WARNING("My name is Ralph and I will be your humble host."); - } - - public static void debug2(final FluidStack aFluidInput, final FluidStack aFluidOutput, final int aDuration, - final int aEUt) { - Logger.WARNING("=================================================================================="); - Logger.WARNING("Taking a step forward."); - Logger.WARNING("aInput1 == null && aFluidInput == null || aOutput == null && aFluidOutput == null"); - Logger.WARNING( - "aFluidInput:" + aFluidInput.toString() - + " aFluidOutput:" - + aFluidOutput.toString() - + " aDuration:" - + aDuration - + " aEU/t:" - + aEUt); - Logger.WARNING("Passed."); - } - - public static void debug3(final FluidStack aFluidInput, final FluidStack aFluidOutput, final int aDuration, - final int aEUt) { - Logger.WARNING("=================================================================================="); - Logger.WARNING("Taking a step forward."); - Logger.WARNING( - "(aOutput != null) && ((aDuration = GregTech_API.sRecipeFile.get(cokeoven, aOutput, aDuration)) <= 0)"); - Logger.WARNING( - "aFluidInput:" + aFluidInput.toString() - + " aFluidOutput:" - + aFluidOutput.toString() - + " aDuration:" - + aDuration - + " aEU/t:" - + aEUt); - Logger.WARNING("Passed."); - } - - public static void debug4(final FluidStack aFluidInput, final FluidStack aFluidOutput, final int aDuration, - final int aEUt) { - Logger.WARNING("=================================================================================="); - Logger.WARNING("Taking a step forward."); - Logger.WARNING( - "(aFluidOutput != null) && ((aDuration = GregTech_API.sRecipeFile.get(cokeoven, aFluidOutput.getFluid().getName(), aDuration)) <= 0)"); - Logger.WARNING( - "aFluidInput:" + aFluidInput.toString() - + " aFluidOutput:" - + aFluidOutput.toString() - + " aDuration:" - + aDuration - + " aEU/t:" - + aEUt); - Logger.WARNING("Passed."); - Logger.WARNING( - "aFluidInput:" + aFluidInput.toString() - + " aFluidOutput:" - + aFluidOutput.toString() - + " aDuration:" - + aDuration - + " aEU/t:" - + aEUt); - } - - public static void debug5(final FluidStack aFluidInput, final FluidStack aFluidOutput, final int aDuration, - final int aEUt) { - String a = "nothing"; - String b = ""; - - if (aFluidInput != null) { - a = aFluidInput.getFluid().getName(); - } - if (aFluidOutput != null) { - b = aFluidOutput.getFluid().getName(); - } - - Logger.INFO( - "Successfully added a Matter Fabrication recipe for: " + b - + ", Using " - + " liquid " - + a - + ". This takes " - + (aDuration / 20) - + " seconds for " - + aEUt - + "eu/t."); - Logger.WARNING("=================================================================================="); - Logger.WARNING("=================================================================================="); - Logger.WARNING("=================================================================================="); - } -} |