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: Difference between revisions

From SAS Gaming Wiki
imported>Nurunuru33333
No edit summary
 
SyncBot (talk | contribs)
Sync: updated from Minecraft
Tag: Manual revert
 
(2 intermediate revisions by the same user not shown)
(No difference)

Latest revision as of 11:03, 23 May 2026

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

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