public interface ImmutableFluidItemData extends ImmutableDataManipulator<ImmutableFluidItemData,FluidItemData>
FluidStackSnapshot
, which may be owned by
various instances of ItemStack
s, TileEntity
instances,
and possibly Entity
instances. Traditionally,
ItemTypes.BUCKET
s 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, with
getContentVersion, toContainer
ImmutableValue<FluidStackSnapshot> fluid()
ImmutableValue
of the FluidStackSnapshot
.