Package alexiil.mc.lib.attributes.fluid
Interface GroupedFluidInv
- All Superinterfaces:
FluidExtractable
,FluidInsertable
,FluidTransferable
,GroupedFluidInvView
,LimitedConsumer<FluidVolume>
- All Known Subinterfaces:
LimitedGroupedFluidInv
- All Known Implementing Classes:
CombinedGroupedFluidInv
,DelegatingGroupedFluidInv
,EmptyGroupedFluidInv
,GroupedFluidInvFixedWrapper
,ItemBasedSingleFluidInv
,SimpleLimitedGroupedFluidInv
A modifiable version of
GroupedFluidInvView
, except that all modification methods are provided by
FluidExtractable
and FluidInsertable
.-
Nested Class Summary
Nested classes/interfaces inherited from interface alexiil.mc.lib.attributes.fluid.GroupedFluidInvView
GroupedFluidInvView.FluidInvStatistic
-
Method Summary
Modifier and TypeMethodDescriptiondefault LimitedGroupedFluidInv
default GroupedFluidInv
filtered
(FluidFilter filter) Methods inherited from interface alexiil.mc.lib.attributes.fluid.FluidExtractable
attemptAnyExtraction, attemptAnyExtraction, attemptExtraction, attemptExtraction, couldExtractAnything, extract, extract, extract, extract, extract, extract, getPureExtractable
Methods inherited from interface alexiil.mc.lib.attributes.fluid.FluidInsertable
attemptInsertion, getInsertionFilter, getMinimumAcceptedAmount, getPureInsertable, insert, offer, offer, wouldAccept
Methods inherited from interface alexiil.mc.lib.attributes.fluid.GroupedFluidInvView
addListener, addListener_F, getAmount, getAmount, getAmount_F, getAmount_F, getCapacity, getCapacity_F, getGroupedView, getSpace, getSpace_F, getStatistics, getStatistics, getStoredFluids, getTotalCapacity, getTotalCapacity_F
-
Method Details
-
createLimitedGroupedInv
- Returns:
- A new
LimitedGroupedFluidInv
that provides a more controllable version of thisGroupedFluidInv
.
-
filtered
- Specified by:
filtered
in interfaceFluidExtractable
- Specified by:
filtered
in interfaceFluidInsertable
- Specified by:
filtered
in interfaceFluidTransferable
- Returns:
- a
GroupedFluidInv
that can only have the given filter of fluids inserted or extracted.
-