Class FluidUnitSet

java.lang.Object
alexiil.mc.lib.attributes.fluid.volume.FluidUnitBase
alexiil.mc.lib.attributes.fluid.volume.FluidUnitSet

public final class FluidUnitSet
extends FluidUnitBase
Multiple FluidUnits. This can localise a single amount into multiple different units, for example a FluidAmount of "4 + 1/3" would localize a string like "4 Buckets and 1 Bottle" if the two available units were FluidUnit.BUCKET and FluidUnit.BOTTLE.

While it is possible to construct a custom FluidUnitSet it's recommended that you use the one that's built in to every FluidKey, via FluidKey.unitSet.