Make automated brewing of modded potions use the same fluid amount as vanilla recipes

This commit is contained in:
VoidLeech 2023-12-12 20:01:47 +01:00
parent c707fbd448
commit aa479c56fe

View file

@ -102,9 +102,11 @@ public class PotionMixingRecipes {
continue; continue;
} }
FluidStack inputFluid = PotionFluidHandler.getFluidFromPotionItem(stacks[0]); FluidStack inputFluid = PotionFluidHandler.getFluidFromPotionItem(stacks[0]);
inputFluid.setAmount(1000);
if (outputFluid == null) { if (outputFluid == null) {
outputFluid = PotionFluidHandler.getFluidFromPotionItem(output); outputFluid = PotionFluidHandler.getFluidFromPotionItem(output);
} }
outputFluid.setAmount(1000);
mixingRecipes.add(createRecipe("potion_mixing_modded_" + recipeIndex++, ingredient, inputFluid, outputFluid)); mixingRecipes.add(createRecipe("potion_mixing_modded_" + recipeIndex++, ingredient, inputFluid, outputFluid));
} }
} }