RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/fluid/FluidSupportProvider.java
/**
     * @deprecated Please switch to {@link FluidSupportProvider#registerProvider(Provider)}
     */
@deprecated Please switch to  FluidSupportProvider#registerProvider(Provider)
@deprecated Please switch to FluidSupportProvider#registerProvider ( Provider )
@Deprecated
    @ApiStatus.ScheduledForRemoval
    default void registerFluidProvider(@NotNull FluidProvider provider) {
        registerProvider(itemStack -> {
            EntryStack stack = Objects.requireNonNull(provider.itemToFluid(itemStack));
            if (!stack.isEmpty())
                return InteractionResultHolder.success(Stream.of(stack));
            return InteractionResultHolder.pass(null);
        });
    }
@ Deprecated @ ApiStatus . ScheduledForRemoval default void registerFluidProvider ( @ NotNull FluidProvider provider ) { registerProvider ( itemStack -> { EntryStack stack = Objects . requireNonNull ( provider . itemToFluid ( itemStack ) ) ; if ( ! stack . isEmpty ( ) ) return InteractionResultHolder . success ( Stream . of ( stack ) ) ; return InteractionResultHolder . pass ( null ) ; } ) ; }
@deprecated Please switch to {@link FluidSupportProvider#registerProvider(Provider)}
@deprecated Please switch to { @link FluidSupportProvider#registerProvider ( Provider ) }