Minecraft:Commands/spectate: Difference between revisions
More actions
Remove broken links to missing pages |
Fix template calls: add MC/ prefix |
||
| Line 1: | Line 1: | ||
{{ | {{MC/Redirect|Spectate|the gamemode|Spectator}} | ||
{{ | {{MC/Exclusive|java}} | ||
{{Infobox command | {{Infobox command | ||
|name=spectate | |name=spectate | ||
| Line 17: | Line 17: | ||
==Arguments== | ==Arguments== | ||
{{ | {{MC/Argument|target|entity}} | ||
: Specifies the target to be spectated. | : Specifies the target to be spectated. | ||
: {{ | : {{MC/Arg desc|je=entity|amount=single|type=entities}} | ||
{{ | {{MC/Argument|player|entity}} | ||
: Specifies the spectating player. If unspecified, defaults to the executor. | : Specifies the spectating player. If unspecified, defaults to the executor. | ||
: {{ | : {{MC/Arg desc|je=entity|amount=single|type=players}} | ||
==Result== | ==Result== | ||
| Line 39: | Line 39: | ||
==Output== | ==Output== | ||
{{Output table}} | {{MC/Output table}} | ||
{{Output table|edition=je|On fail|0|0|0}} | {{MC/Output table|edition=je|On fail|0|0|0}} | ||
{{Output table|On success|1|1|1}} | {{MC/Output table|On success|1|1|1}} | ||
{{Output table}} | {{MC/Output table}} | ||
== History == | == History == | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|java}} | |{{MC/HistoryLine|java}} | ||
|{{HistoryLine||1.15|dev=19w41a|Added {{ | |{{HistoryLine||1.15|dev=19w41a|Added {{MC/Cmd|spectate|link=none}}.}} | ||
|{{HistoryLine||1.19.4|dev=23w03a|Now {{ | |{{HistoryLine||1.19.4|dev=23w03a|Now {{MC/Cmd|spectate|ink=none}} command works between dimensions.<ref>{{bug|MC-224960|resolution=Fixed}}</ref>}} | ||
}} | }} | ||
| Line 55: | Line 55: | ||
== Navigation == | == Navigation == | ||
{{Navbox commands}} | {{MC/Navbox commands}} | ||
de:Befehl/spectate | de:Befehl/spectate | ||
Latest revision as of 20:14, 9 April 2026
Template:Hatnote Script error: No such module "Exclusive". Template:Infobox command
Causes a player in Spectator mode to spectate another entity or stop spectating.
If the spectator is away from the target, the command will result in a camera follow mode, instead of the default first-person view.
Syntax
spectate <target> [<player>]
- Causes a player to spectate another entity.
spectate
- Stops spectating.
Arguments
<target>: entity
- Specifies the target to be spectated.
- {{#vardefine:onlyje|}}{{#vardefine:onlybe| Template:IN,}}{{#vardefine:je-arg|entity}}{{#vardefine:be-arg|}}Template:Error{{#vardefine:onlyje|}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|}}
<player>: entity
- Specifies the spectating player. If unspecified, defaults to the executor.
- {{#vardefine:onlyje|}}{{#vardefine:onlybe| Template:IN,}}{{#vardefine:je-arg|entity}}{{#vardefine:be-arg|}}Template:Error{{#vardefine:onlyje|}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|}}
Result
Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table
Output
{{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-table-lines|-2}}{{#vardefine:output-table-lines-now|}}{{#vardefine:command-num-now|}}{{#vardefine:command-line-now|}}{{#vardefine:commands-num|}}{{#vardefine:output-edition-num-now|}}{{#vardefine:output-edition-line-now|}}{{#vardefine:output-editions-num|}}{{#vardefine:je-outputs-dis|}}
{{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:situation-{{#var:output-table-lines}}|On fail}}{{#vardefine:output1-{{#var:output-table-lines}}|0}}{{#vardefine:output2-{{#var:output-table-lines}}|0}}{{#vardefine:output3-{{#var:output-table-lines}}|0}}{{#vardefine:command-row-{{#var:commands-num}}|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-editions-num|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-edition-{{#var:output-editions-num}}|je}}{{#vardefine:output-edition-row-{{#var:output-editions-num}}|1}} {{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:situation-{{#var:output-table-lines}}|On success}}{{#vardefine:output1-{{#var:output-table-lines}}|1}}{{#vardefine:output2-{{#var:output-table-lines}}|1}}{{#vardefine:output3-{{#var:output-table-lines}}|1}}{{#vardefine:command-row-{{#var:commands-num}}|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-edition-row-{{#var:output-editions-num}}|Expression error: Unrecognized punctuation character "{".}}
{{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-table-lines|-2}}{{#vardefine:output-table-lines-now|}}{{#vardefine:command-num-now|}}{{#vardefine:command-line-now|}}{{#vardefine:commands-num|}}{{#vardefine:output-edition-num-now|}}{{#vardefine:output-edition-line-now|}}{{#vardefine:output-editions-num|}}{{#vardefine:je-outputs-dis|}}
History
References
<references/>
de:Befehl/spectate fr:Commandes ja:コマンド/spectate lzh:令/spectate pt:Comandos/spectate ru:Команды консоли/spectate uk:Команди консолі/spectate zh:命令/spectate