public interface FluidStackSnapshot extends ImmutableDataHolder<FluidStackSnapshot>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
FluidStackSnapshot.Builder |
| Modifier and Type | Method and Description |
|---|---|
static FluidStackSnapshot.Builder |
builder()
Creates a new
FluidStackSnapshot.Builder to build a new FluidStackSnapshot. |
FluidStack |
createStack()
Creates a new
FluidStack based on this snapshot. |
FluidType |
getFluid()
Gets the
FluidType of this snapshot. |
int |
getVolume()
Gets the volume of this snapshot.
|
getManipulatorsgetContentVersion, toContainergetApplicableProperties, getPropertyget, getContainers, getOrCreate, merge, merge, supports, transform, with, with, with, with, withoutstatic FluidStackSnapshot.Builder builder()
FluidStackSnapshot.Builder to build a new FluidStackSnapshot.int getVolume()
Note that the volume is measured in "milli buckets", otherwise read
as mB. The scaling is as follows: 1 bucket = 1000mB, whereas 1
block usually equals 1000mB.
FluidStack createStack()
FluidStack based on this snapshot.