Uses of Class
alexiil.mc.lib.attributes.fluid.amount.FluidAmount.FluidMergeRounding
| Package | Description |
|---|---|
| alexiil.mc.lib.attributes.fluid.amount | |
| alexiil.mc.lib.attributes.fluid.volume |
-
Uses of FluidAmount.FluidMergeRounding in alexiil.mc.lib.attributes.fluid.amount
Fields in alexiil.mc.lib.attributes.fluid.amount declared as FluidAmount.FluidMergeRounding Modifier and Type Field Description static FluidAmount.FluidMergeRoundingFluidAmount.FluidMergeRounding. DEFAULTMethods in alexiil.mc.lib.attributes.fluid.amount that return FluidAmount.FluidMergeRounding Modifier and Type Method Description static FluidAmount.FluidMergeRoundingFluidAmount.FluidMergeRounding. fromRounding(java.math.RoundingMode rounding)static FluidAmount.FluidMergeRoundingFluidAmount.FluidMergeRounding. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FluidAmount.FluidMergeRounding[]FluidAmount.FluidMergeRounding. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in alexiil.mc.lib.attributes.fluid.amount with parameters of type FluidAmount.FluidMergeRounding Modifier and Type Method Description static FluidAmount.FluidMergeResultFluidAmount. merge(FluidAmount target, FluidAmount toAdd, FluidAmount.FluidMergeRounding rounding) -
Uses of FluidAmount.FluidMergeRounding in alexiil.mc.lib.attributes.fluid.volume
Methods in alexiil.mc.lib.attributes.fluid.volume with parameters of type FluidAmount.FluidMergeRounding Modifier and Type Method Description voidWeightedFluidVolume. addAmount(T value, FluidAmount amount, FluidAmount.FluidMergeRounding rounding)booleanFluidVolume. merge(FluidVolume other, FluidAmount.FluidMergeRounding rounding, Simulation simulation)static FluidVolumeFluidVolume. merge(FluidVolume a, FluidVolume b, FluidAmount.FluidMergeRounding rounding)protected voidFluidVolume. merge0(FluidVolume other, FluidAmount.FluidMergeRounding rounding)Deprecated.becauseFluidVolume.mergeInternal(FluidVolume, FluidMergeResult)allows every method to share the sameFluidAmount.FluidMergeResultobject, which reduces the chance to make a mistake when merging the two amounts.static booleanFluidVolume. mergeInto(FluidVolume source, FluidVolume target, FluidAmount.FluidMergeRounding rounding)Merges as much fluid as possible from the source into the target, leaving the result in thestatic booleanFluidVolume. mergeInto(FluidVolume source, FluidVolume target, FluidAmount.FluidMergeRounding rounding, Simulation simulation)Merges as much fluid as possible from the source into the target, leaving the result in the source.