Fluid Support Providers are a way to retrieve the fluids from items. Examples of this include the Fluid Buckets and Water Bottles.
By default, support is added by Fabric’s Fluid Transfer API or Forge’s Fluid Capabilities.
Additionally, you can register your own support provider.
In a server plugin (Constructing Plugins), override registerFluidSupport
. Here, you can register a Provider
. The provider should return an optional stream of fluid entry stacks given the item entry stack. It is important to keep this provider performent.