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
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
ConstructorDescriptionJumboFixedFluidInv(int invSize, int tankCapacity)
Deprecated, for removal: This API element is subject to removal in a future version.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
Methods inherited from interface alexiil.mc.lib.attributes.fluid.FluidTransferable
filtered
-
Constructor Details
-
JumboFixedFluidInv
@Deprecated(since="0.6.0", forRemoval=true) public JumboFixedFluidInv(int invSize, int tankCapacity)Deprecated, for removal: This API element is subject to removal in a future version.Replaced byJumboFixedFluidInv(int, FluidAmount)
. -
JumboFixedFluidInv
-
JumboFixedFluidInv(int, FluidAmount)
.