Package alexiil.mc.lib.attributes.fluid.impl
package alexiil.mc.lib.attributes.fluid.impl
-
ClassDescriptionBase class for
SubFixedFluidInvView
andMappedFixedFluidInvView
.CombinedFixedFluidInv<InvType extends FixedFluidInv>AnFixedFluidInv
that delegates to a list of them instead of storing items directly.CombinedFixedFluidInvView<InvType extends FixedFluidInvView>AnFixedFluidInvView
that delegates to a list of them instead of storing items directly.A simple delegate base class forFixedFluidInv
.AFluidInsertable
that delegates to anotherFluidInsertable
, but has an additional filter as to what can be inserted.A tracker object that tries to ensure that the "no modification" rule that methods likeFixedFluidInvView.getInvFluid(int)
use is followed.AnGroupedFluidInv
wrapper over anFixedFluidInv
.ASimpleFixedFluidInv
with a few optimisations to make theFluidInsertable
,FluidExtractable
, andGroupedFluidInvView
implementations much faster than a simple inventory search for larger inventories.A simple, extendible, fixed size item inventory that supports all of the features thatFixedFluidInv
exposes.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.This has been replaced withFixedFluidInv.getMappedInv(int...)
followed byFixedFluidInv.getInsertable()
.A sub-view of an existingFixedFluidInvView
. -
Enum ClassDescriptionAn
FixedFluidInv
with no tanks.AFluidExtractable
that never returns any fluid fromEmptyFluidExtractable.attemptExtraction(FluidFilter, int, Simulation)
.AnFluidTransferable
that never returns any items fromEmptyFluidTransferable.attemptExtraction(FluidFilter, int, Simulation)
, nor accepts any items inEmptyFluidTransferable.attemptInsertion(FluidVolume, Simulation)
.GroupedFluidInvView
for an empty inventory.AnFluidInsertable
that always refuses to accept any insertedFluidVolume
.
FixedFluidInv.getMappedInv(int...)
followed byFixedFluidInv.getExtractable()
.