Minecraft:Commands/querytarget: Difference between revisions
From SAS Gaming Wiki
More actions
Fix template calls: add MC/ prefix |
Sync: updated from Minecraft Tag: Manual revert |
||
| Line 1: | Line 1: | ||
{{ | {{exclusive|bedrock|education}} | ||
{{Infobox command | {{Infobox command | ||
|name=querytarget | |name=querytarget | ||
| Line 25: | Line 25: | ||
== Navigation == | == Navigation == | ||
{{ | {{Navbox commands}} | ||
ja:コマンド/querytarget | [[Minecraft:ja:コマンド/querytarget]] | ||
lzh:令/querytarget | [[Minecraft:lzh:令/querytarget]] | ||
pt:Comandos/querytarget | [[Minecraft:pt:Comandos/querytarget]] | ||
zh:命令/querytarget | [[Minecraft:zh:命令/querytarget]] | ||
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 (
@eis permitted to target entities other than players).
Result
Fails if ...
On success,command block: comparator output
Minecraft:ja:コマンド/querytarget Minecraft:lzh:令/querytarget Minecraft:pt:Comandos/querytarget Minecraft:zh:命令/querytarget