Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Commands/querytarget

From SAS Gaming Wiki
Revision as of 15:44, 9 April 2026 by SyncBot (talk | contribs) (Remove broken links to missing pages)

Template:Exclusive Template:Infobox command Gets transform, name, and id information about the given target entity or entities.

Syntax

querytarget <victim: target>

Arguments

victim: target

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

Result

Fails if ...

On success,command block: comparator output

Navigation

Template:Navbox commands

ja:コマンド/querytarget lzh:令/querytarget pt:Comandos/querytarget zh:命令/querytarget