@param container ItemStack which is the fluid container.
@param resource FluidStack attempting to fill the container.
@param doFill If false, the fill will only be simulated.
@return Amount of fluid that was (or would have been, if simulated) filled into thecontainer.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.