diff --git a/src/main/java/techreborn/init/recipes/ImplosionCompressorRecipes.java b/src/main/java/techreborn/init/recipes/ImplosionCompressorRecipes.java new file mode 100644 index 000000000..93b7bf5c9 --- /dev/null +++ b/src/main/java/techreborn/init/recipes/ImplosionCompressorRecipes.java @@ -0,0 +1,7 @@ +package techreborn.init.recipes; + +/** + * Created by Prospector + */ +public class ImplosionCompressorRecipes { +} diff --git a/src/main/java/techreborn/init/recipes/IndustrialElectrolyzerRecipes.java b/src/main/java/techreborn/init/recipes/IndustrialElectrolyzerRecipes.java index 1d7200bf7..7adc7c629 100644 --- a/src/main/java/techreborn/init/recipes/IndustrialElectrolyzerRecipes.java +++ b/src/main/java/techreborn/init/recipes/IndustrialElectrolyzerRecipes.java @@ -76,29 +76,44 @@ public class IndustrialElectrolyzerRecipes extends RecipeMethods { throw new InvalidParameterException("Invalid industrial electrolyzer outputs: " + outputs); } + System.out.println("=========================="); + System.out.println("RECIPE INPUT: " + input); + System.out.println("OUTPUT 1: " + output1); + System.out.println("OUTPUT 2: " + output2); + System.out.println("OUTPUT 3: " + output3); + System.out.println("OUTPUT 4: " + output4); + int cellCount = 0; for (ItemStack stack : outputs) { if (stack.getItem() instanceof DynamicCell) { cellCount += stack.getCount(); + System.out.println("Output Cell Count: " + cellCount); } } if (input.getItem() instanceof DynamicCell) { int inputCount = input.getCount(); + System.out.println("Input Cell Count: " + inputCount); if (cellCount < inputCount) { - if (output2 != null) { + if (output2 == null) { output2 = DynamicCell.getEmptyCell(inputCount - cellCount); - } else if (output3 != null) { + System.out.println("New Cell Output 2: " + (inputCount - cellCount)); + } else if (output3 == null) { output3 = DynamicCell.getEmptyCell(inputCount - cellCount); - } else if (output4 != null) { + System.out.println("New Cell Output 3: " + (inputCount - cellCount)); + } else if (output4 == null) { output4 = DynamicCell.getEmptyCell(inputCount - cellCount); + System.out.println("New Cell Output 4: " + (inputCount - cellCount)); } } cellCount -= inputCount; + System.out.println("New Cell Count: " + cellCount); + } if (cellCount < 0) { + System.out.println("Cells less than 0: " + cellCount); cellCount = 0; } @@ -107,8 +122,11 @@ public class IndustrialElectrolyzerRecipes extends RecipeMethods { if (cellCount > 64) { throw new InvalidParameterException("Invalid industrial electrolyzer outputs: " + outputs + "(Recipe requires > 64 cells)"); } + System.out.println("Input Cells Amount: " + cellCount); cells = DynamicCell.getEmptyCell(cellCount); } + System.out.println("=========================="); + System.out.println(""); RecipeHandler.addRecipe(new IndustrialElectrolyzerRecipe(input, cells, output1, output2, output3, output4, ticks, euPerTick, oreDict)); } diff --git a/src/main/resources/assets/techreborn/lang/en_US.lang b/src/main/resources/assets/techreborn/lang/en_us.lang similarity index 100% rename from src/main/resources/assets/techreborn/lang/en_US.lang rename to src/main/resources/assets/techreborn/lang/en_us.lang diff --git a/src/main/resources/assets/techreborn/lang/fr_FR.lang b/src/main/resources/assets/techreborn/lang/fr_fr.lang similarity index 100% rename from src/main/resources/assets/techreborn/lang/fr_FR.lang rename to src/main/resources/assets/techreborn/lang/fr_fr.lang diff --git a/src/main/resources/assets/techreborn/lang/zh_CN.lang b/src/main/resources/assets/techreborn/lang/zh_cn.lang similarity index 100% rename from src/main/resources/assets/techreborn/lang/zh_CN.lang rename to src/main/resources/assets/techreborn/lang/zh_cn.lang