Package alexiil.mc.lib.attributes.fluid
Interface FluidTransferable
- All Superinterfaces:
- FluidExtractable,- FluidInsertable,- LimitedConsumer<FluidVolume>
- All Known Subinterfaces:
- GroupedFluidInv,- LimitedGroupedFluidInv
- All Known Implementing Classes:
- CombinedGroupedFluidInv,- DelegatingGroupedFluidInv,- EmptyFluidTransferable,- EmptyGroupedFluidInv,- FilteredFluidTransferable,- GroupedFluidInvFixedWrapper,- ItemBasedSingleFluidInv,- JumboFixedFluidInv,- SimpleFixedFluidInv,- SimpleLimitedGroupedFluidInv,- SingleFluidTank
Combined interface for 
FluidInsertable and FluidExtractable. (This is provided for simplicity when
 exposing inventories for modification but when you don't want to implement the full set of methods that
 GroupedFluidInv provides).- 
Method SummaryModifier and TypeMethodDescriptiondefault FluidTransferablefiltered(FluidFilter filter)static FluidTransferablefrom(FluidExtractable extractable)static FluidTransferablefrom(FluidInsertable insertable)static FluidTransferablefrom(FluidInsertable insertable, FluidExtractable extractable)Methods inherited from interface alexiil.mc.lib.attributes.fluid.FluidExtractableattemptAnyExtraction, attemptAnyExtraction, attemptExtraction, attemptExtraction, couldExtractAnything, extract, extract, extract, extract, extract, extract, getPureExtractableMethods inherited from interface alexiil.mc.lib.attributes.fluid.FluidInsertableattemptInsertion, getInsertionFilter, getMinimumAcceptedAmount, getPureInsertable, insert, offer, offer, wouldAccept
- 
Method Details- 
filtered- Specified by:
- filteredin interface- FluidExtractable
- Specified by:
- filteredin interface- FluidInsertable
- Returns:
- A new FluidTransferablethat has an additional filter applied to the fluid extracted from it or inserted into it.
 
- 
from- Returns:
- A new FluidTransferablethat will insert into the given insertable, and never return any Fluids fromFluidExtractable.attemptExtraction(FluidFilter, int, Simulation).
 
- 
from- Returns:
- A new FluidTransferablethat will extract from the given extractable, and reject every inserted stack.
 
- 
from- Returns:
- A new FluidTransferablethat will extract from the given extractable, and insert into the given extractable.
 
 
-