Skip to content

Commit

Permalink
Replace some Bucket Item stacks with FluidContainerIngredient
Browse files Browse the repository at this point in the history
  • Loading branch information
mrquentin committed Jan 31, 2025
1 parent 4d0624e commit 2c76458
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1276,7 +1276,7 @@ private static void nerfPaperCrafting(Consumer<FinishedRecipe> provider) {
VanillaRecipeHelper.addShapedRecipe(provider, "paper", new ItemStack(Items.PAPER, 2),
" r ", "SSS", " B ",
'S', new UnificationEntry(TagPrefix.dust, GTMaterials.Paper),
'B', new ItemStack(Items.WATER_BUCKET));
'B', new FluidContainerIngredient(Water.getFluidTag(), 1000));
}

private static void hardAdvancedIronRecipes(Consumer<FinishedRecipe> provider) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public static void init(Consumer<FinishedRecipe> provider) {
///////////////////////////////////////////////////
// TODO shapeless fluid container recipes
VanillaRecipeHelper.addShapelessRecipe(provider, "coin_chocolate", COIN_CHOCOLATE.asStack(),
new UnificationEntry(dust, Cocoa), new UnificationEntry(foil, Gold), new ItemStack(Items.MILK_BUCKET),
new UnificationEntry(dust, Cocoa), new UnificationEntry(foil, Gold), new FluidContainerIngredient(Milk.getFluidTag(), 1000),
new UnificationEntry(dust, Sugar));

VanillaRecipeHelper.addShapelessRecipe(provider, "credit_copper", CREDIT_COPPER.asStack(8),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import com.gregtechceu.gtceu.api.data.chemical.ChemicalHelper;
import com.gregtechceu.gtceu.api.data.chemical.material.MarkerMaterials.Color;
import com.gregtechceu.gtceu.api.data.chemical.material.stack.UnificationEntry;
import com.gregtechceu.gtceu.api.recipe.ingredient.FluidContainerIngredient;
import com.gregtechceu.gtceu.common.data.GTBlocks;
import com.gregtechceu.gtceu.common.data.GTRecipeCategories;
import com.gregtechceu.gtceu.config.ConfigHolder;
Expand Down Expand Up @@ -520,7 +521,7 @@ public static void init(Consumer<FinishedRecipe> provider) {
"MMM", "SES", " D ",
'E', Items.EGG,
'S', Items.SUGAR,
'M', Items.MILK_BUCKET,
'M', new FluidContainerIngredient(Milk.getFluidTag(), 1000),
'D', DOUGH);
} else {
VanillaRecipeHelper.addShapedRecipe(provider, "flour_to_dough", new ItemStack(DOUGH, 4),
Expand Down Expand Up @@ -557,7 +558,7 @@ public static void init(Consumer<FinishedRecipe> provider) {
"BBB", "SMS", "DDD",
'B', Items.SWEET_BERRIES,
'S', Items.SUGAR,
'M', Items.MILK_BUCKET,
'M', new FluidContainerIngredient(Milk.getFluidTag(), 1000),
'D', DOUGH);
}

Expand Down

0 comments on commit 2c76458

Please sign in to comment.