getFluid<T extends Fluid> method
Retrieve a fluid and create it with the given FluidFactory. Will create a new fluid each time it is called
Implementation
T getFluid<T extends Fluid>(FluidFactory<T> fluidFactory) {
return fluidFactory.createFluid(container);
}