Waterlogged 5.46.0
A block that can share its space with a water source (kelp, seagrass, sea pickles under water).
Like vanilla Bedrock, the water is stored in the second block layer of the subchunk (the "liquid layer"), which the client renders around the block; World keeps that layer in sync when such a block is set or replaced. On the server the block itself stands in for the water: neighbouring water treats it as a source, it spreads water into empty neighbours, and it leaves a water source behind when broken.
Methods
isWaterlogged()
php
public function isWaterlogged() : boolReturns whether the block currently holds a water source.
