Package alexiil.mc.lib.attributes.fluid
Class FluidVolumeUtil.FluidTransferResult
java.lang.Object
alexiil.mc.lib.attributes.fluid.FluidVolumeUtil.FluidTransferResult
- Enclosing class:
- FluidVolumeUtil
public static final class FluidVolumeUtil.FluidTransferResult
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description FluidVolume
inTank
TheFluidVolume
that should be placed into the tankFluidVolume
result
If this is returned fromFluidVolumeUtil.computeInsertion(FluidVolume, FluidAmount, FluidVolume)
then this is the leftover. -
Constructor Summary
Constructors Constructor Description FluidTransferResult(FluidVolume result, FluidVolume inTank)
-
Method Summary
-
Field Details
-
result
If this is returned fromFluidVolumeUtil.computeInsertion(FluidVolume, FluidAmount, FluidVolume)
then this is the leftover. Otherwise this is the fluid that was extracted from the tank. -
inTank
TheFluidVolume
that should be placed into the tank
-
-
Constructor Details