Uses of Class
net.neoforged.neoforge.fluids.crafting.FluidIngredient
Packages that use FluidIngredient
-
Uses of FluidIngredient in net.neoforged.neoforge.fluids.crafting
Classes in net.neoforged.neoforge.fluids.crafting with type parameters of type FluidIngredientModifier and TypeClassDescriptionfinal recordFluidIngredientType<T extends FluidIngredient>This represents the "type" of aFluidIngredient, providing means of serializing and deserializing the ingredient over both JSON and network, using theFluidIngredientType.codecandFluidIngredientType.streamCodec, respectively.Subclasses of FluidIngredient in net.neoforged.neoforge.fluids.craftingModifier and TypeClassDescriptionfinal classFluid ingredient that matches if any of the child ingredients match.final classFluidIngredient that wraps another fluid ingredient to override itsSlotDisplay.classFluid ingredient that matches the given set of fluids, additionally performing either astrictor partial test on the FluidStack's components.final classFluid ingredient that matches the difference of two provided fluid ingredients, i.e.final classFluidIngredient that matches if all child ingredients matchclassFluid ingredient that matches the fluids specified by the givenHolderSet.Fields in net.neoforged.neoforge.fluids.crafting declared as FluidIngredientModifier and TypeFieldDescriptionprivate final FluidIngredientCustomDisplayFluidIngredient.baseprivate final FluidIngredientDifferenceFluidIngredient.baseprivate final FluidIngredientSizedFluidIngredient.ingredientprivate final FluidIngredientDifferenceFluidIngredient.subtractedFields in net.neoforged.neoforge.fluids.crafting with type parameters of type FluidIngredientModifier and TypeFieldDescriptionprivate final List<FluidIngredient> CompoundFluidIngredient.childrenprivate final List<FluidIngredient> IntersectionFluidIngredient.childrenstatic final com.mojang.serialization.Codec<FluidIngredient> FluidIngredient.CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Optional<FluidIngredient>> FluidIngredient.OPTIONAL_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, FluidIngredient> FluidIngredient.STREAM_CODECMethods in net.neoforged.neoforge.fluids.crafting that return FluidIngredientModifier and TypeMethodDescriptionCustomDisplayFluidIngredient.base()DifferenceFluidIngredient.base()SizedFluidIngredient.ingredient()static FluidIngredientCompoundFluidIngredient.of(List<FluidIngredient> children) Creates a compound ingredient from the given list of ingredients.static FluidIngredientCompoundFluidIngredient.of(FluidIngredient... children) Creates a compound ingredient from the given list of ingredients.static FluidIngredientCustomDisplayFluidIngredient.of(FluidIngredient base, SlotDisplay display) static <T> FluidIngredientDataComponentFluidIngredient.of(boolean strict, Supplier<? extends DataComponentType<? super T>> type, T value, Fluid... fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredientDataComponentFluidIngredient.of(boolean strict, DataComponentExactPredicate predicate, Holder<Fluid>... fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredientDataComponentFluidIngredient.of(boolean strict, DataComponentExactPredicate predicate, HolderSet<Fluid> fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredientDataComponentFluidIngredient.of(boolean strict, DataComponentExactPredicate predicate, Fluid... fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredientDataComponentFluidIngredient.of(boolean strict, DataComponentMap map, Holder<Fluid>... fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredientDataComponentFluidIngredient.of(boolean strict, DataComponentMap map, HolderSet<Fluid> fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredientDataComponentFluidIngredient.of(boolean strict, DataComponentMap map, Fluid... fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic <T> FluidIngredientDataComponentFluidIngredient.of(boolean strict, DataComponentType<? super T> type, T value, Fluid... fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredientDataComponentFluidIngredient.of(boolean strict, FluidStack stack) Creates a new ingredient matching the given fluid, containing the given componentsstatic FluidIngredientDifferenceFluidIngredient.of(FluidIngredient base, FluidIngredient subtracted) Gets the difference of the two fluid ingredientsstatic FluidIngredientstatic FluidIngredientstatic FluidIngredientstatic FluidIngredientFluidIngredient.of(FluidStack... fluids) static FluidIngredientIntersectionFluidIngredient.of(FluidIngredient... ingredients) Gets an intersection fluid ingredientDifferenceFluidIngredient.subtracted()Methods in net.neoforged.neoforge.fluids.crafting that return types with arguments of type FluidIngredientModifier and TypeMethodDescriptionCompoundFluidIngredient.children()IntersectionFluidIngredient.children()(package private) static com.mojang.serialization.Codec<FluidIngredient> FluidIngredientCodecs.codec()(package private) static StreamCodec<RegistryFriendlyByteBuf, FluidIngredient> FluidIngredientCodecs.streamCodec()Methods in net.neoforged.neoforge.fluids.crafting with parameters of type FluidIngredientModifier and TypeMethodDescriptionstatic FluidIngredientCompoundFluidIngredient.of(FluidIngredient... children) Creates a compound ingredient from the given list of ingredients.static FluidIngredientCustomDisplayFluidIngredient.of(FluidIngredient base, SlotDisplay display) static FluidIngredientDifferenceFluidIngredient.of(FluidIngredient base, FluidIngredient subtracted) Gets the difference of the two fluid ingredientsstatic FluidIngredientIntersectionFluidIngredient.of(FluidIngredient... ingredients) Gets an intersection fluid ingredientMethod parameters in net.neoforged.neoforge.fluids.crafting with type arguments of type FluidIngredientModifier and TypeMethodDescriptionstatic FluidIngredientCompoundFluidIngredient.of(List<FluidIngredient> children) Creates a compound ingredient from the given list of ingredients.Constructors in net.neoforged.neoforge.fluids.crafting with parameters of type FluidIngredientModifierConstructorDescriptionCustomDisplayFluidIngredient(FluidIngredient base, SlotDisplay display) DifferenceFluidIngredient(FluidIngredient base, FluidIngredient subtracted) SizedFluidIngredient(FluidIngredient ingredient, int amount) Constructor parameters in net.neoforged.neoforge.fluids.crafting with type arguments of type FluidIngredientModifierConstructorDescriptionCompoundFluidIngredient(List<? extends FluidIngredient> children) IntersectionFluidIngredient(List<FluidIngredient> children)