public interface ImmutableFluidItemData extends ImmutableDataManipulator<ImmutableFluidItemData,FluidItemData>
FluidStackSnapshot, which may be owned by
various instances of ItemStacks, TileEntity instances,
and possibly Entity instances. Traditionally,
ItemTypes.BUCKETs will not have changeable instances of data without
changing the ItemType. Provided that a TileEntity contains
multiple fluids, it may have optionally FluidTankData instead of
FluidItemData.| Modifier and Type | Method and Description |
|---|---|
ImmutableValue<FluidStackSnapshot> |
fluid()
Gets the
ImmutableValue of the FluidStackSnapshot. |
asMutable, copy, with, withgetContentVersion, toContainerImmutableValue<FluidStackSnapshot> fluid()
ImmutableValue of the FluidStackSnapshot.