%p:PLAYER% (is|is not) sneaking
Checks if a player is or is not currently sneaking.
if player is sneaking:
if player is not sneaking:
Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.
<p> is sneaking
<p> is not sneaking
%p:PLAYER_POSSESSIVE% health %op:OP% %n:INT%
%p:PLAYER% exists
%p:PLAYER% has permission %perm:STRING%
%p:PLAYER% (is|is not) sprinting
%p:PLAYER% (is|is not) [a] op
%p:PLAYER% (is|is not) flying
%p:PLAYER_POSSESSIVE% gamemode (is|is not) %mode:EXPR%
%p:PLAYER_POSSESSIVE% y %op:OP% %n:INT%
%p:PLAYER% (is|is not) in world %w:STRING%
block under %p:PLAYER% (is|is not) %mat:MATERIAL%
%p:PLAYER% has %amt:INT% of %mat:MATERIAL%
%p:PLAYER% is (holding|carrying) %mat:MATERIAL%
%p:PLAYER% is (dead|not alive)
%p:PLAYER_POSSESSIVE% food [level] %op:OP% %n:INT%
%p:PLAYER_POSSESSIVE% (xp level|level) %op:OP% %n:INT%
%p:PLAYER% has [effect] %effect:STRING%
%p:PLAYER% does not have [effect] %effect:STRING%