asFluid

abstract fun asFluid(): FluidState

Converts this block state in to its corresponding fluid state.

If this block state is not a liquid, this will return the default state of Fluids.EMPTY.

Return

this block state as a fluid state.