PlayerAPI.isInWater

Inherited from LivingEntityAPI

Example by JimmyHelp:
Returns true if this entity is currently in a water block, including waterlogging
overload 1:
player:isInWater()
Method Property Fluent Description Representation
Return Value a Boolean
a a