Wiki 9Minecraft Wiki 9Minecraft
Bedrock source › Commands › /testfor

/testfor

/testfor

Command

/testfor in Minecraft Bedrock Edition 1.26.70.21, read straight from the game files.

Contents (3)
  1. Data
  2. Syntax
  3. See also

Data

Identifier/testfor
DescriptionCounts entities (players, mobs, items, etc.) matching specified conditions.
Permission level1
Requires cheatsYes

Syntax

OverloadSyntax
1/testfor <victim: SELECTION>

See also

Extracted from Minecraft Bedrock 1.26.70.21 — Mojang’s own published sample packs. 9Minecraft is not affiliated with Mojang or Microsoft.

/testfor
Identifier/testfor
DescriptionCounts entities (players, mobs, items, etc.) matching specified conditions.
Permission level1
Requires cheatsYes