public interface ImmutableFluidTankData extends ImmutableMappedData<Direction,List<FluidStackSnapshot>,ImmutableFluidTankData,FluidTankData>
| Modifier and Type | Method and Description |
|---|---|
default Optional<List<FluidStackSnapshot>> |
fluidAtDirection(Direction direction)
|
ImmutableMapValue<Direction,List<FluidStackSnapshot>> |
fluids()
Gets the
MapValue of the various FluidStackSnapshots
available from the owner. |
asMap, get, getMapKeys, getMapValue, getMapValuesasMutable, copy, with, withgetContentVersion, toContainerImmutableMapValue<Direction,List<FluidStackSnapshot>> fluids()
MapValue of the various FluidStackSnapshots
available from the owner. Note that a fluid tank may have multiple
FluidStacks differing based on Direction.default Optional<List<FluidStackSnapshot>> fluidAtDirection(Direction direction)
direction - The direction