Commands/querytarget

From Minecraft Wiki
Jump to: navigation, search
querytarget
Visibility

Hidden

Restrictions

Multiplayer
Operator
No command blocks

Information icon.svg
This feature is exclusive to Bedrock Edition.

Gets transform, name, and id information about the given target entity or entities.

Syntax[edit]

querytarget <victim: target>

Arguments[edit]

victim: target

Specifies the targets. Must be one or more player names and/or target selectors separated by spaces (@e is permitted to target entities other than players).

Result[edit]

Fails if ...

On success, ...