Package net.neoforged.neoforge.fluids
@ParametersAreNonnullByDefault
package net.neoforged.neoforge.fluids
-
ClassDescriptionBase implementation of a
FlowingFluidfor mods to use.Fluid content information for cauldrons.Deprecated, for removal: This API element is subject to removal in a future version.A registry which defines the interactions a source fluid can have with its surroundings.An interface which performs an interaction for a source.An interface which tests whether a source fluid can interact with its surroundings.Holds the interaction data for a given source type on when to succeed and what to perform.ItemStackequivalent for fluids.Utility class for creating linked set forFluidStackwith specific hash strategy asFluidStackdoes not overrideObject.hashCode()andObject.equals(Object).A definition of common attributes, properties, and methods that is applied to aFluid.A record that holds some information to let a fluid drip from Pointed Dripstone stalactites and fill cauldrons below.The properties of the fluid.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.UseResourceHandlerwith aFluidResourceinstead.Event to registerCauldronFluidContentfor modded cauldrons.Stock data component class to hold aFluidStack.
ItemAccess-backed handler implementations will directly mutate the underlying item access, thus there is no need to represent the resulting item stack anymore.