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 record
FluidIngredientType<T extends FluidIngredient>
This represents the "type" of aFluidIngredient
, providing means of serializing and deserializing the ingredient over both JSON and network, using theFluidIngredientType.codec
andFluidIngredientType.streamCodec
, respectively.Subclasses of FluidIngredient in net.neoforged.neoforge.fluids.craftingModifier and TypeClassDescriptionfinal class
Fluid ingredient that matches if any of the child ingredients match.final class
FluidIngredient that wraps another fluid ingredient to override itsSlotDisplay
.class
Fluid ingredient that matches the given set of fluids, additionally performing either astrict
or partial test on the FluidStack's components.final class
Fluid ingredient that matches the difference of two provided fluid ingredients, i.e.final class
FluidIngredient that matches if all child ingredients matchclass
Fluid ingredient that matches the fluids specified by the givenHolderSet
.Fields in net.neoforged.neoforge.fluids.crafting declared as FluidIngredientModifier and TypeFieldDescriptionprivate final FluidIngredient
CustomDisplayFluidIngredient.base
private final FluidIngredient
DifferenceFluidIngredient.base
private final FluidIngredient
SizedFluidIngredient.ingredient
private final FluidIngredient
DifferenceFluidIngredient.subtracted
Fields in net.neoforged.neoforge.fluids.crafting with type parameters of type FluidIngredientModifier and TypeFieldDescriptionprivate final List
<FluidIngredient> CompoundFluidIngredient.children
private final List
<FluidIngredient> IntersectionFluidIngredient.children
static final com.mojang.serialization.Codec
<FluidIngredient> FluidIngredient.CODEC
static final net.minecraft.network.codec.StreamCodec
<net.minecraft.network.RegistryFriendlyByteBuf, Optional<FluidIngredient>> FluidIngredient.OPTIONAL_STREAM_CODEC
static final net.minecraft.network.codec.StreamCodec
<net.minecraft.network.RegistryFriendlyByteBuf, FluidIngredient> FluidIngredient.STREAM_CODEC
Methods in net.neoforged.neoforge.fluids.crafting that return FluidIngredientModifier and TypeMethodDescriptionCustomDisplayFluidIngredient.base()
DifferenceFluidIngredient.base()
SizedFluidIngredient.ingredient()
static FluidIngredient
CompoundFluidIngredient.of
(List<FluidIngredient> children) Creates a compound ingredient from the given list of ingredients.static FluidIngredient
CompoundFluidIngredient.of
(FluidIngredient... children) Creates a compound ingredient from the given list of ingredients.static FluidIngredient
CustomDisplayFluidIngredient.of
(FluidIngredient base, net.minecraft.world.item.crafting.display.SlotDisplay display) static <T> FluidIngredient
DataComponentFluidIngredient.of
(boolean strict, Supplier<? extends net.minecraft.core.component.DataComponentType<? super T>> type, T value, net.minecraft.world.level.material.Fluid... fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredient
DataComponentFluidIngredient.of
(boolean strict, net.minecraft.core.component.DataComponentExactPredicate predicate, net.minecraft.core.Holder<net.minecraft.world.level.material.Fluid>... fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredient
DataComponentFluidIngredient.of
(boolean strict, net.minecraft.core.component.DataComponentExactPredicate predicate, net.minecraft.core.HolderSet<net.minecraft.world.level.material.Fluid> fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredient
DataComponentFluidIngredient.of
(boolean strict, net.minecraft.core.component.DataComponentExactPredicate predicate, net.minecraft.world.level.material.Fluid... fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredient
DataComponentFluidIngredient.of
(boolean strict, net.minecraft.core.component.DataComponentMap map, net.minecraft.core.Holder<net.minecraft.world.level.material.Fluid>... fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredient
DataComponentFluidIngredient.of
(boolean strict, net.minecraft.core.component.DataComponentMap map, net.minecraft.core.HolderSet<net.minecraft.world.level.material.Fluid> fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredient
DataComponentFluidIngredient.of
(boolean strict, net.minecraft.core.component.DataComponentMap map, net.minecraft.world.level.material.Fluid... fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic <T> FluidIngredient
DataComponentFluidIngredient.of
(boolean strict, net.minecraft.core.component.DataComponentType<? super T> type, T value, net.minecraft.world.level.material.Fluid... fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredient
DataComponentFluidIngredient.of
(boolean strict, FluidStack stack) Creates a new ingredient matching the given fluid, containing the given componentsstatic FluidIngredient
DifferenceFluidIngredient.of
(FluidIngredient base, FluidIngredient subtracted) Gets the difference of the two fluid ingredientsstatic FluidIngredient
static FluidIngredient
FluidIngredient.of
(net.minecraft.core.HolderSet<net.minecraft.world.level.material.Fluid> fluids) static FluidIngredient
FluidIngredient.of
(net.minecraft.world.level.material.Fluid... fluids) static FluidIngredient
FluidIngredient.of
(FluidStack... fluids) static FluidIngredient
IntersectionFluidIngredient.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 net.minecraft.network.codec.StreamCodec
<net.minecraft.network.RegistryFriendlyByteBuf, FluidIngredient> FluidIngredientCodecs.streamCodec()
Methods in net.neoforged.neoforge.fluids.crafting with parameters of type FluidIngredientModifier and TypeMethodDescriptionstatic FluidIngredient
CompoundFluidIngredient.of
(FluidIngredient... children) Creates a compound ingredient from the given list of ingredients.static FluidIngredient
CustomDisplayFluidIngredient.of
(FluidIngredient base, net.minecraft.world.item.crafting.display.SlotDisplay display) static FluidIngredient
DifferenceFluidIngredient.of
(FluidIngredient base, FluidIngredient subtracted) Gets the difference of the two fluid ingredientsstatic FluidIngredient
IntersectionFluidIngredient.of
(FluidIngredient... ingredients) Gets an intersection fluid ingredientMethod parameters in net.neoforged.neoforge.fluids.crafting with type arguments of type FluidIngredientModifier and TypeMethodDescriptionstatic FluidIngredient
CompoundFluidIngredient.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, net.minecraft.world.item.crafting.display.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)