Class SimpleFixedFluidInv

java.lang.Object
alexiil.mc.lib.attributes.fluid.impl.SimpleFixedFluidInv
All Implemented Interfaces:
Convertible, FixedFluidInv, FixedFluidInvView, FluidExtractable, FluidInsertable, FluidTransferable, LimitedConsumer<FluidVolume>, Saveable
Direct Known Subclasses:
JumboFixedFluidInv

public class SimpleFixedFluidInv extends Object implements FixedFluidInv, FluidTransferable, Saveable
A simple, extendible, fixed size item inventory that supports all of the features that FixedFluidInv exposes.

Extending classes should take care to override getFilterForTank(int) if they also override isFluidValidForTank(int, FluidKey).

Note: Generally it is better to extend JumboFixedFluidInv for inventories with a large number of similar tanks (like a chest).