Class FluidAmount.SafeAddResult
java.lang.Object
alexiil.mc.lib.attributes.fluid.amount.FluidAmount.SafeAddResult
- Enclosing class:
 - FluidAmount
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionfinal BigFluidAmountThe true value of the twoFluidAmount's added together, equal toFluidAmount.bigAdd(FluidAmount).final FluidAmount - 
Constructor Summary
ConstructorsConstructorDescriptionSafeAddResult(BigFluidAmount exactValue, RoundingMode rounding) SafeAddResult(FluidAmount exactValue) SafeAddResult(FluidAmount roundedResult, BigFluidAmount exactValue)  - 
Method Summary
 
- 
Field Details
- 
roundedResult
 - 
exactValue
The 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) 
 
 -