Class DataComponentFluidIngredient

java.lang.Object
net.neoforged.neoforge.fluids.crafting.FluidIngredient
net.neoforged.neoforge.fluids.crafting.DataComponentFluidIngredient
All Implemented Interfaces:
Predicate<FluidStack>

public class DataComponentFluidIngredient extends FluidIngredient
Fluid ingredient that matches the given set of fluids, additionally performing either a strict or partial test on the FluidStack's components.

Strict ingredients will only match fluid stacks that have exactly the provided components, while partial ones will match if the stack's components contain all required components for the input predicate.

See Also: