Uses of Class
alexiil.mc.lib.attributes.fluid.FluidVolumeUtil.FluidTankInteraction
| Package | Description |
|---|---|
| alexiil.mc.lib.attributes.fluid |
The base package for
fluid management. |
-
Uses of FluidVolumeUtil.FluidTankInteraction in alexiil.mc.lib.attributes.fluid
Fields in alexiil.mc.lib.attributes.fluid declared as FluidVolumeUtil.FluidTankInteraction Modifier and Type Field Description static FluidVolumeUtil.FluidTankInteractionFluidVolumeUtil.FluidTankInteraction. NONEMethods in alexiil.mc.lib.attributes.fluid that return FluidVolumeUtil.FluidTankInteraction Modifier and Type Method Description static FluidVolumeUtil.FluidTankInteractionFluidVolumeUtil.FluidTankInteraction. fromTank(FluidVolume fluid)Deprecated.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. interactCursorWithTank(FixedFluidInv inv, net.minecraft.server.network.ServerPlayerEntity player)This is the "interactCursorWithTank" variant that takes a singleFixedFluidInvand doesn't limit what fluid is moved, or how much fluid is moved.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. interactCursorWithTank(FixedFluidInv inv, net.minecraft.server.network.ServerPlayerEntity player, FluidAmount maximum)This is the "interactCursorWithTank" variant that takes a singleFixedFluidInvand doesn't limit what fluid is moved.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. interactCursorWithTank(FixedFluidInv inv, net.minecraft.server.network.ServerPlayerEntity player, FluidFilter filter)This is the "interactCursorWithTank" variant that takes a singleFixedFluidInvand doesn't limit the maximum amount of fluid moved.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. interactCursorWithTank(FixedFluidInv inv, net.minecraft.server.network.ServerPlayerEntity player, FluidFilter filter, FluidAmount maximum)This is the "interactCursorWithTank" variant that takes a singleFixedFluidInv.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. interactCursorWithTank(FluidTransferable inv, net.minecraft.server.network.ServerPlayerEntity player)This is the "interactCursorWithTank" variant that takes a singleFluidTransferableand doesn't limit what fluid is moved, or how much fluid is moved.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. interactCursorWithTank(FluidTransferable inv, net.minecraft.server.network.ServerPlayerEntity player, FluidAmount maximum)This is the "interactCursorWithTank" variant that takes a singleFluidTransferableand doesn't limit what fluid is moved.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. interactCursorWithTank(FluidTransferable inv, net.minecraft.server.network.ServerPlayerEntity player, FluidFilter filter)This is the "interactCursorWithTank" variant that takes a singleFluidTransferableand doesn't limit the maximum amount of fluid moved.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. interactCursorWithTank(FluidTransferable inv, net.minecraft.server.network.ServerPlayerEntity player, FluidFilter filter, FluidAmount maximum)This is the "interactCursorWithTank" variant that takes a singleFluidTransferable.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. interactHandWithTank(FixedFluidInv inv, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand)This is the "interactHandWithTank" variant that takes a singleFixedFluidInvand doesn't limit what fluid is moved, or how much fluid is moved.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. interactHandWithTank(FixedFluidInv inv, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand, FluidAmount maximum)This is the "interactHandWithTank" variant that takes a singleFixedFluidInvand doesn't limit what fluid is moved.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. interactHandWithTank(FixedFluidInv inv, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand, FluidFilter filter)This is the "interactHandWithTank" variant that takes a singleFixedFluidInvand doesn't limit the maximum amount of fluid moved.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. interactHandWithTank(FluidTransferable inv, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand)This is the "interactHandWithTank" variant that takes a singleFluidTransferableand doesn't limit what fluid is moved, or how much fluid is moved.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. interactHandWithTank(FluidTransferable inv, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand, FluidAmount maximum)This is the "interactHandWithTank" variant that takes a singleFluidTransferableand doesn't limit what fluid is moved.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. interactHandWithTank(FluidTransferable inv, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand, FluidFilter filter)This is the "interactHandWithTank" variant that takes a singleFluidTransferableand doesn't limit the maximum amount of fluid moved.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. interactItemWithTank(FixedFluidInv inv, Reference<net.minecraft.item.ItemStack> stack, LimitedConsumer<net.minecraft.item.ItemStack> excessStacks)This is the "interactItemWithTank" variant that uses a singleFixedFluidInvfor the insertable/extractable tanks, and doesn't limit the fluid moved, or the amount moved.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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 singleFixedFluidInvfor the insertable/extractable tanks, and doesn't limit what fluid is moved.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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 singleFixedFluidInvfor the insertable/extractable tanks, and doesn't limit the amount of fluid moved.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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 singleFixedFluidInvfor the insertable/extractable tanks.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. interactItemWithTank(FluidTransferable inv, Reference<net.minecraft.item.ItemStack> stack, LimitedConsumer<net.minecraft.item.ItemStack> excessStacks)This is the "interactItemWithTank" variant that uses a singleFluidTransferablefor the insertable/extractable tanks, and doesn't limit what fluid is moved, or how much is moved.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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 singleFluidTransferablefor the insertable/extractable tanks, and doesn't filter what is moved.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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 singleFluidTransferablefor the insertable/extractable tanks, and doesn't limit the amount moved.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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 singleFluidTransferablefor the insertable/extractable tanks.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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.static FluidVolumeUtil.FluidTankInteractionFluidInvUtil. 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.static FluidVolumeUtil.FluidTankInteractionFluidVolumeUtil. interactWithTank(FixedFluidInv inv, Ref<net.minecraft.item.ItemStack> stack, java.util.function.Consumer<net.minecraft.item.ItemStack> excessStacks)Deprecated.This has been replaced byFluidInvUtil.interactItemWithTank(FixedFluidInv, Reference, LimitedConsumer).static FluidVolumeUtil.FluidTankInteractionFluidVolumeUtil. interactWithTank(FixedFluidInv inv, Reference<net.minecraft.item.ItemStack> stack, LimitedConsumer<net.minecraft.item.ItemStack> excessStacks)Deprecated.UseFluidInvUtil.interactItemWithTank(FixedFluidInv, Reference, LimitedConsumer)instead: all interactWithTank methods have been moved toFluidInvUtil.static FluidVolumeUtil.FluidTankInteractionFluidVolumeUtil. interactWithTank(FluidInsertable invInsert, FluidExtractable invExtract, Ref<net.minecraft.item.ItemStack> stack, java.util.function.Consumer<net.minecraft.item.ItemStack> excessStacks)Deprecated.This has been replaced byFluidInvUtil.interactItemWithTank(FluidInsertable, FluidExtractable, Reference, LimitedConsumer).static FluidVolumeUtil.FluidTankInteractionFluidVolumeUtil. interactWithTank(FluidInsertable invInsert, FluidExtractable invExtract, Reference<net.minecraft.item.ItemStack> stack, LimitedConsumer<net.minecraft.item.ItemStack> excessStacks)Deprecated.UseFluidInvUtil.interactItemWithTank(FluidInsertable, FluidExtractable, Reference, LimitedConsumer)instead: all interactWithTank methods have been moved toFluidInvUtil.static FluidVolumeUtil.FluidTankInteractionFluidVolumeUtil. interactWithTank(FluidTransferable inv, Ref<net.minecraft.item.ItemStack> stack, java.util.function.Consumer<net.minecraft.item.ItemStack> excessStacks)Deprecated.This has been replaced byFluidInvUtil.interactItemWithTank(FluidTransferable, Reference, LimitedConsumer).static FluidVolumeUtil.FluidTankInteractionFluidVolumeUtil. interactWithTank(FluidTransferable inv, Reference<net.minecraft.item.ItemStack> stack, LimitedConsumer<net.minecraft.item.ItemStack> excessStacks)Deprecated.UseFluidInvUtil.interactItemWithTank(FluidTransferable, Reference, LimitedConsumer)instead: all interactWithTank methods have been moved toFluidInvUtil.static FluidVolumeUtil.FluidTankInteractionFluidVolumeUtil.FluidTankInteraction. intoTank(FluidVolume fluid)Deprecated.static FluidVolumeUtil.FluidTankInteractionFluidVolumeUtil.FluidTankInteraction. none(FluidVolumeUtil.ItemContainerStatus intoTankStatus, FluidVolumeUtil.ItemContainerStatus fromTankStatus)