Skip to content

Conversation

@Spyboticsguy
Copy link
Contributor

58876e2 migrated from a custom ingredient handler for fluids to NeoForge's SizedFluidIngredient.

In some places, references were updated to use a SizedFluidIngredient containing a DataComponentFluidIngredient in order to preserve behaviors which would require the presence of specific components in fluid ingredients (the previous behavior).

In other places, references were updated to use
SizedFluidIngredient.of(FluidStack stack), which discards components when creating the fluid ingredient.

This resulted in #9474, where potion recipes were effectively created such that a non-fluid potion ingredient could be mixed with any potion base to create (one of) the possible outputs when brewing a potion with said ingredient.

This change updates the potion-mixing recipes logic to use a DataComponentFluidIngredient as the base fluid ingredient inside the SizedFluidIngredient, fixing
#9474.

This change also updates JEI integration code to similarly use DataComponentFluidIngredients, fixing visualization issues with potion-bottle and potion-application (e.g., redstone from cinder flour) recipes.

Adds tests to verify potion brewing and potion-application recipes function as intended.

Creators-of-Create/Create@58876e2 migrated from a custom ingredient
handler for fluids to NeoForge's `SizedFluidIngredient`.

In some places, references were updated to use a `SizedFluidIngredient`
containing a `DataComponentFluidIngredient` in order to preserve
behaviors which would require the presence of specific components
in fluid ingredients (the previous behavior).

In other places, references were updated to use
`SizedFluidIngredient.of(FluidStack stack)`, which discards
components when creating the fluid ingredient.

This resulted in Creators-of-Create#9474, where potion recipes
were effectively created such that a non-fluid potion ingredient
could be mixed with _any_ potion base to create (one of) the possible
outputs when brewing a potion with said ingredient.

This change updates the potion-mixing recipes logic to use a
`DataComponentFluidIngredient` as the base fluid ingredient
inside the `SizedFluidIngredient`, fixing
Creators-of-Create#9474.

This change also updates JEI integration code to similarly use
`DataComponentFluidIngredients`, fixing visualization issues with
potion-bottle and potion-application (e.g., redstone from cinder flour)
recipes.

Adds tests to verify potion brewing and potion-application recipes
function as intended.
@VoidLeech VoidLeech added the pr type: fix PR fixes a bug label Nov 14, 2025
@IThundxr
Copy link
Member

Thanks! With how often potion fluids have broken the gametests will come in handy

@IThundxr IThundxr enabled auto-merge November 18, 2025 03:37
@IThundxr IThundxr disabled auto-merge November 21, 2025 23:10
@IThundxr IThundxr merged commit 7d77d80 into Creators-of-Create:mc1.21.1/dev Nov 21, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr type: fix PR fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants