Uses of Interface
alexiil.mc.lib.attributes.fluid.FixedFluidInv
Packages that use FixedFluidInv
Package
Description
The base package for
fluid management.-
Uses of FixedFluidInv in alexiil.mc.lib.attributes.fluid
Subinterfaces of FixedFluidInv in alexiil.mc.lib.attributes.fluidModifier and TypeInterfaceDescriptioninterfaceA 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 FixedFluidInvModifier and TypeFieldDescriptionstatic final CombinableAttribute<FixedFluidInv>FluidAttributes.FIXED_INVMethods in alexiil.mc.lib.attributes.fluid that return FixedFluidInvModifier and TypeMethodDescriptiondefault FixedFluidInvLimitedFixedFluidInv.asUnmodifiable()final 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 FixedFluidInvModifier and TypeMethodDescriptionstatic FluidVolumeFluidVolumeUtil.extractSingle(FixedFluidInv inv, int tank, FluidFilter filter, FluidVolume toAddWith, int maxAmount, Simulation simulation) Deprecated, for removal: This API element is subject to removal in a future version.static FluidVolumeFluidVolumeUtil.extractSingle(FixedFluidInv inv, int tank, FluidFilter filter, FluidVolume toAddWith, FluidAmount maxAmount, Simulation simulation) Deprecated, for removal: This API element is subject to removal in a future version.static FluidVolumeFluidVolumeUtil.insertSingle(FixedFluidInv inv, int tank, FluidVolume toInsert, Simulation simulation) Deprecated, for removal: This API element is subject to removal in a future version.As this has been moved toinsertFluid(int, FluidVolume, Simulation)FluidInvUtil.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.FluidInvUtil.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.FluidInvUtil.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.FluidInvUtil.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, for removal: This API element is subject to removal in a future version.The boolean return has been deprecated, and the main method has been moved toFluidInvUtil.interactCursorWithTank(FixedFluidInv, ServerPlayerEntity)FluidInvUtil.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.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 singleFixedFluidInvand 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 singleFixedFluidInvand 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.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.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 singleFixedFluidInvfor 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 singleFixedFluidInvfor 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 singleFixedFluidInvfor 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.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.This has been replaced byFluidInvUtil.interactItemWithTank(FixedFluidInv, Reference, LimitedConsumer).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.static booleanFluidVolumeUtil.interactWithTank(FixedFluidInv inv, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand) Deprecated, for removal: This API element is subject to removal in a future version.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 FixedFluidInvModifier and TypeClassDescriptionclassCombinedFixedFluidInv<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 FixedFluidInvModifier and TypeClassDescriptionclassCombinedFixedFluidInv<InvType extends FixedFluidInv>AnFixedFluidInvthat delegates to a list of them instead of storing items directly.classA simple delegate base class forFixedFluidInv.enumAnFixedFluidInvwith no tanks.classASimpleFixedFluidInvwith a few optimisations to make theFluidInsertable,FluidExtractable, andGroupedFluidInvViewimplementations much faster than a simple inventory search for larger inventories.classclassA simple, extendible, fixed size item inventory that supports all of the features thatFixedFluidInvexposes.classclassFields in alexiil.mc.lib.attributes.fluid.impl declared as FixedFluidInvMethods in alexiil.mc.lib.attributes.fluid.impl that return FixedFluidInvConstructors in alexiil.mc.lib.attributes.fluid.impl with parameters of type FixedFluidInvModifierConstructorDescriptionDelegatingFixedFluidInv(FixedFluidInv delegate) MappedFixedFluidInv(FixedFluidInv inv, int[] tanks) SimpleFixedFluidInvExtractable(FixedFluidInv inv, int[] tanks) Deprecated, for removal: This API element is subject to removal in a future version.SimpleFixedFluidInvInsertable(FixedFluidInv inv, int[] tanks) Deprecated, for removal: This API element is subject to removal in a future version.SimpleLimitedFixedFluidInv(FixedFluidInv delegate) SubFixedFluidInv(FixedFluidInv inv, int fromIndex, int toIndex)
FluidVolumeUtil.extractSingle(FixedFluidInv, int, FluidFilter, FluidVolume, FluidAmount, Simulation)