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 FluidStackSnapshot s
available from the owner. |
asMap, get, getMapKeys, getMapValue, getMapValues
asMutable, copy, with, with
getContentVersion, toContainer
ImmutableMapValue<Direction,List<FluidStackSnapshot>> fluids()
MapValue
of the various FluidStackSnapshot
s
available from the owner. Note that a fluid tank may have multiple
FluidStack
s differing based on Direction
.default Optional<List<FluidStackSnapshot>> fluidAtDirection(Direction direction)
direction
- The direction