Uses of Class
alexiil.mc.lib.attributes.fluid.FluidVolumeUtil.FluidTankInteraction
-
Uses of FluidVolumeUtil.FluidTankInteraction in alexiil.mc.lib.attributes.fluid
Modifier and TypeFieldDescriptionstatic final FluidVolumeUtil.FluidTankInteraction
FluidVolumeUtil.FluidTankInteraction.NONE
Modifier and TypeMethodDescriptionFluidVolumeUtil.FluidTankInteraction.fromTank
(FluidVolume fluid) Deprecated, for removal: This API element is subject to removal in a future version.FluidInvUtil.interactCursorWithTank
(FixedFluidInv inv, net.minecraft.server.network.ServerPlayerEntity player) This is the "interactCursorWithTank" variant that takes a singleFixedFluidInv
and doesn't limit what fluid is moved, or how much fluid is moved.FluidInvUtil.interactCursorWithTank
(FixedFluidInv inv, net.minecraft.server.network.ServerPlayerEntity player, FluidAmount maximum) This is the "interactCursorWithTank" variant that takes a singleFixedFluidInv
and doesn't limit what fluid is moved.FluidInvUtil.interactCursorWithTank
(FixedFluidInv inv, net.minecraft.server.network.ServerPlayerEntity player, FluidFilter filter) This is the "interactCursorWithTank" variant that takes a singleFixedFluidInv
and doesn't limit the maximum amount of fluid moved.FluidInvUtil.interactCursorWithTank
(FixedFluidInv inv, net.minecraft.server.network.ServerPlayerEntity player, FluidFilter filter, FluidAmount maximum) This is the "interactCursorWithTank" variant that takes a singleFixedFluidInv
.FluidInvUtil.interactCursorWithTank
(FluidInsertable invInsert, FluidExtractable invExtract, net.minecraft.server.network.ServerPlayerEntity player) This is the "interactCursorWithTank" variant that doesn't limit what fluid is moved, or how much fluid is moved.FluidInvUtil.interactCursorWithTank
(FluidInsertable invInsert, FluidExtractable invExtract, net.minecraft.server.network.ServerPlayerEntity player, FluidAmount maximum) This is the "interactCursorWithTank" variant that doesn't limit what fluid is moved.FluidInvUtil.interactCursorWithTank
(FluidInsertable invInsert, FluidExtractable invExtract, net.minecraft.server.network.ServerPlayerEntity player, FluidFilter filter) This is the "interactCursorWithTank" variant that doesn't limit the maximum amount of fluid moved.FluidInvUtil.interactCursorWithTank
(FluidInsertable invInsert, FluidExtractable invExtract, net.minecraft.server.network.ServerPlayerEntity player, FluidFilter filter, FluidAmount maximum) Attempts to either fill the insertable from the player'sPlayerInventory#getCursorStack()
, or drain the extractable to the cursor stack.FluidInvUtil.interactCursorWithTank
(FluidTransferable inv, net.minecraft.server.network.ServerPlayerEntity player) This is the "interactCursorWithTank" variant that takes a singleFluidTransferable
and doesn't limit what fluid is moved, or how much fluid is moved.FluidInvUtil.interactCursorWithTank
(FluidTransferable inv, net.minecraft.server.network.ServerPlayerEntity player, FluidAmount maximum) This is the "interactCursorWithTank" variant that takes a singleFluidTransferable
and doesn't limit what fluid is moved.FluidInvUtil.interactCursorWithTank
(FluidTransferable inv, net.minecraft.server.network.ServerPlayerEntity player, FluidFilter filter) This is the "interactCursorWithTank" variant that takes a singleFluidTransferable
and doesn't limit the maximum amount of fluid moved.FluidInvUtil.interactCursorWithTank
(FluidTransferable inv, net.minecraft.server.network.ServerPlayerEntity player, FluidFilter filter, FluidAmount maximum) This is the "interactCursorWithTank" variant that takes a singleFluidTransferable
.FluidInvUtil.interactHandWithTank
(FixedFluidInv inv, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand) This is the "interactHandWithTank" variant that takes a singleFixedFluidInv
and doesn't limit what fluid is moved, or how much fluid is moved.FluidInvUtil.interactHandWithTank
(FixedFluidInv inv, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand, FluidAmount maximum) This is the "interactHandWithTank" variant that takes a singleFixedFluidInv
and doesn't limit what fluid is moved.FluidInvUtil.interactHandWithTank
(FixedFluidInv inv, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand, FluidFilter filter) This is the "interactHandWithTank" variant that takes a singleFixedFluidInv
and doesn't limit the maximum amount of fluid moved.FluidInvUtil.interactHandWithTank
(FixedFluidInv inv, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand, FluidFilter filter, FluidAmount maximum) This is the "interactHandWithTank" variant that takes a singleFixedFluidInv
.FluidInvUtil.interactHandWithTank
(FluidInsertable invInsert, FluidExtractable invExtract, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand) This is the "interactHandWithTank" variant that doesn't limit what fluid is moved, or how much fluid is moved.FluidInvUtil.interactHandWithTank
(FluidInsertable invInsert, FluidExtractable invExtract, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand, FluidAmount maximum) This is the "interactHandWithTank" variant that doesn't limit what fluid is moved.FluidInvUtil.interactHandWithTank
(FluidInsertable invInsert, FluidExtractable invExtract, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand, FluidFilter filter) This is the "interactHandWithTank" variant that doesn't limit the maximum amount of fluid moved.FluidInvUtil.interactHandWithTank
(FluidInsertable invInsert, FluidExtractable invExtract, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand, FluidFilter filter, FluidAmount maximum) Attempts to either fill the insertable from the player'shand
, or drain the extractable to the hand.FluidInvUtil.interactHandWithTank
(FluidTransferable inv, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand) This is the "interactHandWithTank" variant that takes a singleFluidTransferable
and doesn't limit what fluid is moved, or how much fluid is moved.FluidInvUtil.interactHandWithTank
(FluidTransferable inv, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand, FluidAmount maximum) This is the "interactHandWithTank" variant that takes a singleFluidTransferable
and doesn't limit what fluid is moved.FluidInvUtil.interactHandWithTank
(FluidTransferable inv, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand, FluidFilter filter) This is the "interactHandWithTank" variant that takes a singleFluidTransferable
and doesn't limit the maximum amount of fluid moved.FluidInvUtil.interactHandWithTank
(FluidTransferable inv, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand, FluidFilter filter, FluidAmount maximum) This is the "interactHandWithTank" variant that takes a singleFluidTransferable
.FluidInvUtil.interactItemWithTank
(FixedFluidInv inv, Reference<net.minecraft.item.ItemStack> stack, LimitedConsumer<net.minecraft.item.ItemStack> excessStacks) This is the "interactItemWithTank" variant that uses a singleFixedFluidInv
for the insertable/extractable tanks, and doesn't limit the fluid moved, or the amount moved.FluidInvUtil.interactItemWithTank
(FixedFluidInv inv, Reference<net.minecraft.item.ItemStack> stack, LimitedConsumer<net.minecraft.item.ItemStack> excessStacks, FluidAmount maximum) This is the "interactItemWithTank" variant that uses a singleFixedFluidInv
for the insertable/extractable tanks, and doesn't limit what fluid is moved.FluidInvUtil.interactItemWithTank
(FixedFluidInv inv, Reference<net.minecraft.item.ItemStack> stack, LimitedConsumer<net.minecraft.item.ItemStack> excessStacks, FluidFilter filter) This is the "interactItemWithTank" variant that uses a singleFixedFluidInv
for the insertable/extractable tanks, and doesn't limit the amount of fluid moved.FluidInvUtil.interactItemWithTank
(FixedFluidInv inv, Reference<net.minecraft.item.ItemStack> stack, LimitedConsumer<net.minecraft.item.ItemStack> excessStacks, FluidFilter filter, FluidAmount maximum) This is the "interactItemWithTank" variant that uses a singleFixedFluidInv
for the insertable/extractable tanks.FluidInvUtil.interactItemWithTank
(FluidInsertable invInsert, FluidExtractable invExtract, Reference<net.minecraft.item.ItemStack> stack, LimitedConsumer<net.minecraft.item.ItemStack> excessStacks) This is the "interactItemWithTank" variant that doesn't limit what fluid is moved, or the amount of fluid that is moved.FluidInvUtil.interactItemWithTank
(FluidInsertable invInsert, FluidExtractable invExtract, Reference<net.minecraft.item.ItemStack> stack, LimitedConsumer<net.minecraft.item.ItemStack> excessStacks, FluidAmount maximum) This is the "interactItemWithTank" variant that doesn't filter what is moved.FluidInvUtil.interactItemWithTank
(FluidInsertable invInsert, FluidExtractable invExtract, Reference<net.minecraft.item.ItemStack> stack, LimitedConsumer<net.minecraft.item.ItemStack> excessStacks, FluidFilter filter) This is the "interactItemWithTank" variant that doesn't limit the amount of fluid moved.FluidInvUtil.interactItemWithTank
(FluidInsertable invInsert, FluidExtractable invExtract, Reference<net.minecraft.item.ItemStack> stack, LimitedConsumer<net.minecraft.item.ItemStack> excessStacks, FluidFilter filter, FluidAmount maximum) Attempts to either fill the insertable from the provided stack reference, or drain the extractable to the provided stack.FluidInvUtil.interactItemWithTank
(FluidTransferable inv, Reference<net.minecraft.item.ItemStack> stack, LimitedConsumer<net.minecraft.item.ItemStack> excessStacks) This is the "interactItemWithTank" variant that uses a singleFluidTransferable
for the insertable/extractable tanks, and doesn't limit what fluid is moved, or how much is moved.FluidInvUtil.interactItemWithTank
(FluidTransferable inv, Reference<net.minecraft.item.ItemStack> stack, LimitedConsumer<net.minecraft.item.ItemStack> excessStacks, FluidAmount maximum) This is the "interactItemWithTank" variant that uses a singleFluidTransferable
for the insertable/extractable tanks, and doesn't filter what is moved.FluidInvUtil.interactItemWithTank
(FluidTransferable inv, Reference<net.minecraft.item.ItemStack> stack, LimitedConsumer<net.minecraft.item.ItemStack> excessStacks, FluidFilter filter) This is the "interactItemWithTank" variant that uses a singleFluidTransferable
for the insertable/extractable tanks, and doesn't limit the amount moved.FluidInvUtil.interactItemWithTank
(FluidTransferable inv, Reference<net.minecraft.item.ItemStack> stack, LimitedConsumer<net.minecraft.item.ItemStack> excessStacks, FluidFilter filter, FluidAmount maximum) This is the "interactItemWithTank" variant that uses a singleFluidTransferable
for the insertable/extractable tanks.FluidInvUtil.interactWithTank
(FixedFluidInv inv, net.minecraft.entity.player.PlayerEntity player, Reference<net.minecraft.item.ItemStack> stack) This is the "interactWithTank" variant that takes a singleFixedFluidInv
, and doesn't limit what fluid is moved, or the amount of fluid moved.FluidInvUtil.interactWithTank
(FixedFluidInv inv, net.minecraft.entity.player.PlayerEntity player, Reference<net.minecraft.item.ItemStack> stack, FluidAmount maximum) This is the "interactWithTank" variant that takes a singleFixedFluidInv
, and doesn't limit what fluid is moved.FluidInvUtil.interactWithTank
(FixedFluidInv inv, net.minecraft.entity.player.PlayerEntity player, Reference<net.minecraft.item.ItemStack> stack, FluidFilter filter) This is the "interactWithTank" variant that takes a singleFixedFluidInv
, and doesn't limit the amount of fluid moved.FluidInvUtil.interactWithTank
(FixedFluidInv inv, net.minecraft.entity.player.PlayerEntity player, Reference<net.minecraft.item.ItemStack> stack, FluidFilter filter, FluidAmount maximum) This is the "interactWithTank" variant that takes a singleFixedFluidInv
.FluidInvUtil.interactWithTank
(FluidInsertable invInsert, FluidExtractable invExtract, net.minecraft.entity.player.PlayerEntity player, Reference<net.minecraft.item.ItemStack> stack) This is the "interactWithTank" variant that doesn't limit what fluid is moved, or the amount of fluid moved.FluidInvUtil.interactWithTank
(FluidInsertable invInsert, FluidExtractable invExtract, net.minecraft.entity.player.PlayerEntity player, Reference<net.minecraft.item.ItemStack> stack, FluidAmount maximum) This is the "interactWithTank" variant that doesn't limit the fluid moved.FluidInvUtil.interactWithTank
(FluidInsertable invInsert, FluidExtractable invExtract, net.minecraft.entity.player.PlayerEntity player, Reference<net.minecraft.item.ItemStack> stack, FluidFilter filter) This is the "interactWithTank" variant that doesn't limit the amount of fluid moved.FluidInvUtil.interactWithTank
(FluidInsertable invInsert, FluidExtractable invExtract, net.minecraft.entity.player.PlayerEntity player, Reference<net.minecraft.item.ItemStack> stack, FluidFilter filter, FluidAmount maximum) Attempts to either fill the insertable from the provided stack reference, or drain the extractable to the provided stack.FluidInvUtil.interactWithTank
(FluidTransferable inv, net.minecraft.entity.player.PlayerEntity player, Reference<net.minecraft.item.ItemStack> stack) This is the "interactWithTank" variant that takes a singleFluidTransferable
, and doesn't limit what fluid is moved, or the amount of fluid moved.FluidInvUtil.interactWithTank
(FluidTransferable inv, net.minecraft.entity.player.PlayerEntity player, Reference<net.minecraft.item.ItemStack> stack, FluidAmount maximum) This is the "interactWithTank" variant that takes a singleFluidTransferable
, and doesn't limit what fluid is moved.FluidInvUtil.interactWithTank
(FluidTransferable inv, net.minecraft.entity.player.PlayerEntity player, Reference<net.minecraft.item.ItemStack> stack, FluidFilter filter) This is the "interactWithTank" variant that takes a singleFluidTransferable
, and doesn't limit the amount of fluid moved.FluidInvUtil.interactWithTank
(FluidTransferable inv, net.minecraft.entity.player.PlayerEntity player, Reference<net.minecraft.item.ItemStack> stack, FluidFilter filter, FluidAmount maximum) This is the "interactWithTank" variant that takes a singleFluidTransferable
.FluidVolumeUtil.interactWithTank
(FixedFluidInv inv, Ref<net.minecraft.item.ItemStack> stack, Consumer<net.minecraft.item.ItemStack> excessStacks) Deprecated, for removal: This API element is subject to removal in a future version.FluidVolumeUtil.interactWithTank
(FixedFluidInv inv, Reference<net.minecraft.item.ItemStack> stack, LimitedConsumer<net.minecraft.item.ItemStack> excessStacks) Deprecated, for removal: This API element is subject to removal in a future version.UseFluidInvUtil.interactItemWithTank(FixedFluidInv, Reference, LimitedConsumer)
instead: all interactWithTank methods have been moved toFluidInvUtil
.FluidVolumeUtil.interactWithTank
(FluidInsertable invInsert, FluidExtractable invExtract, Ref<net.minecraft.item.ItemStack> stack, Consumer<net.minecraft.item.ItemStack> excessStacks) Deprecated, for removal: This API element is subject to removal in a future version.This has been replaced byFluidInvUtil.interactItemWithTank(FluidInsertable, FluidExtractable, Reference, LimitedConsumer)
.FluidVolumeUtil.interactWithTank
(FluidInsertable invInsert, FluidExtractable invExtract, Reference<net.minecraft.item.ItemStack> stack, LimitedConsumer<net.minecraft.item.ItemStack> excessStacks) Deprecated, for removal: This API element is subject to removal in a future version.UseFluidInvUtil.interactItemWithTank(FluidInsertable, FluidExtractable, Reference, LimitedConsumer)
instead: all interactWithTank methods have been moved toFluidInvUtil
.FluidVolumeUtil.interactWithTank
(FluidTransferable inv, Ref<net.minecraft.item.ItemStack> stack, Consumer<net.minecraft.item.ItemStack> excessStacks) Deprecated, for removal: This API element is subject to removal in a future version.This has been replaced byFluidInvUtil.interactItemWithTank(FluidTransferable, Reference, LimitedConsumer)
.FluidVolumeUtil.interactWithTank
(FluidTransferable inv, Reference<net.minecraft.item.ItemStack> stack, LimitedConsumer<net.minecraft.item.ItemStack> excessStacks) Deprecated, for removal: This API element is subject to removal in a future version.UseFluidInvUtil.interactItemWithTank(FluidTransferable, Reference, LimitedConsumer)
instead: all interactWithTank methods have been moved toFluidInvUtil
.FluidVolumeUtil.FluidTankInteraction.intoTank
(FluidVolume fluid) Deprecated, for removal: This API element is subject to removal in a future version.FluidVolumeUtil.FluidTankInteraction.none
(FluidVolumeUtil.ItemContainerStatus intoTankStatus, FluidVolumeUtil.ItemContainerStatus fromTankStatus)
FluidInvUtil.interactItemWithTank(FixedFluidInv, Reference, LimitedConsumer)
.