Uses of Class
net.neoforged.neoforge.fluids.FluidActionResult
Packages that use FluidActionResult
-
Uses of FluidActionResult in net.neoforged.neoforge.fluids
Fields in net.neoforged.neoforge.fluids declared as FluidActionResultModifier and TypeFieldDescriptionstatic final FluidActionResultFluidActionResult.FAILUREDeprecated, for removal: This API element is subject to removal in a future version.Methods in net.neoforged.neoforge.fluids that return FluidActionResultModifier and TypeMethodDescriptionstatic FluidActionResultFluidUtil.tryEmptyContainer(ItemStack container, IFluidHandler fluidDestination, int maxAmount, @Nullable Player player, boolean doDrain) Deprecated, for removal: This API element is subject to removal in a future version.static FluidActionResultFluidUtil.tryEmptyContainerAndStow(ItemStack container, IFluidHandler fluidDestination, IItemHandler inventory, int maxAmount, @Nullable Player player, boolean doDrain) Deprecated, for removal: This API element is subject to removal in a future version.static FluidActionResultFluidUtil.tryFillContainer(ItemStack container, IFluidHandler fluidSource, int maxAmount, @Nullable Player player, boolean doFill) Deprecated, for removal: This API element is subject to removal in a future version.static FluidActionResultFluidUtil.tryFillContainerAndStow(ItemStack container, IFluidHandler fluidSource, IItemHandler inventory, int maxAmount, @Nullable Player player, boolean doFill) Deprecated, for removal: This API element is subject to removal in a future version.static FluidActionResultFluidUtil.tryPickUpFluid(ItemStack emptyContainer, @Nullable Player playerIn, Level level, BlockPos pos, Direction side) Deprecated, for removal: This API element is subject to removal in a future version.static FluidActionResultFluidUtil.tryPlaceFluid(@Nullable Player player, Level level, InteractionHand hand, BlockPos pos, ItemStack container, FluidStack resource) Deprecated, for removal: This API element is subject to removal in a future version.
ResourceHandlerUtil.move(net.neoforged.neoforge.transfer.ResourceHandler<T>, net.neoforged.neoforge.transfer.ResourceHandler<T>, java.util.function.Predicate<T>, int, net.neoforged.neoforge.transfer.transaction.TransactionContext)with anItemAccess-backed handler as the source.