类 DataComponentFluidIngredient

java.lang.Object
net.neoforged.neoforge.fluids.crafting.FluidIngredient
net.neoforged.neoforge.fluids.crafting.DataComponentFluidIngredient
所有已实现的接口:
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.

另请参阅: