Class JumboFixedFluidInv
java.lang.Object
alexiil.mc.lib.attributes.fluid.impl.SimpleFixedFluidInv
alexiil.mc.lib.attributes.fluid.impl.JumboFixedFluidInv
- All Implemented Interfaces:
Convertible
,FixedFluidInv
,FixedFluidInvView
,FluidExtractable
,FluidInsertable
,FluidTransferable
,LimitedConsumer<FluidVolume>
,Saveable
public class JumboFixedFluidInv extends SimpleFixedFluidInv
A
SimpleFixedFluidInv
with a few optimisations to make the FluidInsertable
,
FluidExtractable
, and GroupedFluidInvView
implementations much faster than a simple inventory search
for larger inventories.-
Field Summary
Fields inherited from class alexiil.mc.lib.attributes.fluid.impl.SimpleFixedFluidInv
tankCapacity, tankCapacity_F, tanks
-
Constructor Summary
Constructors Constructor Description JumboFixedFluidInv(int invSize, int tankCapacity)
Deprecated.Replaced byJumboFixedFluidInv(int, FluidAmount)
.JumboFixedFluidInv(int invSize, FluidAmount tankCapacity)
-
Method Summary
Methods inherited from class alexiil.mc.lib.attributes.fluid.impl.SimpleFixedFluidInv
addListener, attemptAnyExtraction, attemptExtraction, attemptInsertion, fireTankChange, fromTag, getFilterForTank, getGroupedInv, getInsertionFilter, getInvFluid, getMaxAmount, getMaxAmount_F, getMinimumAcceptedAmount, getTankCount, invalidateListeners, isFluidValidForTank, setInvFluid, setOwnerListener, toTag, toTag
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface alexiil.mc.lib.attributes.fluid.FixedFluidInv
createLimitedFixedInv, extractFluid, forceSetInvFluid, getExtractable, getInsertable, getMappedInv, getSubInv, getTank, getTransferable, insertFluid, modifyTank, tankIterable
Methods inherited from interface alexiil.mc.lib.attributes.fluid.FixedFluidInvView
convertTo, fluidIterable, getFixedView, offerSelfAsAttribute
Methods inherited from interface alexiil.mc.lib.attributes.fluid.FluidExtractable
attemptAnyExtraction, attemptExtraction, couldExtractAnything, extract, extract, extract, extract, extract, extract, getPureExtractable
Methods inherited from interface alexiil.mc.lib.attributes.fluid.FluidInsertable
getPureInsertable, insert, offer, offer, wouldAccept
-
Constructor Details
-
JumboFixedFluidInv
@Deprecated public JumboFixedFluidInv(int invSize, int tankCapacity)Deprecated.Replaced byJumboFixedFluidInv(int, FluidAmount)
. -
JumboFixedFluidInv
-