Class FluidAmount.SafeAddResult
java.lang.Object
alexiil.mc.lib.attributes.fluid.amount.FluidAmount.SafeAddResult
- Enclosing class:
- FluidAmount
- 
Field SummaryFieldsModifier and TypeFieldDescriptionThe true value of the twoFluidAmount's added together, equal toFluidAmount.bigAdd(FluidAmount).
- 
Constructor SummaryConstructorsConstructorDescriptionSafeAddResult(BigFluidAmount exactValue, RoundingMode rounding)SafeAddResult(FluidAmount exactValue)SafeAddResult(FluidAmount roundedResult, BigFluidAmount exactValue)
- 
Method Summary
- 
Field Details- 
roundedResult
- 
exactValueThe true value of the twoFluidAmount's added together, equal toFluidAmount.bigAdd(FluidAmount).
 
- 
- 
Constructor Details- 
SafeAddResult
- 
SafeAddResult
- 
SafeAddResult
 
- 
- 
Method Details- 
toString
- 
getError- Returns:
- The difference between the exactValueand theroundedResult. This will always be equal to theexactValue.sub(roundedResult)
 
 
-