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

From SAS Gaming Wiki
SyncBot (talk | contribs)
Remove broken links to missing pages
SyncBot (talk | contribs)
Fix template calls: add MC/ prefix
 
Line 1: Line 1:
{{exclusive|bedrock|edu}}
{{MC/Exclusive|bedrock|edu}}
{{Infobox command
{{Infobox command
|name=controlscheme
|name=controlscheme
Line 8: Line 8:
Modifies player's control scheme of camera presets.
Modifies player's control scheme of camera presets.


This command needs to be used together with {{cmd|camera}} command.
This command needs to be used together with {{MC/Cmd|camera}} command.


== Syntax ==
== Syntax ==
Line 17: Line 17:


== Arguments ==
== Arguments ==
{{argument|be=1|players: target|CommandSelector<Player>}}
{{MC/Argument|be=1|players: target|CommandSelector<Player>}}
: Specifies the player that the control scheme will be modified.
: Specifies the player that the control scheme will be modified.
: {{arg desc|be=CommandSelector<Player>}}
: {{MC/Arg desc|be=CommandSelector<Player>}}


{{argument|be=1|control scheme: controlscheme|Enum}}
{{MC/Argument|be=1|control scheme: controlscheme|Enum}}
: Specifies the control scheme.
: Specifies the control scheme.
: {{arg desc|be=enum}}
: {{MC/Arg desc|be=enum}}
: Must be one of the following:
: Must be one of the following:
:* {{cd|camera_relative}} — Move relative to the camera, keep the viewing angle horizontal and follow the direction of movement.
:* {{MC/Cd|camera_relative}} — Move relative to the camera, keep the viewing angle horizontal and follow the direction of movement.
:* {{cd|camera_relative_strafe}} — Move relative to the camera, keep the viewing angle horizontal and follow the facing.
:* {{MC/Cd|camera_relative_strafe}} — Move relative to the camera, keep the viewing angle horizontal and follow the facing.
:* {{cd|locked_player_relative_strafe}} — Move relative to the player and follow the facing.
:* {{MC/Cd|locked_player_relative_strafe}} — Move relative to the player and follow the facing.
:* {{cd|player_relative}} — Move relative to the player, keep the viewing angle horizontal and follow the direction of movement.
:* {{MC/Cd|player_relative}} — Move relative to the player, keep the viewing angle horizontal and follow the direction of movement.
:* {{cd|player_relative_strafe}} — Move relative to the player, keep the viewing angle horizontal and follow the facing.
:* {{MC/Cd|player_relative_strafe}} — Move relative to the player, keep the viewing angle horizontal and follow the facing.


== Result ==
== Result ==
{{Result table|onlybe=1}}
{{Result table|onlybe=1}}
{{Result table|The command is incomplete, or any argument is not specified correctly.||unparseable}}
{{Result table|The command is incomplete, or any argument is not specified correctly.||unparseable}}
{{Result table|{{cd|players: target}} fails to resolve to one or more online players.||fail}}
{{Result table|{{MC/Cd|players: target}} fails to resolve to one or more online players.||fail}}
{{Result table|succeed}}
{{Result table|succeed}}
{{Result table}}
{{Result table}}


== Output ==
== Output ==
{{Output table|onlybe=1}}
{{MC/Output table|onlybe=1}}
{{Output table|On fail|0}}
{{MC/Output table|On fail|0}}
{{Output table|On success|The number of targeted players}}
{{MC/Output table|On success|The number of targeted players}}
{{Output table}}
{{MC/Output table}}


== History ==
== History ==
{{HistoryTable
{{HistoryTable
|{{HistoryLine|bedrock}}
|{{MC/HistoryLine|bedrock}}
|{{HistoryLine||1.21.80|exp=Experimental Creator Camera Features|dev=Preview 1.21.80.27|Added {{cmd|controlscheme|link=none}} behind the "Experimental Creator Camera Features" experimental toggle.}}
|{{HistoryLine||1.21.80|exp=Experimental Creator Camera Features|dev=Preview 1.21.80.27|Added {{MC/Cmd|controlscheme|link=none}} behind the "Experimental Creator Camera Features" experimental toggle.}}
|{{HistoryLine||1.21.90|dev=Preview 1.21.90.23|{{cmd|controlscheme|link=none}} is now available without using the "Experimental Creator Camera Features" experimental toggle.}}
|{{HistoryLine||1.21.90|dev=Preview 1.21.90.23|{{MC/Cmd|controlscheme|link=none}} is now available without using the "Experimental Creator Camera Features" experimental toggle.}}
|{{HistoryLine|||dev=Preview 1.21.90.26|Control scheme {{cd|camera_relative_strafe}} is now available without using the "Experimental Creator Camera Features" experimental toggle.}}
|{{HistoryLine|||dev=Preview 1.21.90.26|Control scheme {{MC/Cd|camera_relative_strafe}} is now available without using the "Experimental Creator Camera Features" experimental toggle.}}
}}
}}


Line 57: Line 57:


== Navigation ==
== Navigation ==
{{Navbox commands}}
{{MC/Navbox commands}}


de:Befehl/controlscheme
de:Befehl/controlscheme
pt:Comandos/controlscheme
pt:Comandos/controlscheme
zh:命令/controlscheme
zh:命令/controlscheme

Latest revision as of 20:08, 9 April 2026

Script error: No such module "Exclusive". Template:Infobox command

Modifies player's control scheme of camera presets.

This command needs to be used together with

  1. REDIRECT Template:Command

Template:Redr command.

Syntax

controlscheme <players: target> clear
Clears the control scheme.
controlscheme <players: target> set <control scheme: controlscheme>
Sets the control scheme.

Arguments

players: target: CommandSelector<Player>

Specifies the player that the control scheme will be modified.
{{#vardefine:onlyje|Template:IN,}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|inapplicability}}Template:Error{{#vardefine:onlyje|}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|}}

control scheme: controlscheme: Enum

Specifies the control scheme.
{{#vardefine:onlyje|Template:IN,}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|{{#var:je-arg}}}}Template:Error{{#vardefine:onlyje|}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|}}
Must be one of the following:
  1. REDIRECT Template:Code

Template:Redr — Move relative to the camera, keep the viewing angle horizontal and follow the direction of movement.

  1. REDIRECT Template:Code

Template:Redr — Move relative to the camera, keep the viewing angle horizontal and follow the facing.

  1. REDIRECT Template:Code

Template:Redr — Move relative to the player and follow the facing.

  1. REDIRECT Template:Code

Template:Redr — Move relative to the player, keep the viewing angle horizontal and follow the direction of movement.

  1. REDIRECT Template:Code

Template:Redr — Move relative to the player, keep the viewing angle horizontal and follow the facing.

Result

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}}|N/A}}{{#vardefine:output3-{{#var:output-table-lines}}|N/A}}{{#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:situation-{{#var:output-table-lines}}|On success}}{{#vardefine:output1-{{#var:output-table-lines}}|The number of targeted players}}{{#vardefine:output2-{{#var:output-table-lines}}|N/A}}{{#vardefine:output3-{{#var:output-table-lines}}|N/A}}{{#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

Template:HistoryTable

External links

Navigation

All editions
Removed
Template:El only
Debug
Removed
Template:Els only
Template:El only
Removed
Template:El only
Removed
Template:Els only
Removed
Joke
Related

de:Befehl/controlscheme pt:Comandos/controlscheme zh:命令/controlscheme