Uses of Interface
alexiil.mc.lib.attributes.fluid.FixedFluidInv
| Package | Description |
|---|---|
| alexiil.mc.lib.attributes.fluid |
The base package for
fluid management. |
| alexiil.mc.lib.attributes.fluid.impl |
-
Uses of FixedFluidInv in alexiil.mc.lib.attributes.fluid
Subinterfaces of FixedFluidInv in alexiil.mc.lib.attributes.fluid Modifier and Type Interface Description interfaceLimitedFixedFluidInvA type ofFixedFluidInvthat wraps an existingFixedFluidInvand provides custom control over the actual modification of the wrappedFixedFluidInv.Fields in alexiil.mc.lib.attributes.fluid with type parameters of type FixedFluidInv Modifier and Type Field Description static CombinableAttribute<FixedFluidInv>FluidAttributes. FIXED_INVMethods in alexiil.mc.lib.attributes.fluid that return FixedFluidInv Modifier and Type Method Description default FixedFluidInvLimitedFixedFluidInv. asUnmodifiable()FixedFluidInvSingleFluidTank. getBackingInv()default FixedFluidInvFixedFluidInv. getMappedInv(int... tanks)default FixedFluidInvFixedFluidInv. getSubInv(int fromIndex, int toIndex)Methods in alexiil.mc.lib.attributes.fluid with parameters of type FixedFluidInv Modifier and Type Method Description static FluidVolumeFluidVolumeUtil. extractSingle(FixedFluidInv inv, int tank, FluidFilter filter, FluidVolume toAddWith, int maxAmount, Simulation simulation)static FluidVolumeFluidVolumeUtil. extractSingle(FixedFluidInv inv, int tank, FluidFilter filter, FluidVolume toAddWith, FluidAmount maxAmount, Simulation simulation)Deprecated.static FluidVolumeFluidVolumeUtil. insertSingle(FixedFluidInv inv, int tank, FluidVolume toInsert, Simulation simulation)Deprecated.As this has been moved toinsertFluid(int, FluidVolume, Simulation)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 booleanFluidVolumeUtil. interactCursorWithTank(FixedFluidInv inv, net.minecraft.server.network.ServerPlayerEntity player)Deprecated.The boolean return has been deprecated, and the main method has been moved toFluidInvUtil.interactCursorWithTank(FixedFluidInv, ServerPlayerEntity)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. 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. 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.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 booleanFluidVolumeUtil. interactWithTank(FixedFluidInv inv, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand)Deprecated.The boolean return has been deprecated, and the main method has been moved toFluidInvUtil.interactHandWithTank(FixedFluidInv, PlayerEntity, Hand) -
Uses of FixedFluidInv in alexiil.mc.lib.attributes.fluid.impl
Classes in alexiil.mc.lib.attributes.fluid.impl with type parameters of type FixedFluidInv Modifier and Type Class Description classCombinedFixedFluidInv<InvType extends FixedFluidInv>AnFixedFluidInvthat delegates to a list of them instead of storing items directly.Classes in alexiil.mc.lib.attributes.fluid.impl that implement FixedFluidInv Modifier and Type Class Description classCombinedFixedFluidInv<InvType extends FixedFluidInv>AnFixedFluidInvthat delegates to a list of them instead of storing items directly.classDelegatingFixedFluidInvA simple delegate base class forFixedFluidInv.classEmptyFixedFluidInvAnFixedFluidInvwith no tanks.classJumboFixedFluidInvASimpleFixedFluidInvwith a few optimisations to make theFluidInsertable,FluidExtractable, andGroupedFluidInvViewimplementations much faster than a simple inventory search for larger inventories.classMappedFixedFluidInvclassSimpleFixedFluidInvA simple, extendible, fixed size item inventory that supports all of the features thatFixedFluidInvexposes.classSimpleLimitedFixedFluidInvclassSubFixedFluidInvFields in alexiil.mc.lib.attributes.fluid.impl declared as FixedFluidInv Modifier and Type Field Description protected FixedFluidInvDelegatingFixedFluidInv. delegateMethods in alexiil.mc.lib.attributes.fluid.impl that return FixedFluidInv Modifier and Type Method Description protected FixedFluidInvGroupedFluidInvFixedWrapper. inv()Constructors in alexiil.mc.lib.attributes.fluid.impl with parameters of type FixedFluidInv Constructor Description DelegatingFixedFluidInv(FixedFluidInv delegate)GroupedFluidInvFixedWrapper(FixedFluidInv inv)MappedFixedFluidInv(FixedFluidInv inv, int[] tanks)SimpleFixedFluidInvExtractable(FixedFluidInv inv, int[] tanks)Deprecated.SimpleFixedFluidInvInsertable(FixedFluidInv inv, int[] tanks)Deprecated.SimpleLimitedFixedFluidInv(FixedFluidInv delegate)SubFixedFluidInv(FixedFluidInv inv, int fromIndex, int toIndex)