In 1.13 there are blocks that are obviously fluids: WATER, LAVA. And then there are waterlogged blocks that can contain water. But then there are blocks like SEAGRASS that count as liquid, too.
There has to be some function in vanilla that checks that could be used to add that as Material.isFluid()