Interface FluidStack

    • Method Detail

      • fluid

        FluidType fluid()
        Gets the FluidType for this fluid stack.
        Returns:
        The fluid type of this stack
      • volume

        int volume()
        Gets the "volume" of this FluidStack.

        Note that the volume is measured in "milli buckets", otherwise read as mB. The scaling is as follows: 1 bucket = 1000mB, whereas 1 block usually equals 1000mB.

        Returns:
        The volume in milli buckets
      • setVolume

        FluidStack setVolume​(int volume)
        Sets the desired volume for this stack.

        Note that the volume is measured in "milli buckets", otherwise read as mB. The scaling is as follows: 1 bucket = 1000mB, whereas 1 block usually equals 1000mB.

        Parameters:
        volume - The volume to set
        Returns:
        This fluid stack