In Water

Description

Matches an entity that is in water, the way the game counts it.

The bundled pack uses it to make players wet and to stop torches and similar held items from warming a player under water. See Temperature.

Attributes

This condition has no attributes

Examples

  - modifytemp{id=blocks;amount=7;duration=3} @Self ?holding{m=TORCH} ?!inwater

A torch in the main hand warms only out of the water.

Updated Nov 11, 2026