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

From SAS Gaming Wiki
SyncBot (talk | contribs)
Fix template calls: add MC/ prefix
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
Line 1: Line 1:
{{MC/For||Command (disambiguation)}}
{{For||Command (disambiguation)}}
{{MC/Redirect|Slash|the attack|Sword}}
{{Redirect|Slash|the attack|Sword}}
{{MC/Redirect|Code|the command|Commands/code}}
{{Redirect|Code|the command|Commands/code}}
[[File:Introduction-to-commands.jpg|thumb|Showcase of using {{MC/Command|time}} to change the time in ''Minecraft'']]
[[File:Introduction-to-commands.jpg|thumb|Showcase of using {{Command|time}} to change the time in ''Minecraft'']]
'''Commands''' (also known as '''console commands''' or '''slash commands''') are an advanced game mechanic that execute specific actions when entered as text or triggered by blocks or certain entities.
'''Commands''' (also known as '''console commands''' or '''slash commands''') are a game mechanic that execute specific actions when entered as text or triggered by blocks or certain [[Minecraft:entities]].


== Usage ==
== Usage ==
[[File:Command Block UI 1.21.5.png|thumb|The interface of a command block in {{MC/JE}}]]
[[File:Command Block UI 1.21.5.png|thumb|The interface of a command block in {{JE}}]]
[[File:Command Block UI BE.png|thumb|The interface of a command block in {{MC/BE}}]]
[[File:Command Block UI BE.png|thumb|The interface of a command block in {{BE}}]]
In the client, commands are entered via the chat window, which is displayed by pressing the {{MC/Key|T}} / {{MC/Key|Return}} / [[File:Chat button.png|25px]]{{only|bedrock|short=1}} / {{MC/Xbutton|onedpad-right}}{{only|bedrock|short=1}} or {{MC/Key|/}} key. Using the {{MC/Key|/}} key also enters the forward-slash that commands require as a prefix, so it is a useful shortcut. The {{MC/Key|Up}} / {{MC/Xbutton|onedpad-up}} and {{MC/Key|Down}} / {{MC/Xbutton|onedpad-down}} keys can be used to view previously entered text, including all previously executed commands.
In the client, commands are entered via the [[Minecraft:chat]] window, which is displayed by pressing the {{key|T}} / {{key|Return}} / [[File:Chat button.png|25px]]{{only|bedrock|short=1}} / {{Xbutton|onedpad-right}}{{only|bedrock|short=1}} or {{key|/}} key. Using the {{key|/}} key also enters the forward-slash that commands require as a prefix, so it is a useful shortcut. The {{key|Up}} / {{Xbutton|onedpad-up}} and {{key|Down}} / {{Xbutton|onedpad-down}} keys can be used to view previously entered text, including all previously executed commands.


When the cursor is at a location corresponding to some types of argument (such as an entity ID), a list of applicable values appears above the text box. If the argument already contains characters, the list displays only those values containing the typed text. Pressing {{MC/Key|Tab}} while entering commands cycles through possible commands or arguments, and can be used to auto-enter them.
When the cursor is at a location corresponding to some types of argument (such as an entity ID), a list of applicable values appears above the text box. If the argument already contains characters, the list displays only those values containing the typed text. Pressing {{key|Tab}} while entering commands cycles through possible commands or arguments, and can be used to auto-enter them.


Commands may also be entered in a multiplayer [[Minecraft:server]]'s console but are ''not'' preceded by a {{MC/Key|/}} when entered this way. A server owner running commands in this way is often referred to as "ghosting".
Commands may also be entered in a multiplayer [[Minecraft:server]]'s console but are ''not'' preceded by a {{key|/}} when entered this way. A server owner running commands in this way is often referred to as "ghosting".


Commands in command blocks ''can'' be preceded by a slash, but it is not required.  
Commands in [[Minecraft:command block]]s ''can'' be preceded by a slash, but it is not required.  


Commands can be executed in the following ways:
Commands can be executed in the following ways:
* Entered by a player in the chat screen.
* Entered by a player in the chat screen.
* Executed by a command block or a minecart with command block.
* Executed by a [[Minecraft:command block]] or a [[Minecraft:minecart with command block]].
* In a dedicated [[Minecraft:server]], entered in the console.
* In a dedicated [[Minecraft:server]], entered in the console.
* In functions, in a data pack or [[Minecraft:behavior pack]].
* In [[Minecraft:function]]s, in a [[Minecraft:data pack]] or [[Minecraft:behavior pack]].
* Clicking a text component that has "run_command" action.{{only|java|short=1}}
* Clicking a [[Minecraft:text component]] that has "run_command" action.{{only|java|short=1}}
* Requested by a WebSocket server connected to a client.{{only|bedrock|short=1}}
* Requested by a WebSocket server connected to a client.{{only|bedrock|short=1}}
* Clicking a dialog's action button.{{only|java|short=1}}
* Clicking a dialog's [[Minecraft:Dialog#Action format|action button]].{{only|java|short=1}}
* By an [[Minecraft:NPC]] dialogue.{{only|bedrock|short=1}}
* By an [[Minecraft:NPC]] dialogue.{{only|bedrock|short=1}}
* In scripts, in a [[Minecraft:behavior pack]].{{only|bedrock|short=1}}
* In scripts, in a [[Minecraft:behavior pack]].{{only|bedrock|short=1}}
Line 30: Line 30:
* In an entity event response, in a [[Minecraft:behavior pack]].{{only|bedrock|short=1}}
* In an entity event response, in a [[Minecraft:behavior pack]].{{only|bedrock|short=1}}
[[File:Command macro toast.png|thumb|The [[Toasts|toast]] that appears when a command macro fails]]
[[File:Command macro toast.png|thumb|The [[Toasts|toast]] that appears when a command macro fails]]
{{MC/In|be}}, commands can be executed through specified hotkeys on keyboard & mouse controls, known as '''command macros'''. The keybinds with commands can be customized below all other keybinds in the settings. For up to 10 macros, a command can be entered in a text input, which can be quickly executed in-game by pressing {{MC/Keys|Alt+''Key''}}. Command macros can be preceded by a slash, but it is not required. This feature is not to be confused with ''Java Edition''<nowiki/>'s function macros, where functions may reference additional parameters and use them in ''macro lines'' (see {{slink|Function (Java Edition)|Macros}}).
{{IN|be}}, commands can be executed through specified [[Minecraft:hotkeys]] on keyboard & mouse controls, known as '''command macros'''. The keybinds with commands can be customized below all other keybinds in the settings. For up to 10 macros, a command can be entered in a text input, which can be quickly executed in-game by pressing {{Keys|Alt+''Key''}}. Command macros can be preceded by a slash, but it is not required. This feature is not to be confused with ''Java Edition''<nowiki/>'s function macros, where functions may reference additional parameters and use them in ''macro lines'' (see {{slink|Function (Java Edition)|Macros}}).


== Commands guide ==
== Commands guide ==
=== Syntax ===
=== Syntax ===
{{MC/In|java}}:  
{{IN|java}}:  
:{| class="wikitable" style="text-align:center" data-description="Entry"
:{| class="wikitable" style="text-align:center" data-description="Entry"
! Entry !! Meaning
! Entry !! Meaning
|-
|-
| {{MC/Code|plain text}} || '''Enter this literally''', exactly as shown.
| {{code|plain text}} || '''Enter this literally''', exactly as shown.
|-
|-
| {{MC/Code|<argumentName>}} || An '''argument''', which should be replaced with an appropriate value. Note: the angle brackets should be replaced too; they only indicate the purpose of the text.
| {{code|<argumentName>}} || An '''argument''', which should be replaced with an appropriate value. Note: the angle brackets should be replaced too; they only indicate the purpose of the text.
|}
|}
:{| class="wikitable" style="text-align:center" data-description="Decorator"
:{| class="wikitable" style="text-align:center" data-description="Decorator"
! Decorator !! Meaning
! Decorator !! Meaning
|-
|-
| {{MC/Code|[entry]}} || This entry is '''optional'''.
| {{code|[entry]}} || This entry is '''optional'''.
|-
|-
| {{MC/Code|<nowiki>(entry|entry)</nowiki>}}<br>{{MC/Code|<nowiki>(entry|entry|entry)</nowiki>}}<br>etc. || Required. '''Pick one''' of these entries.
| {{code|<nowiki>(entry|entry)</nowiki>}}<br>{{code|<nowiki>(entry|entry|entry)</nowiki>}}<br>etc. || Required. '''Pick one''' of these entries.
|-
|-
| {{MC/Code|<nowiki>[entry|entry]</nowiki>}}<br>{{MC/Code|<nowiki>[entry|entry|entry]</nowiki>}}<br>etc. || Optional. '''Pick one''' of these entries.
| {{code|<nowiki>[entry|entry]</nowiki>}}<br>{{code|<nowiki>[entry|entry|entry]</nowiki>}}<br>etc. || Optional. '''Pick one''' of these entries.
|-
|-
| {{MC/Code|ellipsis ...}} || In the game, another full '''command''' is required.<br>In this wiki, some required parts are left out.
| {{code|ellipsis ...}} || In the game, another full '''command''' is required.<br>In this wiki, some required parts are left out.
|}
|}
: For example: {{MC/Code|[<size>]}} is an optional argument. {{MC/Code|[size]}} is an optional plain text.
: For example: {{code|[<size>]}} is an optional argument. {{code|[size]}} is an optional plain text.
: For example: {{code|advancement (grant{{!}}revoke) <targets> only <advancement> [<criterion>]}}, where {{MC/Code|advancement}} and {{MC/Code|only}} are plain texts that should be entered literally; {{code|(grant{{!}}revoke)}} means we should pick one plain text from {{MC/Code|grant}} and {{MC/Code|revoke}}; {{MC/Code|<targets>}} and {{MC/Code|<advancement>}} are required arguments, which should be replaced with appropriate values; {{MC/Code|[<criterion>]}} is an optional argument.
: For example: {{code|advancement (grant{{!}}revoke) <targets> only <advancement> [<criterion>]}}, where {{code|advancement}} and {{code|only}} are plain texts that should be entered literally; {{code|(grant{{!}}revoke)}} means we should pick one plain text from {{code|grant}} and {{code|revoke}}; {{code|<targets>}} and {{code|<advancement>}} are required arguments, which should be replaced with appropriate values; {{code|[<criterion>]}} is an optional argument.


{{MC/In|bedrock}}:  
{{IN|bedrock}}:  
:{| class="wikitable" style="text-align:center" data-description="Entry"
:{| class="wikitable" style="text-align:center" data-description="Entry"
! Entry !! Meaning
! Entry !! Meaning
|-
|-
| {{MC/Code|plain text}} || '''Enter this literally''', exactly as shown.
| {{code|plain text}} || '''Enter this literally''', exactly as shown.
|-
|-
| {{MC/Code|name: type}} || An '''argument''', which should be replaced with an appropriate value.
| {{code|name: type}} || An '''argument''', which should be replaced with an appropriate value.
|-
|-
| {{MC/Code|command: command}} || Another full '''command''' is required.
| {{code|command: command}} || Another full '''command''' is required.
|-
|-
| {{MC/Code|<nowiki>plain text|plain text</nowiki>}}<br>{{MC/Code|<nowiki>plain text|plain text|plain text</nowiki>}}<br>etc. || Enter '''one''' of these texts literally.
| {{code|<nowiki>plain text|plain text</nowiki>}}<br>{{code|<nowiki>plain text|plain text|plain text</nowiki>}}<br>etc. || Enter '''one''' of these texts literally.
|}
|}
:{| class="wikitable" style="text-align:center" data-description="Decorator"
:{| class="wikitable" style="text-align:center" data-description="Decorator"
! Decorator !! Meaning
! Decorator !! Meaning
|-
|-
| {{MC/Code|<entry>}} || This entry is '''required'''.
| {{code|<entry>}} || This entry is '''required'''.
|-
|-
| {{MC/Code|[entry]}} || This entry is '''optional'''.
| {{code|[entry]}} || This entry is '''optional'''.
|-
|-
| {{MC/Code|ellipsis ...}} || In this wiki, some required parts are left out.
| {{code|ellipsis ...}} || In this wiki, some required parts are left out.
|}
|}
: The angle bracket decorator ({{MC/Code|<entry>}}) is usually not used on a {{MC/Code|plain text}}. A required plain text does not need any decorator.
: The angle bracket decorator ({{code|<entry>}}) is usually not used on a {{code|plain text}}. A required plain text does not need any decorator.
: For example, both {{MC/Code|set}} and {{MC/Code|<set>}} represent a required plain text, but the latter one is usually not used. {{MC/Code|<size: int>}} is a required argument.
: For example, both {{code|set}} and {{code|<set>}} represent a required plain text, but the latter one is usually not used. {{code|<size: int>}} is a required argument.


In both {{MC/El|java}} and {{MC/El|bedrock}}, square bracket decorator ({{MC/Code|[entry]}}) mean that an entry is optional. Entries decorated with square brackets can only be at the end of a command. Multiple entries decorated with square brackets are allowed at the end of a command, for example, {{MC/Code|a [b] [c]}} at the end of a command indicates that only {{MC/Code|a}}, {{MC/Code|a b}}, and {{MC/Code|a b c}} are valid.
In both {{el|java}} and {{el|bedrock}}, square bracket decorator ({{code|[entry]}}) mean that an entry is optional. Entries decorated with square brackets can only be at the end of a command. Multiple entries decorated with square brackets are allowed at the end of a command, for example, {{code|a [b] [c]}} at the end of a command indicates that only {{code|a}}, {{code|a b}}, and {{code|a b c}} are valid.


=== Restrictions ===
=== Restrictions ===
Line 87: Line 87:
Some commands have restrictions on who can use the command or in what context.
Some commands have restrictions on who can use the command or in what context.
*''None'': The command has no restriction.
*''None'': The command has no restriction.
* ''Cheats only'': Applicable only to {{MC/El|be}}. When executed '''by the server, or a script''', the command is available no matter whether cheats are enabled. (Commands from the console, a [[Minecraft:Commands/schedule|scheduled function]] or a [[Minecraft:Function (Bedrock Edition)#tick.json|ticking function]] are executed by the server.) When executed '''in other ways''', the command is available only if cheats are enabled. When cheats are disabled, these commands can't be used unless executed by a server or a script, even if the executor has a high [[Minecraft:permission level]].
* ''Cheats only'': Applicable only to {{el|be}}. When executed '''by the server, or a script''', the command is available no matter whether cheats are enabled. (Commands from the console, a [[Minecraft:Commands/schedule|scheduled function]] or a [[Minecraft:Function (Bedrock Edition)#tick.json|ticking function]] are executed by the server.) When executed '''in other ways''', the command is available only if cheats are enabled. When cheats are disabled, these commands can't be used unless executed by a server or a script, even if the executor has a high [[Minecraft:permission level]].
** {{MC/In|java}}, whether cheats are enabled only affects the permission level of a player. If an executor has a high enough permission level, it can use corresponding commands regardless of whether cheats are allowed.
** {{IN|java}}, whether cheats are enabled only affects the permission level of a player. If an executor has a high enough permission level, it can use corresponding commands regardless of whether cheats are allowed.
* ''Dedicated server only'': The command is available only on dedicated servers.
* ''Dedicated server only'': The command is available only on dedicated servers.
* ''No dedicated server'': The command is not available on dedicated servers.
* ''No dedicated server'': The command is not available on dedicated servers.


==== Cheats ====
==== Cheats ====
Cheats can be enabled when creating a new world by Allow Commands{{only|je}} / Cheats{{only|be}} options.
Cheats can be enabled when [[Minecraft:Create New World|creating a new world]] by Allow Commands{{only|je}} / Cheats{{only|be}} options.


{{MC/In|java}}, the "Allow Commands" option when creating a new world only affects the player in a singleplayer world or the owner of a LAN world. The "Allow Commands" option when opening a LAN world affects all players in the LAN world.
{{IN|java}}, the "Allow Commands" option when creating a new world only affects the player in a singleplayer world or the owner of a LAN world. The "Allow Commands" option when opening a LAN world affects all players in the LAN world.


{{MC/In|java}}, in singleplayer worlds where cheats were not enabled at creation, they can be enabled on a temporary basis by opening the current game session to LAN play ( {{MC/Key|Esc}} → "Open to LAN", then "Allow Cheats" button and "Start LAN World"). The player does not actually need to be on a LAN or have others join. This is not permanent but allows the use of commands until the player quits the world, and changes the player makes via commands (items spawned, etc.) are saved with the world. The player can do this each time the player starts playing the world again. Note that this disables game pausing for the duration, so while open to LAN, the player should get somewhere safe or reload their world before using the Game Menu. The player can disable the LAN world by reloading the world. To permanently enable cheats, the level.dat file has to be edited.  
{{IN|java}}, in singleplayer worlds where cheats were not enabled at creation, they can be enabled on a temporary basis by opening the current game session to LAN play ( {{key|Esc}} → "Open to LAN", then "Allow Cheats" button and "Start LAN World"). The player does not actually need to be on a LAN or have others join. This is not permanent but allows the use of commands until the player quits the world, and changes the player makes via commands (items spawned, etc.) are saved with the world. The player can do this each time the player starts playing the world again. Note that this disables game pausing for the duration, so while open to LAN, the player should get somewhere safe or reload their world before using the Game Menu. The player can disable the LAN world by reloading the world. To permanently enable cheats, the [[Minecraft:Java Edition level format#level.dat format|level.dat]] file has to be edited.  


{{MC/In|bedrock}}, cheats can be toggled at any time in the "Cheats" tab of the settings menu. Enabling cheats in a world permanently prevents players from unlocking [[Minecraft:achievement]]s in that world, even if cheats are later turned off. In [[Minecraft:Bedrock Dedicated Server]], {{MC/Cmd|changesetting}} command can be used to toggle cheats.
{{IN|bedrock}}, cheats can be toggled at any time in the "Cheats" tab of the settings menu. Enabling cheats in a world permanently prevents players from unlocking [[Minecraft:achievement]]s in that world, even if cheats are later turned off. In [[Minecraft:Bedrock Dedicated Server]], {{cmd|changesetting}} command can be used to toggle cheats.


=== Argument types ===
=== Argument types ===
{{MC/Main|Argument types}}
{{main|Argument types}}
There are different argument types for arguments in commands. [[Minecraft:Coordinates]], target selector, SNBT, text component, and so on are commonly used formats in arguments.
There are different argument types for arguments in commands. [[Minecraft:Coordinates]], [[Minecraft:target selector]], [[Minecraft:SNBT]], [[Minecraft:text component]], and so on are commonly used formats in arguments.


=== Parsing and execution ===
=== Parsing and execution ===
{{MC/See also|Brigadier}}
{{see also|Brigadier}}


The command performing on the server side is divided into two stages: '''command parsing''' and '''command execution'''. During the command parsing stage, the game identifies the string as a command and checks whether the command is complete and whether arguments are specified correctly. During the command execution stage, the command fulfills its purpose.
The command performing on the server side is divided into two stages: '''command parsing''' and '''command execution'''. During the command parsing stage, the game identifies the string as a command and checks whether the command is complete and whether arguments are specified correctly. During the command execution stage, the command fulfills its purpose.


When typing a command in the chat, or command block, the command is also be parsed '''in the client side''' first to provide autocompletion and help the player detect typing mistakes.
When typing a command in the chat, or [[Minecraft:command block]], the command is also be parsed '''in the client side''' first to provide autocompletion and help the player detect typing mistakes.
: When typing an argument into the chat, it's noticeable if an argument cannot be parsed in the client side. However, being able to be parsed in the client side does '''not''' guarantee that this argument can be parsed in the server side.
: When typing an argument into the chat, it's noticeable if an argument cannot be parsed in the client side. However, being able to be parsed in the client side does '''not''' guarantee that this argument can be parsed in the server side.
::{{MC/In|java}}, if an argument can't be parsed by the client, the argument is marked in red, and a syntax error message is displayed above the chat bar.
::{{IN|java}}, if an argument can't be parsed by the client, the argument is marked in red, and a syntax error message is displayed above the chat bar.
::{{MC/In|bedrock}}, when typing in the chat, if an argument can be parsed in the client side, the next argument in syntax hint turns to white from gray. If all arguments (including optional arguments) are entered and parseable in the client side, the whole syntax hint turns to gray from white.  
::{{IN|bedrock}}, when typing in the chat, if an argument can be parsed in the client side, the next argument in syntax hint turns to white from gray. If all arguments (including optional arguments) are entered and parseable in the client side, the whole syntax hint turns to gray from white.  
:{{MC/In|java}}, typing a command in command block also behaves as above
:{{IN|java}}, typing a command in [[Minecraft:command block]] also behaves as above
:{{MC/In|bedrock}}, when typing a command in command block, autocompletion is provided without syntax hint.
:{{IN|bedrock}}, when typing a command in [[Minecraft:command block]], autocompletion is provided without syntax hint.


{{MC/In|bedrock}}, when entering into a command block, the command is parsed on the server side once the command block screen is closed. If the command is unparseable in the server side, a syntax error message is outputted into its output box.
{{IN|bedrock}}, when entering into a command block, the command is parsed on the server side once the command block screen is closed. If the command is unparseable in the server side, a syntax error message is outputted into its output box.


When attempting to execute an unparseable command, an error message is displayed.
When attempting to execute an unparseable command, an error message is displayed.
:{{MC/In|java}}, the message has a ''<code><--[HERE]</code>'' at its end.
:{{IN|java}}, the message has a ''<code><--[HERE]</code>'' at its end.
:{{MC/In|bedrock}}, the message is <code>Unknown command</code> or <code>Syntax error: unexpected ... at ...</code>.
:{{IN|bedrock}}, the message is <code>Unknown command</code> or <code>Syntax error: unexpected ... at ...</code>.


Commands in functions are all parsed when loading the function. If any command in a function file is unparseable, the function cannot be loaded by the game. {{MC/In|java}}, macro lines are parsed when attempting to run the function, see also {{slink|Function (Java Edition)|Macros}} and {{slink|Function (Java Edition)|Loading and parsing}}.
Commands in [[Minecraft:functions]] are all parsed when loading the function. If any command in a function file is unparseable, the function cannot be loaded by the game. {{IN|java}}, macro lines are parsed when attempting to run the function, see also {{slink|Function (Java Edition)|Macros}} and {{slink|Function (Java Edition)|Loading and parsing}}.


{{MC/In|be}}, if a command in a script is unparseable, an error is thrown when trying to execute the command.
{{IN|be}}, if a command in a script is unparseable, an error is thrown when trying to execute the command.


==== Output ====
==== Output ====
After trying to execute a command, it may yield '''output values''', including '''success count''' and '''stored values'''{{only|je}}.
After trying to execute a command, it may yield '''output values''', including '''success count''' and '''stored values'''{{only|je}}.


Success count is the value a command passes to the command block executing it. A command block can power a redstone comparator facing away from it (may be separated by a block) with signal strength being the success count. The signal strength reflects the success count of the last command executed. Even after the command block is deactivated, the success count is retained until the command is executed again. {{MC/In|be}}, the success count is also returned to the script executing the command. {{MC/In|java}}, commands that cannot be executed in command blocks have no success count. {{MC/In|bedrock}}, commands that cannot be executed in command blocks or scripts still have a success count, but it cannot be obtained. {{MC/In|je}}, success count is always 0 or 1, except the {{MC/Cmd|execute}} command. {{MC/In|be}}, success count is an integer between 0 to 2,147,483,647 (both inclusive) related to the command (e.g., the number of players affected by the command, the number of blocks that were altered, etc.)
Success count is the value a command passes to the command block executing it. A command block can power a [[Minecraft:redstone comparator]] facing away from it (may be separated by a block) with signal strength being the success count. The signal strength reflects the success count of the last command executed. Even after the command block is deactivated, the success count is retained until the command is executed again. {{IN|be}}, the success count is also returned to the script executing the command. {{IN|java}}, commands that cannot be executed in command blocks have no success count. {{IN|bedrock}}, commands that cannot be executed in command blocks or scripts still have a success count, but it cannot be obtained. {{IN|je}}, success count is always 0 or 1, except the {{cmd|execute}} command. {{IN|be}}, success count is an integer between 0 to 2,147,483,647 (both inclusive) related to the command (e.g., the number of players affected by the command, the number of blocks that were altered, etc.)


Stored values{{only|je|short=1}} include {{MC/Cd|success}} value and {{MC/Cd|result}} value, which are the values passed by other commands to the {{MC/Cmd|execute}} command, when a command is executed by a {{MC/Cmd|execute}} command. These two values can be stored to a specified location by the {{MC/Cd|store}} subcommand in the {{MC/Cmd|execute}} command. The {{MC/Cd|success}} value is always 0 or 1. The {{MC/Cd|result}} value is an integer (rounded down if not). All commands may yield these two stored values after execution, with only two exceptions: {{MC/Cmd|execute}} command itself does not yield these two stored values; {{MC/Cmd|function}} command may not yield these two stored values in certain situation.
Stored values{{only|je|short=1}} include {{cd|success}} value and {{cd|result}} value, which are the values passed by other commands to the {{cmd|execute}} command, when a command is executed by a {{cmd|execute}} command. These two values can be stored to a specified location by the {{cd|store}} subcommand in the {{cmd|execute}} command. The {{cd|success}} value is always 0 or 1. The {{cd|result}} value is an integer (rounded down if not). All commands may yield these two stored values after execution, with only two exceptions: {{cmd|execute}} command itself does not yield these two stored values; {{cmd|function}} command may not yield these two stored values in certain situation.


==== Result ====
==== Result ====
Line 141: Line 141:


;Error{{only|java|short=1}}
;Error{{only|java|short=1}}
:If an error occurs with a command, it means that there's a noticeable bug on the command. It may result in unintended side effects, and it jumps out the {{MC/Cmd|execute}} command halfway through, causing some branches to not be executed.
:If an error occurs with a command, it means that there's a noticeable bug on the command. It may result in unintended side effects, and it jumps out the {{cmd|execute}} command halfway through, causing some branches to not be executed.
:Technically, it means that an exception other than <samp><code>brigadier.exceptions.CommandSyntaxException</code></samp> is thrown during execution.
:Technically, it means that an exception other than <samp><code>brigadier.exceptions.CommandSyntaxException</code></samp> is thrown during execution.


;Void{{only|java|short=1}}
;Void{{only|java|short=1}}
:Exclusive to {{MC/Cmd|function}} command. If it is void, the command has no {{MC/Code|result}} or {{MC/Code|success}} value to be stored by {{MC/Cmd|execute store}}.
:Exclusive to {{cmd|function}} command. If it is void, the command has no {{code|result}} or {{code|success}} value to be stored by {{cmd|execute store}}.


;Terminated{{only|java|short=1}}
;Terminated{{only|java|short=1}}
:Exclusive to {{MC/Cmd|execute}} command. When running a {{MC/Cmd|execute}} command, if the number of execution branches becomes 0, the command terminates, ending before the last sub-command is executed.
:Exclusive to {{cmd|execute}} command. When running a {{cmd|execute}} command, if the number of execution branches becomes 0, the command terminates, ending before the last sub-command is executed.
:For example: {{MC/Cmd|execute as @s run ...}} in a command block. The command block is not an entity, so it cannot be selected by a target selector. As a result, the command is terminated at {{MC/Cd|as @s}}.
:For example: {{cmd|execute as @s run ...}} in a command block. The command block is not an entity, so it cannot be selected by a [[Minecraft:target selector]]. As a result, the command is terminated at {{cd|as @s}}.


;Failed and Successful
;Failed and Successful
:If a command is not unparseable, erroring, void, nor terminated, it may be failed or successful.
:If a command is not unparseable, erroring, void, nor terminated, it may be failed or successful.
:If the success count is 0, the command is failed. Otherwise, the command is successful.
:If the success count is 0, the command is failed. Otherwise, the command is successful.
::{{MC/In|java}}, commands that cannot be executed in command blocks have no success count. It is failed when {{MC/Cmd|execute store success ... run ...}} stores 0, and successful when {{MC/Cmd|execute store success ... run ...}} stores 1.
::{{IN|java}}, commands that cannot be executed in command blocks have no success count. It is failed when {{cmd|execute store success ... run ...}} stores 0, and successful when {{cmd|execute store success ... run ...}} stores 1.
::{{MC/In|bedrock}}, if the command cannot be executed in command blocks or scripts, it still has a success count, but it cannot be obtained.
::{{IN|bedrock}}, if the command cannot be executed in command blocks or scripts, it still has a success count, but it cannot be obtained.
:Note that when we say that a command is failed or successful, it must not be unparseable, error, void, or terminated. Though when being unparseable, error, void or terminated, the success count is 0, it is not considered as being failed nor successful.
:Note that when we say that a command is failed or successful, it must not be unparseable, error, void, or terminated. Though when being unparseable, error, void or terminated, the success count is 0, it is not considered as being failed nor successful.
:Note that not all "successful" commands actually do something, and not all "failed" commands fail to do something useful.
:Note that not all "successful" commands actually do something, and not all "failed" commands fail to do something useful.
Line 167: Line 167:
! style="text-align:left;" | Command
! style="text-align:left;" | Command
! style="text-align:left;" class="unsortable" | Description
! style="text-align:left;" class="unsortable" | Description
! style="padding:0.4em;" | {{MC/Tooltip|OP level required|Permission level required to perform the command}}
! style="padding:0.4em;" | {{Tooltip|[[Minecraft:OP level]] required|Permission level required to perform the command}}
! style="padding:0.4em;" | {{MC/Tooltip|Multiplayer only|Commands usable only in multiplayer}}
! style="padding:0.4em;" | {{Tooltip|Multiplayer only|Commands usable only in multiplayer}}
! style="padding:0.2em;" | {{Tooltip|{{MC/EnvSprite|blocks}}|Command modifies or queries blocks}}
! style="padding:0.2em;" | {{Tooltip|{{EnvSprite|blocks}}|Command modifies or queries blocks}}
! style="padding:0.2em;" | {{Tooltip|{{MC/EnvSprite|mobs}}|Command modifies or queries entities (mobs, dropped items, etc.)}}
! style="padding:0.2em;" | {{Tooltip|{{EnvSprite|mobs}}|Command modifies or queries entities (mobs, dropped items, etc.)}}
! style="padding:0.2em;" | {{Tooltip|{{MC/EnvSprite|player}}|Command modifies or queries players}}
! style="padding:0.2em;" | {{Tooltip|{{EnvSprite|player}}|Command modifies or queries players}}
! style="padding:0.2em;" | {{Tooltip|{{MC/EnvSprite|default}}|Command modifies or queries the world}}
! style="padding:0.2em;" | {{Tooltip|{{EnvSprite|default}}|Command modifies or queries the world}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|advancement}}
| style="text-align:left;" |{{cmd|advancement}}
| style="text-align:left;" |Gives, removes, or checks player advancements.
| style="text-align:left;" |Gives, removes, or checks player [[Minecraft:advancement]]s.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|attribute}}
| style="text-align:left;" |{{cmd|attribute}}
| style="text-align:left;" |Queries, adds, removes or sets an entity attribute.
| style="text-align:left;" |Queries, adds, removes or sets an entity attribute.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|ban}}
| style="text-align:left;" |{{cmd|ban}}
| style="text-align:left;" |Adds player to banlist.
| style="text-align:left;" |Adds player to banlist.
| {{MC/Tc|yes|3}} || {{MC/Tc|yes}}
| {{tc|yes|3}} || {{tc|yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|ban-ip}}
| style="text-align:left;" |{{cmd|ban-ip}}
| style="text-align:left;" |Adds IP address to banlist.
| style="text-align:left;" |Adds IP address to banlist.
| {{MC/Tc|yes|3}} || {{MC/Tc|yes}}
| {{tc|yes|3}} || {{tc|yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|banlist}}
| style="text-align:left;" |{{cmd|banlist}}
| style="text-align:left;" |Displays banlist.
| style="text-align:left;" |Displays banlist.
| {{MC/Tc|yes|3}} || {{MC/Tc|yes}}
| {{tc|yes|3}} || {{tc|yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|bossbar}}
| style="text-align:left;" |{{cmd|bossbar}}
| style="text-align:left;" |Creates and modifies bossbars.
| style="text-align:left;" |Creates and modifies bossbars.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|clear}}
| style="text-align:left;" |{{cmd|clear}}
| style="text-align:left;" |Clears items from player inventory.
| style="text-align:left;" |Clears items from player inventory.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|clone}}
| style="text-align:left;" |{{cmd|clone}}
| style="text-align:left;" |Copies blocks from one place to another.
| style="text-align:left;" |Copies blocks from one place to another.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|damage}}
| style="text-align:left;" |{{cmd|damage}}
| style="text-align:left;" |Applies damage to the specified entities.
| style="text-align:left;" |Applies damage to the specified entities.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|data}}
| style="text-align:left;" |{{cmd|data}}
| style="text-align:left;" |Gets, merges, modifies, and removes [[Minecraft:block entity]], entity, and command storage NBT data.
| style="text-align:left;" |Gets, merges, modifies, and removes [[Minecraft:block entity]], [[Minecraft:entity]], and [[Minecraft:Command storage format|command storage]] NBT data.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|datapack}}
| style="text-align:left;" |{{cmd|datapack}}
| style="text-align:left;" |Controls loaded data packs.
| style="text-align:left;" |Controls loaded data packs.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|debug}}
| style="text-align:left;" |{{cmd|debug}}
| style="text-align:left;" |Starts or stops a debugging session.
| style="text-align:left;" |Starts or stops a debugging session.
| {{MC/Tc|yes|3}} || {{MC/Tc|-}}
| {{tc|yes|3}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|defaultgamemode}}
| style="text-align:left;" |{{cmd|defaultgamemode}}
| style="text-align:left;" |Sets the default game mode.
| style="text-align:left;" |Sets the default [[Minecraft:game mode]].
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|deop}}
| style="text-align:left;" |{{cmd|deop}}
| style="text-align:left;" |Revokes operator status from a player.
| style="text-align:left;" |Revokes operator status from a player.
| {{MC/Tc|yes|3}} || {{MC/Tc|yes}}
| {{tc|yes|3}} || {{tc|yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|dialog}}
| style="text-align:left;" |{{cmd|dialog}}
| style="text-align:left;" |Shows dialog to clients.
| style="text-align:left;" |Shows dialog to clients.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|difficulty}}
| style="text-align:left;" |{{cmd|difficulty}}
| style="text-align:left;" |Sets the difficulty level.
| style="text-align:left;" |Sets the difficulty level.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|effect}}
| style="text-align:left;" |{{cmd|effect}}
| style="text-align:left;" |Adds or removes status effects.
| style="text-align:left;" |Adds or removes [[Minecraft:status effect]]s.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|enchant}}
| style="text-align:left;" |{{cmd|enchant}}
| style="text-align:left;" |Adds an enchantment to a player's selected item.
| style="text-align:left;" |Adds an enchantment to a player's selected item.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|execute}}
| style="text-align:left;" |{{cmd|execute}}
| style="text-align:left;" |Executes another command.
| style="text-align:left;" |Executes another command.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|experience}}
| style="text-align:left;" |{{cmd|experience}}
| style="text-align:left;" |An alias of {{MC/Cmd|xp}}. Adds or removes player experience.
| style="text-align:left;" |An alias of {{cmd|xp}}. Adds or removes player [[Minecraft:experience]].
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|fetchprofile}}
| style="text-align:left;" |{{cmd|fetchprofile}}
| style="text-align:left;" |Fetches a player profile.
| style="text-align:left;" |Fetches a player profile.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|fill}}
| style="text-align:left;" |{{cmd|fill}}
| style="text-align:left;" |Fills a region with a specific block.
| style="text-align:left;" |Fills a region with a specific block.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|fillbiome}}
| style="text-align:left;" |{{cmd|fillbiome}}
| style="text-align:left;" |Fills a region with a specific biome.
| style="text-align:left;" |Fills a region with a specific biome.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|forceload}}
| style="text-align:left;" |{{cmd|forceload}}
| style="text-align:left;" |Forces chunks to constantly be loaded or not.
| style="text-align:left;" |Forces [[Minecraft:chunk]]s to constantly be loaded or not.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|function}}
| style="text-align:left;" |{{cmd|function}}
| style="text-align:left;" |Runs a function.
| style="text-align:left;" |Runs a [[Minecraft:function]].
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|gamemode}}
| style="text-align:left;" |{{cmd|gamemode}}
| style="text-align:left;" |Sets a player's game mode.
| style="text-align:left;" |Sets a player's [[Minecraft:game mode]].
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|gamerule}}
| style="text-align:left;" |{{cmd|gamerule}}
| style="text-align:left;" |Sets or queries a game rule value.
| style="text-align:left;" |Sets or queries a [[Minecraft:game rule]] value.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|give}}
| style="text-align:left;" |{{cmd|give}}
| style="text-align:left;" |Gives an item to a player.
| style="text-align:left;" |Gives an item to a player.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|help}}
| style="text-align:left;" |{{cmd|help}}
| style="text-align:left;" |Provides help for commands.
| style="text-align:left;" |Provides help for commands.
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|item}}
| style="text-align:left;" |{{cmd|item}}
| style="text-align:left;" |Manipulates items in inventories.
| style="text-align:left;" |Manipulates items in inventories.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|jfr}}
| style="text-align:left;" |{{cmd|jfr}}
| style="text-align:left;" |Starts or stops a JFR profiling.
| style="text-align:left;" |Starts or stops a JFR profiling.
| {{MC/Tc|yes|4}} || {{MC/Tc|-}}
| {{tc|yes|4}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|kick}}
| style="text-align:left;" |{{cmd|kick}}
| style="text-align:left;" |Kicks a player off a server.
| style="text-align:left;" |Kicks a player off a server.
| {{MC/Tc|yes|3}} || {{MC/Tc|-}}
| {{tc|yes|3}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|kill}}
| style="text-align:left;" |{{cmd|kill}}
| style="text-align:left;" |Kills entities (players, mobs, items, etc.).
| style="text-align:left;" |Kills entities (players, mobs, items, etc.).
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|list}}
| style="text-align:left;" |{{cmd|list}}
| style="text-align:left;" |Lists players on the server.
| style="text-align:left;" |Lists players on the server.
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|locate}}
| style="text-align:left;" |{{cmd|locate}}
| style="text-align:left;" |Locates closest structure, biome, or point of interest.
| style="text-align:left;" |Locates closest structure, biome, or point of interest.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|loot}}
| style="text-align:left;" |{{cmd|loot}}
| style="text-align:left;" |Drops items from an inventory slot onto the ground.
| style="text-align:left;" |Drops items from an inventory slot onto the ground.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|me}}
| style="text-align:left;" |{{cmd|me}}
| style="text-align:left;" |Displays a message about the sender.  
| style="text-align:left;" |Displays a message about the sender.  
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|msg}}
| style="text-align:left;" |{{cmd|msg}}
| style="text-align:left;" |An alias of {{MC/Cmd|tell}} and {{MC/Cmd|w}}. Displays a private message to other players.  
| style="text-align:left;" |An alias of {{cmd|tell}} and {{cmd|w}}. Displays a private message to other players.  
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|op}}
| style="text-align:left;" |{{cmd|op}}
| style="text-align:left;" |Grants operator status to a player.  
| style="text-align:left;" |Grants operator status to a player.  
| {{MC/Tc|yes|3}} || {{MC/Tc|yes}}
| {{tc|yes|3}} || {{tc|yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|pardon}}
| style="text-align:left;" |{{cmd|pardon}}
| style="text-align:left;" |Removes player from the banlist.
| style="text-align:left;" |Removes player from the banlist.
| {{MC/Tc|yes|3}} || {{MC/Tc|yes}}
| {{tc|yes|3}} || {{tc|yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|pardon-ip}}
| style="text-align:left;" |{{cmd|pardon-ip}}
| style="text-align:left;" |Removes IP address from the banlist.
| style="text-align:left;" |Removes IP address from the banlist.
| {{MC/Tc|yes|3}} || {{MC/Tc|yes}}
| {{tc|yes|3}} || {{tc|yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|particle}}
| style="text-align:left;" |{{cmd|particle}}
| style="text-align:left;" |Creates particles.  
| style="text-align:left;" |Creates particles.  
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|perf}}
| style="text-align:left;" |{{cmd|perf}}
| style="text-align:left;" |Captures info and metrics about the game for 10 seconds.
| style="text-align:left;" |Captures info and metrics about the game for 10 seconds.
| {{MC/Tc|yes|4}} || {{MC/Tc|yes}}
| {{tc|yes|4}} || {{tc|yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|place}}
| style="text-align:left;" |{{cmd|place}}
| style="text-align:left;" |Used to place a configured feature, jigsaw, template, or structure at a given location.
| style="text-align:left;" |Used to place a configured feature, jigsaw, template, or structure at a given location.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|playsound}}
| style="text-align:left;" |{{cmd|playsound}}
| style="text-align:left;" |Plays a sound.  
| style="text-align:left;" |Plays a sound.  
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|publish}}
| style="text-align:left;" |{{cmd|publish}}
| style="text-align:left;" |Opens single-player world to local network.
| style="text-align:left;" |Opens single-player world to local network.
| {{MC/Tc|yes|4}} || {{tc|neutral|{{MC/Tooltip|SP only|Command usable only in singleplayer}}}}
| {{tc|yes|4}} || {{tc|neutral|{{Tooltip|SP only|Command usable only in singleplayer}}}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|random}}
| style="text-align:left;" |{{cmd|random}}
| style="text-align:left;" |Draw a random value or control the random number sequence.
| style="text-align:left;" |Draw a random value or control the random number sequence.
| {{tc|yes|0 (without {{MC/Code|sequence}})<br>2}} || {{MC/Tc|-}}
| {{tc|yes|0 (without {{code|sequence}})<br>2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|recipe}}  
| style="text-align:left;" |{{cmd|recipe}}  
| style="text-align:left;" |Gives or takes player recipes.
| style="text-align:left;" |Gives or takes player recipes.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|reload}}
| style="text-align:left;" |{{cmd|reload}}
| style="text-align:left;" |Reloads loot tables, advancements, and functions from disk.  
| style="text-align:left;" |Reloads loot tables, advancements, and functions from disk.  
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|return}}
| style="text-align:left;" |{{cmd|return}}
| style="text-align:left;" |Control execution flow inside functions and change their return value.
| style="text-align:left;" |Control execution flow inside functions and change their return value.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|ride}}
| style="text-align:left;" |{{cmd|ride}}
| style="text-align:left;" |Used to make entities ride other entities, or stop entities from riding.
| style="text-align:left;" |Used to make entities ride other entities, or stop entities from riding.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|rotate}}
| style="text-align:left;" |{{cmd|rotate}}
| style="text-align:left;" |Changes the rotation of an entity.
| style="text-align:left;" |Changes the rotation of an entity.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|save-all}}
| style="text-align:left;" |{{cmd|save-all}}
| style="text-align:left;" |Saves the server to disk.
| style="text-align:left;" |Saves the server to disk.
| {{MC/Tc|yes|4}} || {{MC/Tc|yes}}
| {{tc|yes|4}} || {{tc|yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|save-off}}
| style="text-align:left;" |{{cmd|save-off}}
| style="text-align:left;" |Disables automatic server saves.
| style="text-align:left;" |Disables automatic server saves.
| {{MC/Tc|yes|4}} || {{MC/Tc|yes}}
| {{tc|yes|4}} || {{tc|yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|save-on}}
| style="text-align:left;" |{{cmd|save-on}}
| style="text-align:left;" |Enables automatic server saves.
| style="text-align:left;" |Enables automatic server saves.
| {{MC/Tc|yes|4}} || {{MC/Tc|yes}}
| {{tc|yes|4}} || {{tc|yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|say}}
| style="text-align:left;" |{{cmd|say}}
| style="text-align:left;" |Displays a message to multiple players.  
| style="text-align:left;" |Displays a message to multiple players.  
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|schedule}}
| style="text-align:left;" |{{cmd|schedule}}
| style="text-align:left;" |Delays the execution of a function.
| style="text-align:left;" |Delays the execution of a function.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|scoreboard}}
| style="text-align:left;" |{{cmd|scoreboard}}
| style="text-align:left;" |Manages scoreboard objectives and players.
| style="text-align:left;" |Manages scoreboard objectives and players.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|seed}}
| style="text-align:left;" |{{cmd|seed}}
| style="text-align:left;" |Displays the [[Minecraft:world seed]].
| style="text-align:left;" |Displays the [[Minecraft:world seed]].
| {{MC/Tc|yes|0 in singleplayer<br>2 in multiplayer}} || {{MC/Tc|-}}
| {{tc|yes|0 in singleplayer<br>2 in multiplayer}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|setblock}}
| style="text-align:left;" |{{cmd|setblock}}
| style="text-align:left;" |Changes a block to another block.  
| style="text-align:left;" |Changes a block to another block.  
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|setidletimeout}}
| style="text-align:left;" |{{cmd|setidletimeout}}
| style="text-align:left;" |Sets the time before idle players are kicked.
| style="text-align:left;" |Sets the time before idle players are kicked.
| {{MC/Tc|yes|3}} || {{MC/Tc|yes}}
| {{tc|yes|3}} || {{tc|yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|setworldspawn}}
| style="text-align:left;" |{{cmd|setworldspawn}}
| style="text-align:left;" |Sets the [[Minecraft:world spawn]].
| style="text-align:left;" |Sets the [[Minecraft:world spawn]].
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|spawnpoint}}  
| style="text-align:left;" |{{cmd|spawnpoint}}  
| style="text-align:left;" |Sets the spawn point for a player.  
| style="text-align:left;" |Sets the spawn point for a player.  
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|spectate}}
| style="text-align:left;" |{{cmd|spectate}}
| style="text-align:left;" |Make one player in spectator mode spectate an entity.
| style="text-align:left;" |Make one player in spectator mode spectate an entity.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|spreadplayers}}
| style="text-align:left;" |{{cmd|spreadplayers}}
| style="text-align:left;" |Teleports entities to random locations.  
| style="text-align:left;" |Teleports entities to random locations.  
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|stop}}
| style="text-align:left;" |{{cmd|stop}}
| style="text-align:left;" |Stops a server.
| style="text-align:left;" |Stops a server.
| {{MC/Tc|yes|4}} || {{MC/Tc|yes}}
| {{tc|yes|4}} || {{tc|yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|stopsound}}
| style="text-align:left;" |{{cmd|stopsound}}
| style="text-align:left;" |Stops a sound.  
| style="text-align:left;" |Stops a sound.  
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|summon}}
| style="text-align:left;" |{{cmd|summon}}
| style="text-align:left;" |Summons an entity.  
| style="text-align:left;" |Summons an entity.  
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|swing}}  
| style="text-align:left;" |{{cmd|swing}}  
| style="text-align:left;" |Swings the hands of an entity.
| style="text-align:left;" |Swings the hands of an entity.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|tag}}
| style="text-align:left;" |{{cmd|tag}}
| style="text-align:left;" |Controls entity tags.  
| style="text-align:left;" |Controls entity tags.  
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|team}}
| style="text-align:left;" |{{cmd|team}}
| style="text-align:left;" |Controls teams.
| style="text-align:left;" |Controls teams.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|teammsg}}
| style="text-align:left;" |{{cmd|teammsg}}
| style="text-align:left;" |An alias of {{MC/Cmd|tm}}. Specifies the message to send to team.
| style="text-align:left;" |An alias of {{cmd|tm}}. Specifies the message to send to team.
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|teleport}}
| style="text-align:left;" |{{cmd|teleport}}
| style="text-align:left;" |An alias of {{MC/Cmd|tp|link=Commands/teleport}}. Teleports entities.  
| style="text-align:left;" |An alias of {{cmd|tp|link=Commands/teleport}}. Teleports entities.  
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|tell}}
| style="text-align:left;" |{{cmd|tell}}
| style="text-align:left;" |An alias of {{MC/Cmd|msg}} and {{MC/Cmd|w}}. Displays a private message to other players.  
| style="text-align:left;" |An alias of {{cmd|msg}} and {{cmd|w}}. Displays a private message to other players.  
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|tellraw}}
| style="text-align:left;" |{{cmd|tellraw}}
| style="text-align:left;" |Displays a JSON message to players.  
| style="text-align:left;" |Displays a JSON message to players.  
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|test}}
| style="text-align:left;" |{{cmd|test}}
| style="text-align:left;" |Manage and execute GameTests.
| style="text-align:left;" |Manage and execute [[Minecraft:GameTests]].
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|tick}}
| style="text-align:left;" |{{cmd|tick}}
| style="text-align:left;" |Controls the tick rate of the game.
| style="text-align:left;" |Controls the tick rate of the game.
| {{MC/Tc|yes|3}} || {{MC/Tc|-}}
| {{tc|yes|3}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|time}}
| style="text-align:left;" |{{cmd|time}}
| style="text-align:left;" |Changes or queries the world's game time.  
| style="text-align:left;" |Changes or queries the world's game time.  
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|title}}  
| style="text-align:left;" |{{cmd|title}}  
| style="text-align:left;" |Manages screen titles.  
| style="text-align:left;" |Manages screen titles.  
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|tm}}
| style="text-align:left;" |{{cmd|tm}}
| style="text-align:left;" |An alias of {{MC/Cmd|teammsg}}. Specifies the message to send to team.
| style="text-align:left;" |An alias of {{cmd|teammsg}}. Specifies the message to send to team.
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|tp}}
| style="text-align:left;" |{{cmd|tp}}
| style="text-align:left;" |An alias of {{MC/Cmd|teleport}}. Teleports entities.
| style="text-align:left;" |An alias of {{cmd|teleport}}. Teleports entities.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|transfer}}
| style="text-align:left;" |{{cmd|transfer}}
| style="text-align:left;" |Triggers a transfer of a player to another server.
| style="text-align:left;" |Triggers a transfer of a player to another server.
| {{MC/Tc|yes|3}} || {{MC/Tc|Yes}}
| {{tc|yes|3}} || {{tc|Yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|trigger}}  
| style="text-align:left;" |{{cmd|trigger}}  
| style="text-align:left;" |Sets a trigger to be activated.
| style="text-align:left;" |Sets a trigger to be activated.
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|version}}
| style="text-align:left;" |{{cmd|version}}
| style="text-align:left;" |Presents the server's game version.
| style="text-align:left;" |Presents the server's game version.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|w}}
| style="text-align:left;" |{{cmd|w}}
| style="text-align:left;" |An alias of {{MC/Cmd|tell}} and {{MC/Cmd|msg}}. Displays a private message to other players.  
| style="text-align:left;" |An alias of {{cmd|tell}} and {{cmd|msg}}. Displays a private message to other players.  
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|waypoint}}
| style="text-align:left;" |{{cmd|waypoint}}
| style="text-align:left;" |Manages waypoints displayed on the locator bar.
| style="text-align:left;" |Manages waypoints displayed on the [[Minecraft:locator bar]].
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|weather}}
| style="text-align:left;" |{{cmd|weather}}
| style="text-align:left;" |Sets the weather.  
| style="text-align:left;" |Sets the weather.  
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|whitelist}}  
| style="text-align:left;" |{{cmd|whitelist}}  
| style="text-align:left;" |Manages server whitelist.
| style="text-align:left;" |Manages server whitelist.
| {{MC/Tc|yes|3}} || {{MC/Tc|yes}}
| {{tc|yes|3}} || {{tc|yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|worldborder}}
| style="text-align:left;" |{{cmd|worldborder}}
| style="text-align:left;" |Manages the world border.
| style="text-align:left;" |Manages the [[Minecraft:world border]].
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|xp}}
| style="text-align:left;" |{{cmd|xp}}
| style="text-align:left;" |An alias of {{MC/Cmd|experience}}. Adds or removes player experience.  
| style="text-align:left;" |An alias of {{cmd|experience}}. Adds or removes player [[Minecraft:experience]].  
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|}
|}


==== Debugging commands ====
==== Debugging commands ====
{{MC/Debug warning|plural=1|section=1}}
{{debug warning|plural=1|section=1}}


Debugging commands are not accessible by default, but can be enabled using debug properties.
Debugging commands are not accessible by default, but can be enabled using [[Minecraft:debug properties]].


{| class="wikitable sortable mw-collapsible" style="text-align:center;"
{| class="wikitable sortable mw-collapsible" style="text-align:center;"
! style="text-align:left;" | Command
! style="text-align:left;" | Command
! style="text-align:left;" class="unsortable" | Description
! style="text-align:left;" class="unsortable" | Description
! {{MC/Tooltip|OP level required|Permission level required to perform the command}}
! {{Tooltip|[[Minecraft:OP level]] required|Permission level required to perform the command}}
! {{MC/Tooltip|Multiplayer only|Commands usable only in multiplayer}}
! {{Tooltip|Multiplayer only|Commands usable only in multiplayer}}
! {{Tooltip|{{MC/EnvSprite|blocks}}|Command modifies or queries blocks}}
! {{Tooltip|{{EnvSprite|blocks}}|Command modifies or queries blocks}}
! {{Tooltip|{{MC/EnvSprite|mobs}}|Command modifies or queries entities (mobs, dropped items, etc.)}}
! {{Tooltip|{{EnvSprite|mobs}}|Command modifies or queries entities (mobs, dropped items, etc.)}}
! {{Tooltip|{{MC/EnvSprite|player}}|Command modifies or queries players}}
! {{Tooltip|{{EnvSprite|player}}|Command modifies or queries players}}
! {{Tooltip|{{MC/EnvSprite|default}}|Command modifies or queries the world}}
! {{Tooltip|{{EnvSprite|default}}|Command modifies or queries the world}}
! style="text-align:left;" class="unsortable" | Required debug property
! style="text-align:left;" class="unsortable" | Required debug property
|-
|-
| style="text-align:left;" |{{MC/Cmd|warden_spawn_tracker}}
| style="text-align:left;" |{{cmd|warden_spawn_tracker}}
| style="text-align:left;" |Shows how many warnings a sculk shrieker has before spawning a [[Minecraft:warden]].
| style="text-align:left;" |Shows how many warnings a [[Minecraft:sculk shrieker]] has before spawning a [[Minecraft:warden]].
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
| rowspan="7" style="text-align:left;" | {{MC/Nbt|bool}} <code>DEV_COMMANDS</code>
| rowspan="7" style="text-align:left;" | {{nbt|bool}} <code>DEV_COMMANDS</code>
|-
|-
| style="text-align:left;" | {{MC/Cmd|debugpath}}
| style="text-align:left;" | {{cmd|debugpath}}
| style="text-align:left;" | Shows the calculated path for entities.
| style="text-align:left;" | Shows the calculated path for entities.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" | {{MC/Cmd|debugmobspawning}}
| style="text-align:left;" | {{cmd|debugmobspawning}}
| style="text-align:left;" | Displays mob spawning information.
| style="text-align:left;" | Displays mob spawning information.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" | {{MC/Cmd|raid}}
| style="text-align:left;" | {{cmd|raid}}
| style="text-align:left;" | Starts a raid
| style="text-align:left;" | Starts a [[Minecraft:raid]]
| {{MC/Tc|yes|3}} || {{MC/Tc|-}}
| {{tc|yes|3}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" | {{MC/Cmd|serverpack}}
| style="text-align:left;" | {{cmd|serverpack}}
| style="text-align:left;" | Configures a server resource pack.
| style="text-align:left;" | Configures a server resource pack.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" | {{MC/Cmd|spawn_armor_trims}}
| style="text-align:left;" | {{cmd|spawn_armor_trims}}
| style="text-align:left;" | Spawns all possible combinations of designs, materials, and armor types of armor trims.
| style="text-align:left;" | Spawns all possible combinations of designs, materials, and armor types of armor trims.
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" | {{MC/Cmd|debugconfig}}
| style="text-align:left;" | {{cmd|debugconfig}}
| style="text-align:left;" | Configuration options for debugging.
| style="text-align:left;" | Configuration options for debugging.
| {{MC/Tc|yes|3}} || {{MC/Tc|yes}}
| {{tc|yes|3}} || {{tc|yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" | {{MC/Cmd|chase}}
| style="text-align:left;" | {{cmd|chase}}
| style="text-align:left;" | Sync the movement of two or more clients.
| style="text-align:left;" | Sync the movement of two or more clients.
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
| style="text-align:left;" | {{MC/Nbt|bool}} <code>CHASE_COMMAND</code>
| style="text-align:left;" | {{nbt|bool}} <code>CHASE_COMMAND</code>
|}
|}


Line 689: Line 689:
! style="text-align:left;" | Command
! style="text-align:left;" | Command
! style="text-align:left;" class="unsortable" | Description
! style="text-align:left;" class="unsortable" | Description
! {{MC/Tooltip|''BE''|Available in Bedrock Edition}}
! {{Tooltip|''BE''|Available in Bedrock Edition}}
! {{MC/Tooltip|''edu''|Available in Minecraft Education}}
! {{Tooltip|''edu''|Available in Minecraft Education}}
! {{MC/Tooltip|OP level required|Command permission level required to perform the command}}
! {{Tooltip|[[Minecraft:OP level]] required|Command permission level required to perform the command}}
! {{MC/Tooltip|Server only|Commands usable only in servers}}
! {{Tooltip|Server only|Commands usable only in servers}}
! {{Tooltip|{{MC/EnvSprite|blocks}}|Command modifies or queries blocks}}
! {{Tooltip|{{EnvSprite|blocks}}|Command modifies or queries blocks}}
! {{Tooltip|{{MC/EnvSprite|mobs}}|Command modifies or queries entities (mobs, dropped items, etc.)}}
! {{Tooltip|{{EnvSprite|mobs}}|Command modifies or queries entities (mobs, dropped items, etc.)}}
! {{Tooltip|{{MC/EnvSprite|player}}|Command modifies or queries players}}
! {{Tooltip|{{EnvSprite|player}}|Command modifies or queries players}}
! {{Tooltip|{{MC/EnvSprite|default}}|Command modifies or queries the world}}
! {{Tooltip|{{EnvSprite|default}}|Command modifies or queries the world}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|?}}
| style="text-align:left;" |{{cmd|?}}
| style="text-align:left;" |An alias of {{MC/Cmd|help}}. Provides help for commands.
| style="text-align:left;" |An alias of {{cmd|help}}. Provides help for commands.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|ability}}
| style="text-align:left;" |{{cmd|ability}}
| style="text-align:left;" |Grants or revokes a player ability.  
| style="text-align:left;" |Grants or revokes a player ability.  
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|allowlist}}  
| style="text-align:left;" |{{cmd|allowlist}}  
| style="text-align:left;" |An alias of {{MC/Cmd|whitelist}}. Manages server allowlist.
| style="text-align:left;" |An alias of {{cmd|whitelist}}. Manages server allowlist.
| {{MC/Tc|yes}} || {{MC/Tc|-}}
| {{tc|yes}} || {{tc|-}}
| {{MC/Tc|yes|4}} || {{MC/Tc|yes}}
| {{tc|yes|4}} || {{tc|yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|aimassist}}
| style="text-align:left;" |{{cmd|aimassist}}
| style="text-align:left;" |Modifies player's aim assist.
| style="text-align:left;" |Modifies player's aim assist.
| {{MC/Tc|yes}} || {{MC/Tc|-}}
| {{tc|yes}} || {{tc|-}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|alwaysday}}
| style="text-align:left;" |{{cmd|alwaysday}}
| style="text-align:left;" |An alias of {{MC/Cmd|daylock}}. Locks and unlocks the day-night cycle.
| style="text-align:left;" |An alias of {{cmd|daylock}}. Locks and unlocks the day-night cycle.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|camera}}
| style="text-align:left;" |{{cmd|camera}}
| style="text-align:left;" |Switch to custom camera perspectives and fade the screen.
| style="text-align:left;" |Switch to custom camera perspectives and fade the screen.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|camerashake}}
| style="text-align:left;" |{{cmd|camerashake}}
| style="text-align:left;" |Used to enable a camera shaking effect.
| style="text-align:left;" |Used to enable a camera shaking effect.
| {{MC/Tc|yes}} || {{MC/Tc|Yes}}
| {{tc|yes}} || {{tc|Yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|changesetting}}
| style="text-align:left;" |{{cmd|changesetting}}
| style="text-align:left;" |Changes a setting on the dedicated server while it's running.
| style="text-align:left;" |Changes a setting on the dedicated server while it's running.
| {{MC/Tc|yes}} || {{MC/Tc|-}}
| {{tc|yes}} || {{tc|-}}
| {{MC/Tc|yes|4}} || {{MC/Tc|yes}}
| {{tc|yes|4}} || {{tc|yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|clear}}
| style="text-align:left;" |{{cmd|clear}}
| style="text-align:left;" |Clears items from player inventory.
| style="text-align:left;" |Clears items from player inventory.
| {{MC/Tc|yes|yes}} || {{MC/Tc|yes}}
| {{tc|yes|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|clearspawnpoint}}
| style="text-align:left;" |{{cmd|clearspawnpoint}}
| style="text-align:left;" |Removes the spawn point for a player.
| style="text-align:left;" |Removes the spawn point for a player.
| {{MC/Tc|yes}} || {{MC/Tc|Yes}}
| {{tc|yes}} || {{tc|Yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|clone}}
| style="text-align:left;" |{{cmd|clone}}
| style="text-align:left;" |Copies blocks from one place to another.
| style="text-align:left;" |Copies blocks from one place to another.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|connect}}
| style="text-align:left;" |{{cmd|connect}}
| style="text-align:left;" |An alias of {{MC/Cmd|wsserver}}. Attempts to connect to the websocket server.
| style="text-align:left;" |An alias of {{cmd|wsserver}}. Attempts to connect to the websocket server.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{tc|yes|0{{only|education|short=1}}<br>2{{only|bedrock|short=1}}}} || {{MC/Tc|-}}
| {{tc|yes|0{{only|education|short=1}}<br>2{{only|bedrock|short=1}}}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|controlscheme}}
| style="text-align:left;" |{{cmd|controlscheme}}
| style="text-align:left;" |Switching control schemes when the Experimental Creator Camera toggle is enabled.
| style="text-align:left;" |Switching control schemes when the Experimental Creator Camera toggle is enabled.
| {{MC/Tc|yes}} || {{MC/Tc|-}}
| {{tc|yes}} || {{tc|-}}
| {{MC/Tc|yes|?}} || {{MC/Tc|-}}
| {{tc|yes|?}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|damage}}
| style="text-align:left;" |{{cmd|damage}}
| style="text-align:left;" |Applies damage to the specified entities.
| style="text-align:left;" |Applies damage to the specified entities.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|daylock}}
| style="text-align:left;" |{{cmd|daylock}}
| style="text-align:left;" |An alias of {{MC/Cmd|alwaysday}}. Locks and unlocks the day-night cycle.
| style="text-align:left;" |An alias of {{cmd|alwaysday}}. Locks and unlocks the day-night cycle.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|dedicatedwsserver}}
| style="text-align:left;" |{{cmd|dedicatedwsserver}}
| style="text-align:left;" |Attempts to connect to a websocket server.
| style="text-align:left;" |Attempts to connect to a websocket server.
| {{MC/Tc|yes}} || {{MC/Tc|-}}
| {{tc|yes}} || {{tc|-}}
| {{MC/Tc|no|0}} || {{MC/Tc|yes}}
| {{tc|no|0}} || {{tc|yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|deop}}
| style="text-align:left;" |{{cmd|deop}}
| style="text-align:left;" |Revokes operator status from a player.
| style="text-align:left;" |Revokes operator status from a player.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|dialogue}}
| style="text-align:left;" |{{cmd|dialogue}}
| style="text-align:left;" |Opens NPC dialogue for a player.
| style="text-align:left;" |Opens NPC dialogue for a player.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|difficulty}}
| style="text-align:left;" |{{cmd|difficulty}}
| style="text-align:left;" |Sets the difficulty level.
| style="text-align:left;" |Sets the difficulty level.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|effect}}
| style="text-align:left;" |{{cmd|effect}}
| style="text-align:left;" |Adds or removes status effects.
| style="text-align:left;" |Adds or removes [[Minecraft:status effect]]s.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|enchant}}
| style="text-align:left;" |{{cmd|enchant}}
| style="text-align:left;" |Adds an enchantment to a player's selected item.
| style="text-align:left;" |Adds an enchantment to a player's selected item.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|event}}
| style="text-align:left;" |{{cmd|event}}
| style="text-align:left;" |Used to trigger an event on an entity.
| style="text-align:left;" |Used to trigger an event on an entity.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|execute}}
| style="text-align:left;" |{{cmd|execute}}
| style="text-align:left;" |Executes another command.
| style="text-align:left;" |Executes another command.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|fill}}
| style="text-align:left;" |{{cmd|fill}}
| style="text-align:left;" |Fills a region with a specific block.
| style="text-align:left;" |Fills a region with a specific block.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|fog}}
| style="text-align:left;" |{{cmd|fog}}
| style="text-align:left;" |Used for managing active fog settings for players.
| style="text-align:left;" |Used for managing active fog settings for players.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|function}}
| style="text-align:left;" |{{cmd|function}}
| style="text-align:left;" |Runs a function.
| style="text-align:left;" |Runs a [[Minecraft:function]].
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|gamemode}}
| style="text-align:left;" |{{cmd|gamemode}}
| style="text-align:left;" |Sets a player's game mode.
| style="text-align:left;" |Sets a player's [[Minecraft:game mode]].
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|gamerule}}
| style="text-align:left;" |{{cmd|gamerule}}
| style="text-align:left;" |Sets or queries a game rule value.
| style="text-align:left;" |Sets or queries a [[Minecraft:game rule]] value.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|gametest}}
| style="text-align:left;" |{{cmd|gametest}}
| style="text-align:left;" |To test the GameTest features.
| style="text-align:left;" |To test the GameTest features.
| {{MC/Tc|yes}} || {{MC/Tc|-}}
| {{tc|yes}} || {{tc|-}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|gametips}}
| style="text-align:left;" |{{cmd|gametips}}
| style="text-align:left;" |Enable or disable the game tips on this device.
| style="text-align:left;" |Enable or disable the [[Minecraft:game tips]] on this device.
| {{MC/Tc|yes}} || {{MC/Tc|-}}
| {{tc|yes}} || {{tc|-}}
| {{MC/Tc|yes|0}} || {{MC/Tc|-}}
| {{tc|yes|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|give}}
| style="text-align:left;" |{{cmd|give}}
| style="text-align:left;" |Gives an item to a player.
| style="text-align:left;" |Gives an item to a player.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|help}}
| style="text-align:left;" |{{cmd|help}}
| style="text-align:left;" |An alias of {{MC/Cmd|?}}. Provides help for commands.
| style="text-align:left;" |An alias of {{cmd|?}}. Provides help for commands.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|hud}}
| style="text-align:left;" |{{cmd|hud}}
| style="text-align:left;" |Changes the visibility of a HUD element.
| style="text-align:left;" |Changes the visibility of a [[Minecraft:HUD|HUD element]].
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|immutableworld}}
| style="text-align:left;" |{{cmd|immutableworld}}
| style="text-align:left;" |Allows setting immutable state of a world.
| style="text-align:left;" |Allows setting immutable state of a world.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" | {{MC/Cmd|inputpermission}}
| style="text-align:left;" | {{cmd|inputpermission}}
| style="text-align:left;" | Specify the operation for the player's permission status.
| style="text-align:left;" | Specify the operation for the player's [[Minecraft:permission]] status.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|kick}}
| style="text-align:left;" |{{cmd|kick}}
| style="text-align:left;" |Kicks a player off a server.
| style="text-align:left;" |Kicks a player off a server.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|kill}}
| style="text-align:left;" |{{cmd|kill}}
| style="text-align:left;" |Kills entities (players, mobs, items, etc.).
| style="text-align:left;" |Kills entities (players, mobs, items, etc.).
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|list}}
| style="text-align:left;" |{{cmd|list}}
| style="text-align:left;" |Lists players on the server.
| style="text-align:left;" |Lists players on the server.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|locate}}
| style="text-align:left;" |{{cmd|locate}}
| style="text-align:left;" |Locates closest structure or biome.
| style="text-align:left;" |Locates closest structure or biome.
| {{MC/Tc|Yes}} || {{MC/Tc|yes}}
| {{tc|Yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|loot}}
| style="text-align:left;" |{{cmd|loot}}
| style="text-align:left;" |Drops items from an inventory slot onto the ground.
| style="text-align:left;" |Drops items from an inventory slot onto the ground.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|me}}
| style="text-align:left;" |{{cmd|me}}
| style="text-align:left;" |Displays a message about the sender.  
| style="text-align:left;" |Displays a message about the sender.  
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|mobevent}}
| style="text-align:left;" |{{cmd|mobevent}}
| style="text-align:left;" |Enables/disables a specified mob event.
| style="text-align:left;" |Enables/disables a specified mob event.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|msg}}
| style="text-align:left;" |{{cmd|msg}}
| style="text-align:left;" |An alias of {{MC/Cmd|tell}} and {{MC/Cmd|w}}. Displays a private message to other players.  
| style="text-align:left;" |An alias of {{cmd|tell}} and {{cmd|w}}. Displays a private message to other players.  
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|music}}
| style="text-align:left;" |{{cmd|music}}
| style="text-align:left;" |Allows the player to control playing music tracks.
| style="text-align:left;" |Allows the player to control playing music tracks.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|op}}
| style="text-align:left;" |{{cmd|op}}
| style="text-align:left;" |Grants operator status to a player.  
| style="text-align:left;" |Grants operator status to a player.  
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|ops}}
| style="text-align:left;" |{{cmd|ops}}
| style="text-align:left;" |An alias of {{MC/Cmd|permission}}. Reloads and applies permissions.
| style="text-align:left;" |An alias of {{cmd|permission}}. Reloads and applies permissions.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|4}} || {{MC/Tc|yes}}
| {{tc|yes|4}} || {{tc|yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|particle}}
| style="text-align:left;" |{{cmd|particle}}
| style="text-align:left;" |Creates particles.  
| style="text-align:left;" |Creates particles.  
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|permission}}
| style="text-align:left;" |{{cmd|permission}}
| style="text-align:left;" |An alias of {{MC/Cmd|ops}}. Reloads and applies permissions.
| style="text-align:left;" |An alias of {{cmd|ops}}. Reloads and applies permissions.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|4}} || {{MC/Tc|yes}}
| {{tc|yes|4}} || {{tc|yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|place}}
| style="text-align:left;" |{{cmd|place}}
| style="text-align:left;" |Used to place a configured feature, jigsaw, template, or structure at a given location.
| style="text-align:left;" |Used to place a configured feature, jigsaw, template, or structure at a given location.
| {{MC/Tc|yes}} || {{MC/Tc|-}}
| {{tc|yes}} || {{tc|-}}
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|playanimation}}
| style="text-align:left;" |{{cmd|playanimation}}
| style="text-align:left;" |Used to run a one-off animation.
| style="text-align:left;" |Used to run a one-off animation.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|playsound}}
| style="text-align:left;" |{{cmd|playsound}}
| style="text-align:left;" |Plays a sound.  
| style="text-align:left;" |Plays a sound.  
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|project}}
| style="text-align:left;" |{{cmd|project}}
| style="text-align:left;" |Contains tools for managing Editor projects.
| style="text-align:left;" |Contains tools for managing [[Minecraft:Editor]] projects.
| {{MC/Tc|yes}} || {{MC/Tc|-}}
| {{tc|yes}} || {{tc|-}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|recipe}}  
| style="text-align:left;" |{{cmd|recipe}}  
| style="text-align:left;" |Gives or takes player recipes.
| style="text-align:left;" |Gives or takes player recipes.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|reload}}
| style="text-align:left;" |{{cmd|reload}}
| style="text-align:left;" |Reloads loot tables, advancements, and functions from disk.
| style="text-align:left;" |Reloads loot tables, advancements, and functions from disk.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|reloadconfig}}
| style="text-align:left;" |{{cmd|reloadconfig}}
| style="text-align:left;" |Reloads configuration files relating to variables, permissions, etc.
| style="text-align:left;" |Reloads configuration files relating to variables, permissions, etc.
| {{MC/Tc|yes}} || {{MC/Tc|-}}
| {{tc|yes}} || {{tc|-}}
| {{MC/Tc|yes|4}} || {{MC/Tc|-}}
| {{tc|yes|4}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|reloadpacketlimitconfig}}
| style="text-align:left;" |{{cmd|reloadpacketlimitconfig}}
| style="text-align:left;" |Reloads <code>packetlimitconfig.json</code> configuration file.
| style="text-align:left;" |Reloads <code>packetlimitconfig.json</code> configuration file.
| {{MC/Tc|yes}} || {{MC/Tc|-}}
| {{tc|yes}} || {{tc|-}}
| {{MC/Tc|yes|4}} || {{MC/Tc|-}}
| {{tc|yes|4}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|remove}}
| style="text-align:left;" |{{cmd|remove}}
| style="text-align:left;" |Removing agent.
| style="text-align:left;" |Removing agent.
| {{MC/Tc|-}} || {{MC/Tc|yes|?}}<!--Can't confirm its existence in new version-->
| {{tc|-}} || {{tc|yes|?}}<!--Can't confirm its existence in new version-->
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|replaceitem}}
| style="text-align:left;" |{{cmd|replaceitem}}
| style="text-align:left;" |Replaces items in inventories.
| style="text-align:left;" |Replaces items in inventories.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|ride}}
| style="text-align:left;" |{{cmd|ride}}
| style="text-align:left;" |Used to make entities ride other entities, stop entities from riding, make rides evict their riders, or summon rides or riders.
| style="text-align:left;" |Used to make entities ride other entities, stop entities from riding, make rides evict their riders, or summon rides or riders.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|save}}
| style="text-align:left;" |{{cmd|save}}
| style="text-align:left;" |Prepares a backup, queries its status, or resumes.
| style="text-align:left;" |Prepares a backup, queries its status, or resumes.
| {{MC/Tc|yes}} || {{MC/Tc|-}}
| {{tc|yes}} || {{tc|-}}
| {{MC/Tc|yes|4}} || {{MC/Tc|yes}}
| {{tc|yes|4}} || {{tc|yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|say}}
| style="text-align:left;" |{{cmd|say}}
| style="text-align:left;" |Displays a message to multiple players.  
| style="text-align:left;" |Displays a message to multiple players.  
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|schedule}}
| style="text-align:left;" |{{cmd|schedule}}
| style="text-align:left;" |Delays the execution of a function.
| style="text-align:left;" |Delays the execution of a function.
| {{MC/Tc|yes}} || {{MC/Tc|-}}
| {{tc|yes}} || {{tc|-}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|scoreboard}}
| style="text-align:left;" |{{cmd|scoreboard}}
| style="text-align:left;" |Manages scoreboard objectives and players.
| style="text-align:left;" |Manages scoreboard objectives and players.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|script}}
| style="text-align:left;" |{{cmd|script}}
| style="text-align:left;" |Debugging options for GameTest Framework.
| style="text-align:left;" |Debugging options for GameTest Framework.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|?}} || {{MC/Tc|-}}
| {{tc|yes|?}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|scriptevent}}
| style="text-align:left;" |{{cmd|scriptevent}}
| style="text-align:left;" |Triggers a script event with an ID and message.
| style="text-align:left;" |Triggers a script event with an ID and message.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|?}} || {{MC/Tc|-}}
| {{tc|yes|?}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|sendshowstoreoffer}}
| style="text-align:left;" |{{cmd|sendshowstoreoffer}}
| style="text-align:left;" |Send a request to show players the store offer.
| style="text-align:left;" |Send a request to show players the store offer.
| {{MC/Tc|yes}} || {{MC/Tc|-}}
| {{tc|yes}} || {{tc|-}}
| {{MC/Tc|yes|4}} || {{MC/Tc|-}}
| {{tc|yes|4}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|set_movement_authority}}
| style="text-align:left;" |{{cmd|set_movement_authority}}
| style="text-align:left;" |Control the client or server to check a player movement.
| style="text-align:left;" |Control the client or server to check a player movement.
| {{MC/Tc|yes}} || {{MC/Tc|-}}
| {{tc|yes}} || {{tc|-}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|setblock}}
| style="text-align:left;" |{{cmd|setblock}}
| style="text-align:left;" |Changes a block to another block.  
| style="text-align:left;" |Changes a block to another block.  
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|setmaxplayers}}
| style="text-align:left;" |{{cmd|setmaxplayers}}
| style="text-align:left;" |Sets the maximum number of players allowed to join.
| style="text-align:left;" |Sets the maximum number of players allowed to join.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|3}} || {{MC/Tc|-}}  
| {{tc|yes|3}} || {{tc|-}}  
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|setworldspawn}}
| style="text-align:left;" |{{cmd|setworldspawn}}
| style="text-align:left;" |Sets the [[Minecraft:world spawn]].
| style="text-align:left;" |Sets the [[Minecraft:world spawn]].
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|spawnpoint}}  
| style="text-align:left;" |{{cmd|spawnpoint}}  
| style="text-align:left;" |Sets the spawn point for a player.  
| style="text-align:left;" |Sets the spawn point for a player.  
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|spreadplayers}}
| style="text-align:left;" |{{cmd|spreadplayers}}
| style="text-align:left;" |Teleports entities to random locations.  
| style="text-align:left;" |Teleports entities to random locations.  
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|stop}}
| style="text-align:left;" |{{cmd|stop}}
| style="text-align:left;" |Stops a server.
| style="text-align:left;" |Stops a server.
| {{MC/Tc|yes}} || {{MC/Tc|-}}
| {{tc|yes}} || {{tc|-}}
| {{MC/Tc|yes|4}} || {{MC/Tc|yes}}
| {{tc|yes|4}} || {{tc|yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|stopsound}}
| style="text-align:left;" |{{cmd|stopsound}}
| style="text-align:left;" |Stops a sound.  
| style="text-align:left;" |Stops a sound.  
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|structure}}
| style="text-align:left;" |{{cmd|structure}}
| style="text-align:left;" |Used to save and load structures without having to use structure blocks items in inventories.
| style="text-align:left;" |Used to save and load structures without having to use structure blocks items in inventories.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|summon}}
| style="text-align:left;" |{{cmd|summon}}
| style="text-align:left;" |Summons an entity.  
| style="text-align:left;" |Summons an entity.  
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|tag}}
| style="text-align:left;" |{{cmd|tag}}
| style="text-align:left;" |Controls entity tags.  
| style="text-align:left;" |Controls entity tags.  
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|teleport}}
| style="text-align:left;" |{{cmd|teleport}}
| style="text-align:left;" |An alias of {{MC/Cmd|tp|link=Commands/teleport}}. Teleports entities.  
| style="text-align:left;" |An alias of {{cmd|tp|link=Commands/teleport}}. Teleports entities.  
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|tell}}
| style="text-align:left;" |{{cmd|tell}}
| style="text-align:left;" |An alias of {{MC/Cmd|msg}} and {{MC/Cmd|w}}. Displays a private message to other players.  
| style="text-align:left;" |An alias of {{cmd|msg}} and {{cmd|w}}. Displays a private message to other players.  
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|tellraw}}
| style="text-align:left;" |{{cmd|tellraw}}
| style="text-align:left;" |Displays a JSON message to players.  
| style="text-align:left;" |Displays a JSON message to players.  
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|testfor}}
| style="text-align:left;" |{{cmd|testfor}}
| style="text-align:left;" |Counts entities matching specified conditions.
| style="text-align:left;" |Counts entities matching specified conditions.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|testforblock}}  
| style="text-align:left;" |{{cmd|testforblock}}  
| style="text-align:left;" |Tests whether a block is in a location.
| style="text-align:left;" |Tests whether a block is in a location.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|testforblocks}}
| style="text-align:left;" |{{cmd|testforblocks}}
| style="text-align:left;" |Tests whether the blocks in two regions match.
| style="text-align:left;" |Tests whether the blocks in two regions match.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|tickingarea}}
| style="text-align:left;" |{{cmd|tickingarea}}
| style="text-align:left;" |Add, remove, or list ticking areas.
| style="text-align:left;" |Add, remove, or list ticking areas.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|time}}
| style="text-align:left;" |{{cmd|time}}
| style="text-align:left;" |Changes or queries the world's game time.  
| style="text-align:left;" |Changes or queries the world's game time.  
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|title}}  
| style="text-align:left;" |{{cmd|title}}  
| style="text-align:left;" |Manages screen titles.  
| style="text-align:left;" |Manages screen titles.  
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|titleraw}}
| style="text-align:left;" |{{cmd|titleraw}}
| style="text-align:left;" |Controls screen titles with JSON messages.
| style="text-align:left;" |Controls screen titles with JSON messages.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|toggledownfall}}
| style="text-align:left;" |{{cmd|toggledownfall}}
| style="text-align:left;" |Toggles the weather.
| style="text-align:left;" |Toggles the weather.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|tp}}
| style="text-align:left;" |{{cmd|tp}}
| style="text-align:left;" |An alias of {{MC/Cmd|teleport}}. Teleports entities.
| style="text-align:left;" |An alias of {{cmd|teleport}}. Teleports entities.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|transfer}}
| style="text-align:left;" |{{cmd|transfer}}
| style="text-align:left;" |Triggers a transfer of a player to another server.
| style="text-align:left;" |Triggers a transfer of a player to another server.
| {{MC/Tc|yes}} || {{MC/Tc|Yes}}
| {{tc|yes}} || {{tc|Yes}}
| {{MC/Tc|yes|4}} || {{MC/Tc|Yes}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|yes|4}} || {{tc|Yes}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|w}}
| style="text-align:left;" |{{cmd|w}}
| style="text-align:left;" |An alias of {{MC/Cmd|tell}} and {{MC/Cmd|msg}}. Displays a private message to other players.  
| style="text-align:left;" |An alias of {{cmd|tell}} and {{cmd|msg}}. Displays a private message to other players.  
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|wb}}
| style="text-align:left;" |{{cmd|wb}}
| style="text-align:left;" |An alias of {{MC/Cmd|worldbuilder}}. Ability to edit restricted blocks.
| style="text-align:left;" |An alias of {{cmd|worldbuilder}}. Ability to edit restricted blocks.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|weather}}
| style="text-align:left;" |{{cmd|weather}}
| style="text-align:left;" |Sets the weather.  
| style="text-align:left;" |Sets the weather.  
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|whitelist}}  
| style="text-align:left;" |{{cmd|whitelist}}  
| style="text-align:left;" |An alias of {{MC/Cmd|allowlist}}. Manages server allowlist.
| style="text-align:left;" |An alias of {{cmd|allowlist}}. Manages server allowlist.
| {{MC/Tc|yes}} || {{MC/Tc|-}}
| {{tc|yes}} || {{tc|-}}
| {{MC/Tc|yes|4}} || {{MC/Tc|yes}}
| {{tc|yes|4}} || {{tc|yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|worldbuilder}}
| style="text-align:left;" |{{cmd|worldbuilder}}
| style="text-align:left;" |An alias of {{MC/Cmd|wb}}. Ability to edit restricted blocks.
| style="text-align:left;" |An alias of {{cmd|wb}}. Ability to edit restricted blocks.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|wsserver}}
| style="text-align:left;" |{{cmd|wsserver}}
| style="text-align:left;" |An alias of {{MC/Cmd|connect}}. Attempts to connect to the websocket server.
| style="text-align:left;" |An alias of {{cmd|connect}}. Attempts to connect to the websocket server.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{tc|yes|0{{only|education|short=1}}<br>2{{only|bedrock|short=1}}}} || {{MC/Tc|-}}
| {{tc|yes|0{{only|education|short=1}}<br>2{{only|bedrock|short=1}}}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|xp}}
| style="text-align:left;" |{{cmd|xp}}
| style="text-align:left;" |Adds or removes player experience.  
| style="text-align:left;" |Adds or removes player [[Minecraft:experience]].  
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|}
|}


=== Hidden commands ===
=== Hidden commands ===
{{MC/Exclusive|bedrock|education|section=1}}
{{exclusive|bedrock|education|section=1}}
These commands are unavailable in general cases. Most of them can be accessed with a Websocket Server, NPC, the Scripting API or cheats{{only|education|short=1}}. Note: You can easily check if a command is still in the game by typing {{MC/Cmd|/help <nameOfCommand>}} into a server console, or the ingame chat. If you do so, and it says Syntax error, then the command does not exist. If it either gives help on the command or says unknown command, then it is still in the game - for example, the command {{MC/Cmd|/help gettopsolidblock}} will return {{MC/Code|Unknown command: gettopsolidblock. Please check that the command exists and that you have permission to use it.}}, while the command {{MC/Cmd|/help something}} will return {{MC/Code|Syntax error: Unexpected "something" at "/help >>something<<"}}.  
These commands are unavailable in general cases. Most of them can be accessed with a Websocket Server, NPC, the Scripting API or cheats{{only|education|short=1}}. Note: You can easily check if a command is still in the game by typing {{Cmd|/help <nameOfCommand>}} into a server console, or the ingame chat. If you do so, and it says Syntax error, then the command does not exist. If it either gives help on the command or says unknown command, then it is still in the game - for example, the command {{Cmd|/help gettopsolidblock}} will return {{code|Unknown command: gettopsolidblock. Please check that the command exists and that you have permission to use it.}}, while the command {{Cmd|/help something}} will return {{code|Syntax error: Unexpected "something" at "/help >>something<<"}}.  


{| class="wikitable sortable mw-collapsible" style="text-align:left;"
{| class="wikitable sortable mw-collapsible" style="text-align:left;"
! style="text-align:left;" |Command
! style="text-align:left;" |Command
! style="text-align:left;" class="unsortable" |Description
! style="text-align:left;" class="unsortable" |Description
! {{MC/Tooltip|''BE''|Available in Bedrock Edition}}
! {{Tooltip|''BE''|Available in Bedrock Edition}}
! {{MC/Tooltip|''edu''|Available in Minecraft Education}}
! {{Tooltip|''edu''|Available in Minecraft Education}}
! {{MC/Tooltip|OP level required|Command permission level required to perform the command}}
! {{Tooltip|[[Minecraft:OP level]] required|Command permission level required to perform the command}}
! {{MC/Tooltip|Server only|Commands usable only in servers}}
! {{Tooltip|Server only|Commands usable only in servers}}
! {{Tooltip|{{MC/EnvSprite|blocks}}|Command modifies or queries blocks}}
! {{Tooltip|{{EnvSprite|blocks}}|Command modifies or queries blocks}}
! {{Tooltip|{{MC/EnvSprite|mobs}}|Command modifies or queries entities (mobs, dropped items, etc.)}}
! {{Tooltip|{{EnvSprite|mobs}}|Command modifies or queries entities (mobs, dropped items, etc.)}}
! {{Tooltip|{{MC/EnvSprite|player}}|Command modifies or queries players}}
! {{Tooltip|{{EnvSprite|player}}|Command modifies or queries players}}
! {{Tooltip|{{MC/EnvSprite|default}}|Command modifies or queries the world}}
! {{Tooltip|{{EnvSprite|default}}|Command modifies or queries the world}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|agent}}
| style="text-align:left;" |{{cmd|agent}}
| style="text-align:left;" |Controls the agent.
| style="text-align:left;" |Controls the agent.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{tc|yes|0{{only|education|short=1}}<br>1{{only|bedrock|short=1}}}} || {{MC/Tc|-}}
| {{tc|yes|0{{only|education|short=1}}<br>1{{only|bedrock|short=1}}}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|codebuilder}}
| style="text-align:left;" |{{cmd|codebuilder}}
| style="text-align:left;" |Sets Code Builder state for a player.
| style="text-align:left;" |Sets Code Builder state for a player.
| {{MC/Tc|-}} || {{MC/Tc|yes}}
| {{tc|-}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
|{{MC/Cmd|codebuilder_actorinfo}}<ref>[https://github.com/Mojang/bedrock-samples/releases/tag/v1.20.80.5 bedrock samples for 1.20.80.5 release] metadata/command_modules/mojang-commands.json line 15868</ref>
|{{Cmd|codebuilder_actorinfo}}<ref>[https://github.com/Mojang/bedrock-samples/releases/tag/v1.20.80.5 bedrock samples for 1.20.80.5 release] metadata/command_modules/mojang-commands.json line 15868</ref>
|Unknown{{MC/Info needed|bedrock samples for 1.20.80.5 release: https://github.com/Mojang/bedrock-samples/releases/tag/v1.20.80.5, bedrock-samples-1.20.80.5/metadata/command_modules/mojang-commands.json line 15868}}|| {{MC/Tc|yes}}
|Unknown{{info needed|bedrock samples for 1.20.80.5 release: https://github.com/Mojang/bedrock-samples/releases/tag/v1.20.80.5, bedrock-samples-1.20.80.5/metadata/command_modules/mojang-commands.json line 15868}}|| {{tc|yes}}
| {{MC/Tc|-}}
| {{tc|-}}
| {{MC/Tc|n/a|?}}
| {{tc|n/a|?}}
| {{MC/Tc|n/a|?}}
| {{tc|n/a|?}}
| {{MC/Tc|n/a|?}}
| {{tc|n/a|?}}
| {{MC/Tc|n/a|?}}
| {{tc|n/a|?}}
| {{MC/Tc|n/a|?}}
| {{tc|n/a|?}}
| {{MC/Tc|n/a|?}}
| {{tc|n/a|?}}
|-
|-
|{{MC/Cmd|clearrealmevents}}<ref>[https://github.com/Mojang/bedrock-samples/releases/tag/v1.20.80.5 bedrock samples for 1.20.80.5 release] metadata/command_modules/mojang-commands.json line 15874</ref>
|{{Cmd|clearrealmevents}}<ref>[https://github.com/Mojang/bedrock-samples/releases/tag/v1.20.80.5 bedrock samples for 1.20.80.5 release] metadata/command_modules/mojang-commands.json line 15874</ref>
|Unknown{{MC/Info needed|bedrock samples for 1.20.80.5 release: https://github.com/Mojang/bedrock-samples/releases/tag/v1.20.80.5, bedrock-samples-1.20.80.5/metadata/command_modules/mojang-commands.json line 15874}}|| {{MC/Tc|yes}}
|Unknown{{info needed|bedrock samples for 1.20.80.5 release: https://github.com/Mojang/bedrock-samples/releases/tag/v1.20.80.5, bedrock-samples-1.20.80.5/metadata/command_modules/mojang-commands.json line 15874}}|| {{tc|yes}}
| {{MC/Tc|n/a|?}}
| {{tc|n/a|?}}
| {{MC/Tc|n/a|?}}
| {{tc|n/a|?}}
| {{MC/Tc|n/a|?}}
| {{tc|n/a|?}}
| {{MC/Tc|n/a|?}}
| {{tc|n/a|?}}
| {{MC/Tc|n/a|?}}
| {{tc|n/a|?}}
| {{MC/Tc|n/a|?}}
| {{tc|n/a|?}}
| {{MC/Tc|n/a|?}}
| {{tc|n/a|?}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|classroommode}}
| style="text-align:left;" |{{cmd|classroommode}}
| style="text-align:left;" |Ability to edit restricted blocks.
| style="text-align:left;" |Ability to edit restricted blocks.
| {{MC/Tc|-}} || {{MC/Tc|yes}}
| {{tc|-}} || {{tc|yes}}
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|closechat}}
| style="text-align:left;" |{{cmd|closechat}}
| style="text-align:left;" |Closes the chat window of the local player if it is open.
| style="text-align:left;" |Closes the chat window of the local player if it is open.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|closewebsocket}}
| style="text-align:left;" |{{cmd|closewebsocket}}
| style="text-align:left;" |Closes websocket connection if there is one.
| style="text-align:left;" |Closes websocket connection if there is one.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|code}}
| style="text-align:left;" |{{cmd|code}}
| style="text-align:left;" |Launches Code Builder.
| style="text-align:left;" |Launches Code Builder.
| {{MC/Tc|-}} || {{MC/Tc|yes}}
| {{tc|-}} || {{tc|yes}}
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|enableencryption}}
| style="text-align:left;" |{{cmd|enableencryption}}
| style="text-align:left;" |Enable encryption for the current websocket connection.
| style="text-align:left;" |Enable encryption for the current websocket connection.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|getchunkdata}}
| style="text-align:left;" |{{cmd|getchunkdata}}
| style="text-align:left;" |Gets pixels for a specific chunk.
| style="text-align:left;" |Gets pixels for a specific chunk.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|3}} || {{MC/Tc|-}}
| {{tc|yes|3}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|getchunks}}
| style="text-align:left;" |{{cmd|getchunks}}
| style="text-align:left;" |Gets list of chunks that are loaded.
| style="text-align:left;" |Gets list of chunks that are loaded.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|3}} || {{MC/Tc|-}}
| {{tc|yes|3}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|geteduclientinfo}}
| style="text-align:left;" |{{cmd|geteduclientinfo}}
| style="text-align:left;" |Shows the information about the client.
| style="text-align:left;" |Shows the information about the client.
| {{MC/Tc|-}} || {{MC/Tc|yes}}
| {{tc|-}} || {{tc|yes}}
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|geteduserverinfo}}
| style="text-align:left;" |{{cmd|geteduserverinfo}}
| style="text-align:left;" |Shows the information about the server.
| style="text-align:left;" |Shows the information about the server.
| {{MC/Tc|yes}} || {{MC/Tc|-}}
| {{tc|yes}} || {{tc|-}}
| {{MC/Tc|no|0}} || {{MC/Tc|yes}}
| {{tc|no|0}} || {{tc|yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|getlocalplayername}}  
| style="text-align:left;" |{{cmd|getlocalplayername}}  
| style="text-align:left;" |Shows the name of the local player.
| style="text-align:left;" |Shows the name of the local player.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|getspawnpoint}}  
| style="text-align:left;" |{{cmd|getspawnpoint}}  
| style="text-align:left;" |Gets the spawn position of the specified player(s).
| style="text-align:left;" |Gets the spawn position of the specified player(s).
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|3}} || {{MC/Tc|-}}
| {{tc|yes|3}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|gettopsolidblock}}
| style="text-align:left;" |{{cmd|gettopsolidblock}}
| style="text-align:left;" |Gets the position of the top non-air block below the specified position.
| style="text-align:left;" |Gets the position of the top non-air block below the specified position.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{tc|yes|0{{only|education|short=1}}<br>1{{only|bedrock|short=1}}}} || {{MC/Tc|-}}
| {{tc|yes|0{{only|education|short=1}}<br>1{{only|bedrock|short=1}}}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|globalpause}}
| style="text-align:left;" |{{cmd|globalpause}}
| style="text-align:left;" |Sets or gets the paused state of the game for all players.
| style="text-align:left;" |Sets or gets the paused state of the game for all players.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|3}} || {{MC/Tc|-}}
| {{tc|yes|3}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|lesson}}
| style="text-align:left;" |{{cmd|lesson}}
| style="text-align:left;" |Handle Educational Lesson reporting.
| style="text-align:left;" |Handle Educational Lesson reporting.
| {{MC/Tc|-}} || {{MC/Tc|yes}}
| {{tc|-}} || {{tc|yes}}
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|listd}}
| style="text-align:left;" |{{cmd|listd}}
| style="text-align:left;" |Lists the information about players on the server.
| style="text-align:left;" |Lists the information about players on the server.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{MC/Tc|yes|3}} || {{MC/Tc|-}}
| {{tc|yes|3}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|querytarget}}
| style="text-align:left;" |{{cmd|querytarget}}
| style="text-align:left;" |Gets transform, name, and id information about the given target entity or entities.
| style="text-align:left;" |Gets transform, name, and id information about the given target entity or entities.
| {{MC/Tc|yes}} || {{MC/Tc|yes}}
| {{tc|yes}} || {{tc|yes}}
| {{tc|yes|0{{only|education|short=1}}<br>2{{only|bedrock|short=1}}}} || {{MC/Tc|-}}
| {{tc|yes|0{{only|education|short=1}}<br>2{{only|bedrock|short=1}}}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
|{{MC/Cmd|sendshowstoreoffer}}<ref>[https://github.com/Mojang/bedrock-samples/releases/tag/v1.20.80.5 bedrock samples for 1.20.80.5 release] metadata/command_modules/mojang-commands.json line 15886</ref>
|{{Cmd|sendshowstoreoffer}}<ref>[https://github.com/Mojang/bedrock-samples/releases/tag/v1.20.80.5 bedrock samples for 1.20.80.5 release] metadata/command_modules/mojang-commands.json line 15886</ref>
|Send a request to show players the store offer.{{MC/Info needed|bedrock samples for 1.20.80.5 release: https://github.com/Mojang/bedrock-samples/releases/tag/v1.20.80.5, bedrock-samples-1.20.80.5/metadata/command_modules/mojang-commands.json line 15886}}|| {{MC/Tc|yes}}
|Send a request to show players the store offer.{{info needed|bedrock samples for 1.20.80.5 release: https://github.com/Mojang/bedrock-samples/releases/tag/v1.20.80.5, bedrock-samples-1.20.80.5/metadata/command_modules/mojang-commands.json line 15886}}|| {{tc|yes}}
| {{MC/Tc|-}}
| {{tc|-}}
| {{MC/Tc|yes|4}}
| {{tc|yes|4}}
| {{MC/Tc|n/a|?}}
| {{tc|n/a|?}}
| {{MC/Tc|n/a|?}}
| {{tc|n/a|?}}
| {{MC/Tc|n/a|?}}
| {{tc|n/a|?}}
| {{MC/Tc|n/a|?}}
| {{tc|n/a|?}}
| {{MC/Tc|n/a|?}}
| {{tc|n/a|?}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|spawnitem}}  
| style="text-align:left;" |{{cmd|spawnitem}}  
| style="text-align:left;" |Spawns an item entity at position.
| style="text-align:left;" |Spawns an item entity at position.
| {{MC/Tc|-}} || {{MC/Tc|yes}}
| {{tc|-}} || {{tc|yes}}
| {{MC/Tc|no|0}} || {{MC/Tc|-}}  
| {{tc|no|0}} || {{tc|-}}  
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|takepicture}}  
| style="text-align:left;" |{{cmd|takepicture}}  
| style="text-align:left;" |Takes a photo of a player or from a player's point of view.
| style="text-align:left;" |Takes a photo of a player or from a player's point of view.
| {{MC/Tc|no|removed}} || {{MC/Tc|yes}}
| {{tc|no|removed}} || {{tc|yes}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|}
|}


Line 1,456: Line 1,456:
! class="unsortable" |Version removed
! class="unsortable" |Version removed
! class="unsortable" |Reason for deletion
! class="unsortable" |Reason for deletion
!{{MC/Tooltip|OP level required|Permission level required to perform the command}}
!{{Tooltip|OP level required|Permission level required to perform the command}}
!{{MC/Tooltip|Multiplayer only|Commands usable only in multiplayer}}
!{{Tooltip|Multiplayer only|Commands usable only in multiplayer}}
!{{Tooltip|{{MC/EnvSprite|blocks}}|Command modifies or queries blocks}}
!{{Tooltip|{{EnvSprite|blocks}}|Command modifies or queries blocks}}
!{{Tooltip|{{MC/EnvSprite|mobs}}|Command modifies or queries entities (mobs, dropped items, etc.)}}
!{{Tooltip|{{EnvSprite|mobs}}|Command modifies or queries entities (mobs, dropped items, etc.)}}
!{{Tooltip|{{MC/EnvSprite|player}}|Command modifies or queries players}}
!{{Tooltip|{{EnvSprite|player}}|Command modifies or queries players}}
!{{Tooltip|{{MC/EnvSprite|default}}|Command modifies or queries the world}}
!{{Tooltip|{{EnvSprite|default}}|Command modifies or queries the world}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|?}}
| style="text-align:left;" |{{cmd|?}}
| style="text-align:left;" |An alias of {{MC/Cmd|help}}. Provides help for commands.
| style="text-align:left;" |An alias of {{cmd|help}}. Provides help for commands.
| data-sort-value="4 1.13 17w45a" |{{MC/Nowrap|Java Edition 1.13}}<br>(17w45a)
| data-sort-value="4 1.13 17w45a" |{{nowrap|[[Minecraft:Java Edition 1.13]]}}<br>([[Minecraft:Java Edition 17w45a|17w45a]])
|'''?'''
|'''?'''
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |
| style="text-align:left;" |
<span class="nowrap">{{MC/Cmd|achievement}}</span>
<span class="nowrap">{{cmd|achievement}}</span>
| style="text-align:left;" |Gives or takes an achievement from a player
| style="text-align:left;" |Gives or takes an achievement from a player
| data-sort-value="4 1.12 17w13a" |{{MC/Nowrap|Java Edition 1.12}}<br>(17w13a)
| data-sort-value="4 1.12 17w13a" |{{nowrap|[[Minecraft:Java Edition 1.12]]}}<br>([[Minecraft:Java Edition 17w13a|17w13a]])
| style="text-align:left;" |Achievements were superseded by advancements
| style="text-align:left;" |[[Minecraft:Achievements]] were superseded by [[Minecraft:advancements]]
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |<span class="nowrap">{{MC/Cmd|banip}}</span>
| style="text-align:left;" |<span class="nowrap">{{cmd|banip}}</span>
| style="text-align:left;" |Bans a player by IP number
| style="text-align:left;" |Bans a player by IP number
| data-sort-value="2 0.31" |{{MC/Nowrap|Java Edition Indev 0.31}}
| data-sort-value="2 0.31" |{{nowrap|[[Minecraft:Java Edition Indev 0.31]]}}
| style="text-align:left;" |Superseded by {{MC/Cmd|ban-ip}}
| style="text-align:left;" |Superseded by {{cmd|ban-ip}}
| {{MC/Tc|yes|3}} || {{MC/Tc|yes}}
| {{tc|yes|3}} || {{tc|yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}  
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}  
|-
|-
| style="text-align:left;" |{{nowrap|{{MC/Cmd|blockdata}}}}
| style="text-align:left;" |{{nowrap|{{cmd|blockdata}}}}
| style="text-align:left;" |Modifies the data tag of a block
| style="text-align:left;" |Modifies the data tag of a block
| data-sort-value="4 1.13 17w47a" |{{MC/Nowrap|Java Edition 1.13}}<br>([[Minecraft:Java Edition 17w47a|17w47a]])
| data-sort-value="4 1.13 17w47a" |{{nowrap|[[Minecraft:Java Edition 1.13]]}}<br>([[Minecraft:Java Edition 17w47a|17w47a]])
| style="text-align:left;" |Superseded by {{MC/Cmd|data}}
| style="text-align:left;" |Superseded by {{cmd|data}}
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{nowrap|{{MC/Cmd|broadcast}}}}
| style="text-align:left;" |{{nowrap|{{cmd|broadcast}}}}
| style="text-align:left;" |Broadcasts a message across the entire server
| style="text-align:left;" |Broadcasts a message across the entire server
| data-sort-value="1 0.0.16a_01" |Java Edition Classic 0.0.16a_01
| data-sort-value="1 0.0.16a_01" |[[Minecraft:Java Edition Classic 0.0.16a_01]]
| style="text-align:left;" |Superseded by {{MC/Cmd|say}}
| style="text-align:left;" |Superseded by {{cmd|say}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{nowrap|{{MC/Cmd|chunk|link=none}}}}
| style="text-align:left;" |{{nowrap|{{cmd|chunk|link=none}}}}
| style="text-align:left;" |Force chunks to load constantly or not
| style="text-align:left;" |Force chunks to load constantly or not
| data-sort-value="4 1.13.1 pre1" |{{MC/Nowrap|Java Edition 1.13.1}}<br>(pre1)
| data-sort-value="4 1.13.1 pre1" |{{nowrap|[[Minecraft:Java Edition 1.13.1]]}}<br>([[Minecraft:Java Edition 1.13.1-pre1|pre1]])
| style="text-align:left;" |Superseded by {{MC/Cmd|forceload}}
| style="text-align:left;" |Superseded by {{cmd|forceload}}
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{nowrap|{{MC/Cmd|entitydata}}}}
| style="text-align:left;" |{{nowrap|{{cmd|entitydata}}}}
| style="text-align:left;" |Modifies the data tag of an entity
| style="text-align:left;" |Modifies the data tag of an entity
| data-sort-value="4 1.13 17w45b" |{{MC/Nowrap|Java Edition 1.13}}<br>(17w45b)
| data-sort-value="4 1.13 17w45b" |{{nowrap|[[Minecraft:Java Edition 1.13]]}}<br>([[Minecraft:Java Edition 17w45b|17w45b]])
| style="text-align:left;" |Superseded by {{MC/Cmd|data}}
| style="text-align:left;" |Superseded by {{cmd|data}}
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{nowrap|{{MC/Cmd|home}}}}
| style="text-align:left;" |{{nowrap|{{cmd|home}}}}
| style="text-align:left;" |Teleports player to the [[Minecraft:world spawn]]
| style="text-align:left;" |Teleports player to the [[Minecraft:world spawn]]
| data-sort-value="3 1.2.5" |{{MC/Nowrap|Java Edition Alpha v1.2.5}}
| data-sort-value="3 1.2.5" |{{nowrap|[[Minecraft:Java Edition Alpha v1.2.5]]}}
| style="text-align:left;" |Superseded by {{MC/Cmd|kill}}
| style="text-align:left;" |Superseded by {{cmd|kill}}
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|locatebiome}}
| style="text-align:left;" |{{cmd|locatebiome}}
| style="text-align:left;" |Locates biomes
| style="text-align:left;" |Locates biomes
| data-sort-value="4" 1.19 22w19a |{{MC/Nowrap|Java Edition 1.19<br>(22w19a)}}
| data-sort-value="4" 1.19 22w19a |{{nowrap|[[Minecraft:Java Edition 1.19]]<br>([[Minecraft:22w19a]])}}
| style="text-align:left;" |Superseded by {{MC/Cmd|locate}}
| style="text-align:left;" |Superseded by {{cmd|locate}}
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|placefeature}}
| style="text-align:left;" |{{cmd|placefeature}}
| style="text-align:left;" |Used to place a configured feature at a given location
| style="text-align:left;" |Used to place a configured feature at a given location
| data-sort-value="4 1.19 22w18a" |{{MC/Nowrap|Java Edition 1.19<br>(22w18a)}}
| data-sort-value="4 1.19 22w18a" |{{nowrap|[[Minecraft:Java Edition 1.19]]<br>([[Minecraft:Java Edition 22w18a|22w18a]])}}
| style="text-align:left;" |Superseded by {{MC/Cmd|place}}
| style="text-align:left;" |Superseded by {{cmd|place}}
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{nowrap|{{MC/Cmd|replaceitem}}}}
| style="text-align:left;" |{{nowrap|{{cmd|replaceitem}}}}
| style="text-align:left;" |Replaces items in inventories
| style="text-align:left;" |Replaces items in inventories
| data-sort-value="4 1.17 20w46a" |{{MC/Nowrap|Java Edition 1.17}}<br>(20w46a)
| data-sort-value="4 1.17 20w46a" |{{nowrap|[[Minecraft:Java Edition 1.17]]}}<br>([[Minecraft:Java Edition 20w46a|20w46a]])
| style="text-align:left;" |Superseded by {{MC/Cmd|item}}
| style="text-align:left;" |Superseded by {{cmd|item}}
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{nowrap|{{MC/Cmd|setspawn}}}}
| style="text-align:left;" |{{nowrap|{{cmd|setspawn}}}}
| style="text-align:left;" |Sets the current location as the default spawn location for new players
| style="text-align:left;" |Sets the current location as the default spawn location for new players
| data-sort-value="2 0.31" |{{MC/Nowrap|Java Edition Indev 0.31}}
| data-sort-value="2 0.31" |{{nowrap|[[Minecraft:Java Edition Indev 0.31]]}}
| style="text-align:left;" |Superseded by {{MC/Cmd|setworldspawn}}
| style="text-align:left;" |Superseded by {{cmd|setworldspawn}}
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{nowrap|{{MC/Cmd|solid}}}}
| style="text-align:left;" |{{nowrap|{{cmd|solid}}}}
| style="text-align:left;" |Toggles between placing stone or bedrock
| style="text-align:left;" |Toggles between placing stone or bedrock
| data-sort-value="2 0.31" |{{MC/Nowrap|Java Edition Indev 0.31}}
| data-sort-value="2 0.31" |{{nowrap|[[Minecraft:Java Edition Indev 0.31]]}}
| style="text-align:left;" |[[Minecraft:Bedrock]] was added to the Creative inventory as a separate item
| style="text-align:left;" |[[Minecraft:Bedrock]] was added to the Creative inventory as a separate item
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{nowrap|{{MC/Cmd|stats}}}}
| style="text-align:left;" |{{nowrap|{{cmd|stats}}}}
| style="text-align:left;" |Update objectives from command results
| style="text-align:left;" |Update objectives from command results
| data-sort-value="4 1.13 17w45a" |{{MC/Nowrap|Java Edition 1.13}}<br>(17w45a)
| data-sort-value="4 1.13 17w45a" |{{nowrap|[[Minecraft:Java Edition 1.13]]}}<br>([[Minecraft:Java Edition 17w45a|17w45a]])
| style="text-align:left;" |Merged with {{MC/Cmd|execute}}
| style="text-align:left;" |Merged with {{cmd|execute}}
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|testfor}}
| style="text-align:left;" |{{cmd|testfor}}
| style="text-align:left;" |Counts entities matching specified conditions.
| style="text-align:left;" |Counts entities matching specified conditions.
| data-sort-value="4 1.13 17w45a" |{{MC/Nowrap|Java Edition 1.13}}<br>(17w45a)
| data-sort-value="4 1.13 17w45a" |{{nowrap|[[Minecraft:Java Edition 1.13]]}}<br>([[Minecraft:Java Edition 17w45a|17w45a]])
| style="text-align:left;" |Merged with {{MC/Cmd|execute}}
| style="text-align:left;" |Merged with {{cmd|execute}}
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|testforblock}}  
| style="text-align:left;" |{{cmd|testforblock}}  
| style="text-align:left;" |Tests whether a block is in a location.
| style="text-align:left;" |Tests whether a block is in a location.
| data-sort-value="4 1.13 17w45a" |{{MC/Nowrap|Java Edition 1.13}}<br>(17w45a)
| data-sort-value="4 1.13 17w45a" |{{nowrap|[[Minecraft:Java Edition 1.13]]}}<br>([[Minecraft:Java Edition 17w45a|17w45a]])
| style="text-align:left;" |Merged with {{MC/Cmd|execute}}
| style="text-align:left;" |Merged with {{cmd|execute}}
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|testforblocks}}
| style="text-align:left;" |{{cmd|testforblocks}}
| style="text-align:left;" |Tests whether the blocks in two regions match.
| style="text-align:left;" |Tests whether the blocks in two regions match.
| data-sort-value="4 1.13 17w45a" |{{MC/Nowrap|Java Edition 1.13}}<br>(17w45a)
| data-sort-value="4 1.13 17w45a" |{{nowrap|[[Minecraft:Java Edition 1.13]]}}<br>([[Minecraft:Java Edition 17w45a|17w45a]])
| style="text-align:left;" |Merged with {{MC/Cmd|execute}}
| style="text-align:left;" |Merged with {{cmd|execute}}
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{nowrap|{{MC/Cmd|toggledownfall}}}}
| style="text-align:left;" |{{nowrap|{{cmd|toggledownfall}}}}
| style="text-align:left;" |Toggles the weather
| style="text-align:left;" |Toggles the weather
| data-sort-value="4 1.13 17w45a" |{{MC/Nowrap|Java Edition 1.13}}<br>(17w45a)
| data-sort-value="4 1.13 17w45a" |{{nowrap|[[Minecraft:Java Edition 1.13]]}}<br>([[Minecraft:Java Edition 17w45a|17w45a]])
| style="text-align:left;" |Redundancy with {{MC/Cmd|weather}}
| style="text-align:left;" |Redundancy with {{cmd|weather}}
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|-
|-
| style="text-align:left;" |{{nowrap|{{MC/Cmd|unban}}}}
| style="text-align:left;" |{{nowrap|{{cmd|unban}}}}
| style="text-align:left;" |Pardons a banned player
| style="text-align:left;" |Pardons a banned player
| data-sort-value="3 1.0.16" |{{MC/Nowrap|Java Edition Alpha v1.0.16}}
| data-sort-value="3 1.0.16" |{{nowrap|[[Minecraft:Java Edition Alpha v1.0.16]]}}
| style="text-align:left;" |Superseded by {{MC/Cmd|pardon}}
| style="text-align:left;" |Superseded by {{cmd|pardon}}
| {{MC/Tc|yes|3}} || {{MC/Tc|yes}}
| {{tc|yes|3}} || {{tc|yes}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
|}
|}


Line 1,605: Line 1,605:
! class="unsortable" |Version removed
! class="unsortable" |Version removed
! class="unsortable" |Reason for deletion
! class="unsortable" |Reason for deletion
!{{MC/Tooltip|BE|Available in Bedrock Edition}}
!{{Tooltip|BE|Available in Bedrock Edition}}
!{{MC/Tooltip|edu|Available in Minecraft Education}}
!{{Tooltip|edu|Available in Minecraft Education}}
!{{MC/Tooltip|OP level required|Command permission level required in Bedrock and Education Edition to perform the command}}
!{{Tooltip|OP level required|Command permission level required in Bedrock and Education Edition to perform the command}}
!{{MC/Tooltip|Server only|Commands usable only in servers}}
!{{Tooltip|Server only|Commands usable only in servers}}
!{{Tooltip|{{MC/EnvSprite|blocks}}|Command modifies or queries blocks}}
!{{Tooltip|{{EnvSprite|blocks}}|Command modifies or queries blocks}}
!{{Tooltip|{{MC/EnvSprite|mobs}}|Command modifies or queries entities (mobs, dropped items, etc.)}}
!{{Tooltip|{{EnvSprite|mobs}}|Command modifies or queries entities (mobs, dropped items, etc.)}}
!{{Tooltip|{{MC/EnvSprite|player}}|Command modifies or queries players}}
!{{Tooltip|{{EnvSprite|player}}|Command modifies or queries players}}
!{{Tooltip|{{MC/EnvSprite|default}}|Command modifies or queries the world}}
!{{Tooltip|{{EnvSprite|default}}|Command modifies or queries the world}}
|-
|-
| style="text-align:left;" |{{nowrap|{{MC/Cmd|clearfixedinv}}}}
| style="text-align:left;" |{{nowrap|{{cmd|clearfixedinv}}}}
| style="text-align:left;" |Clears fixed inventory slots
| style="text-align:left;" |Clears fixed inventory slots
| data-sort-value="5 0.16.0" |{{MC/Nowrap|[[Minecraft:Pocket Edition v0.16.0 alpha]]}}<br>([[Minecraft:Pocket Edition v0.16.0 alpha build 2|build 2]])
| data-sort-value="5 0.16.0" |{{nowrap|[[Minecraft:Pocket Edition v0.16.0 alpha]]}}<br>([[Minecraft:Pocket Edition v0.16.0 alpha build 2|build 2]])
|'''?'''
|'''?'''
| {{MC/Tc|no|removed}} || {{MC/Tc|no|removed}}
| {{tc|no|removed}} || {{tc|no|removed}}
| {{MC/Tc|yes|2}} ||'''?'''
| {{tc|yes|2}} ||'''?'''
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}  
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}  
|-
|-
| style="text-align:left;" |{{nowrap|{{MC/Cmd|detect|link=none}}}}
| style="text-align:left;" |{{nowrap|{{cmd|detect|link=none}}}}
| style="text-align:left;" |Execute a command when condition is met
| style="text-align:left;" |Execute a command when condition is met
| data-sort-value="6 0.16.0" |{{MC/Nowrap|[[Minecraft:Bedrock Edition 1.2.0]]}}
| data-sort-value="6 0.16.0" |{{nowrap|[[Minecraft:Bedrock Edition 1.2.0]]}}
| style="text-align:left;" |Superseded by {{MC/Cmd|execute}}
| style="text-align:left;" |Superseded by {{cmd|execute}}
| {{MC/Tc|no|removed}} || {{MC/Tc|-}}
| {{tc|no|removed}} || {{tc|-}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}  
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}  
|-
|-
| style="text-align:left;" |{{nowrap|{{MC/Cmd|executeasself}}}}
| style="text-align:left;" |{{nowrap|{{cmd|executeasself}}}}
| style="text-align:left;" |Execute a command
| style="text-align:left;" |Execute a command
| data-sort-value="5 ?" |'''?'''
| data-sort-value="5 ?" |'''?'''
|Superseded by <code>/[[Minecraft:Commands/execute|execute]]</code>
|Superseded by <code>/[[Minecraft:Commands/execute|execute]]</code>
| {{MC/Tc|no|removed}} || {{MC/Tc|no|removed}}
| {{tc|no|removed}} || {{tc|no|removed}}
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|mixer}}
| style="text-align:left;" |{{cmd|mixer}}
| style="text-align:left;" |Mixer interactivity control
| style="text-align:left;" |Mixer interactivity control
| data-sort-value="7 1.0.21" |{{MC/Nowrap|[[Minecraft:Bedrock Edition 1.16.210]]}}
| data-sort-value="7 1.0.21" |{{nowrap|[[Minecraft:Bedrock Edition 1.16.210]]}}
| style="text-align:left;" |Mixer was discontinued
| style="text-align:left;" |Mixer was discontinued
| {{MC/Tc|no|removed}} || {{MC/Tc|-}}
| {{tc|no|removed}} || {{tc|-}}
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|position}}  
| style="text-align:left;" |{{cmd|position}}  
| style="text-align:left;" |Toggles player coordinates to be displayed on the HUD
| style="text-align:left;" |Toggles player coordinates to be displayed on the HUD
| data-sort-value="7 1.0.21" |{{MC/Nowrap|Education Edition 1.0.21}}
| data-sort-value="7 1.0.21" |{{nowrap|[[Minecraft:Education Edition 1.0.21]]}}
| style="text-align:left;" |Superseded by {{MC/Cmd|gamerule}}
| style="text-align:left;" |Superseded by {{cmd|gamerule}}
| {{MC/Tc|-}} || {{MC/Tc|no|Removed}}
| {{tc|-}} || {{tc|no|Removed}}
| {{MC/Tc|no|0}} || {{MC/Tc|-}}
| {{tc|no|0}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{nowrap|{{MC/Cmd|resupply}}}}
| style="text-align:left;" |{{nowrap|{{cmd|resupply}}}}
| style="text-align:left;" |Update the [[Minecraft:villager]]s' supply for economic trade
| style="text-align:left;" |Update the [[Minecraft:villager]]s' supply for economic trade
| data-sort-value="9 ?" |'''?'''
| data-sort-value="9 ?" |'''?'''
|'''?'''
|'''?'''
| {{MC/Tc|no|Removed}}|| {{MC/Tc|-}}
| {{tc|no|Removed}}|| {{tc|-}}
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{nowrap|{{MC/Cmd|setfixedinvslot}}}}
| style="text-align:left;" |{{nowrap|{{cmd|setfixedinvslot}}}}
| style="text-align:left;" |Sets fixed inventory slot with a specific item
| style="text-align:left;" |Sets fixed inventory slot with a specific item
| data-sort-value="5 0.16.0" |[[Minecraft:Pocket Edition v0.16.0 alpha]]<br>([[Minecraft:Pocket Edition v0.16.0 alpha build 2|build 2]])
| data-sort-value="5 0.16.0" |[[Minecraft:Pocket Edition v0.16.0 alpha]]<br>([[Minecraft:Pocket Edition v0.16.0 alpha build 2|build 2]])
|'''?'''
|'''?'''
| {{MC/Tc|no|removed}} || {{MC/Tc|no|removed}}
| {{tc|no|removed}} || {{tc|no|removed}}
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}  
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}  
|-
|-
| style="text-align:left;" |{{nowrap|{{MC/Cmd|setfixedinvslots}}}}
| style="text-align:left;" |{{nowrap|{{cmd|setfixedinvslots}}}}
| style="text-align:left;" |Sets the amount of fixed inventory slots
| style="text-align:left;" |Sets the amount of fixed inventory slots
| data-sort-value="5 0.16.0" |[[Minecraft:Pocket Edition v0.16.0 alpha]]<br>([[Minecraft:Pocket Edition v0.16.0 alpha build 2|build 2]])
| data-sort-value="5 0.16.0" |[[Minecraft:Pocket Edition v0.16.0 alpha]]<br>([[Minecraft:Pocket Edition v0.16.0 alpha build 2|build 2]])
|'''?'''
|'''?'''
| {{MC/Tc|no|removed}} || {{MC/Tc|no|removed}}
| {{tc|no|removed}} || {{tc|no|removed}}
| {{MC/Tc|yes|2}} || {{MC/Tc|-}}
| {{tc|yes|2}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}}  
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}  
|-
|-
| style="text-align:left;" |{{MC/Cmd|transferserver}}
| style="text-align:left;" |{{cmd|transferserver}}
| style="text-align:left;" |Transfer player to a server
| style="text-align:left;" |Transfer player to a server
| data-sort-value="6 1.2.3" |{{MC/Nowrap|[[Minecraft:Bedrock Edition 1.2.3]]}}
| data-sort-value="6 1.2.3" |{{nowrap|[[Minecraft:Bedrock Edition 1.2.3]]}}
|'''?'''
|'''?'''
| {{MC/Tc|no|removed}} || {{MC/Tc|no|removed}}
| {{tc|no|removed}} || {{tc|no|removed}}
| {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|videostream}}
| style="text-align:left;" |{{cmd|videostream}}
| style="text-align:left;" |Attempts to connect to the websocket server to send a video stream
| style="text-align:left;" |Attempts to connect to the websocket server to send a video stream
| data-sort-value="9 ?" |'''?'''
| data-sort-value="9 ?" |'''?'''
|Superseded by  {{MC/Cmd|connect}}.
|Superseded by  {{cmd|connect}}.
| {{MC/Tc|no|Removed}}|| {{MC/Tc|-}}
| {{tc|no|Removed}}|| {{tc|-}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|yes|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|videostreamaction}}
| style="text-align:left;" |{{cmd|videostreamaction}}
| style="text-align:left;" |Attempts to run a action on video stream
| style="text-align:left;" |Attempts to run a action on video stream
| data-sort-value="9 ?" |'''?'''
| data-sort-value="9 ?" |'''?'''
|'''?'''
|'''?'''
| {{MC/Tc|no|Removed}}|| {{MC/Tc|-}}
| {{tc|no|Removed}}|| {{tc|-}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|yes|-}} || {{MC/Tc|-}} || {{MC/Tc|-}}
| {{tc|-}} || {{tc|yes|-}} || {{tc|-}} || {{tc|-}}
|-
|-
| style="text-align:left;" |{{MC/Cmd|volumearea}}
| style="text-align:left;" |{{cmd|volumearea}}
| style="text-align:left;" |Add, remove, or list volume areas
| style="text-align:left;" |Add, remove, or list volume areas
| data-sort-value="5 1.21.10.22" |{{MC/Nowrap|[[Minecraft:Bedrock Edition 1.21.20]]}}
| data-sort-value="5 1.21.10.22" |{{nowrap|[[Minecraft:Bedrock Edition 1.21.20]]}}
|'''?'''
|'''?'''
| {{MC/Tc|no|Removed}} || {{MC/Tc|-}}
| {{tc|no|Removed}} || {{tc|-}}
| {{MC/Tc|yes|1}} || {{MC/Tc|-}}
| {{tc|yes|1}} || {{tc|-}}
| {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}}
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
|}
|}


==== Developer commands ====
==== Developer commands ====
{{MC/Main|Developer commands}}
{{main|Developer commands}}
{{MC/Exclusive|bedrock|section=1}}
{{exclusive|bedrock|section=1}}
Developer commands are only enabled in internal development builds of ''Bedrock Edition'', and are not normally accessible in release versions.
Developer commands are only enabled in internal development builds of ''Bedrock Edition'', and are not normally accessible in release versions.


==== Agent commands ====
==== Agent commands ====
{{MC/Exclusive|bedrock|education|section=1}}
{{exclusive|bedrock|education|section=1}}
Superseded by {{MC/Cmd|agent}}
Superseded by {{cmd|agent}}
*{{MC/Cmd|move}}
*{{cmd|move}}
*{{MC/Cmd|turn}}
*{{cmd|turn}}
*{{MC/Cmd|attack}}
*{{cmd|attack}}
*{{MC/Cmd|destroy}}
*{{cmd|destroy}}
*{{MC/Cmd|drop}}
*{{cmd|drop}}
*{{MC/Cmd|dropall}}
*{{cmd|dropall}}
*{{MC/Cmd|inspect}}
*{{cmd|inspect}}
*{{MC/Cmd|inspectdata}}
*{{cmd|inspectdata}}
*{{MC/Cmd|detect}}
*{{cmd|detect}}
*{{MC/Cmd|detectredstone}}
*{{cmd|detectredstone}}
*{{MC/Cmd|transfer|link=Commands/transfer (Education)}}
*{{cmd|transfer|link=Commands/transfer (Education)}}
*{{MC/Cmd|createagent}}
*{{cmd|createagent}}
*{{MC/Cmd|tpagent}}
*{{cmd|tpagent}}
*{{MC/Cmd|collect}}
*{{cmd|collect}}
*{{MC/Cmd|till}}
*{{cmd|till}}
*{{MC/Cmd|place|link=Commands/place (Bedrock Edition)}}
*{{cmd|place|link=Commands/place (Bedrock Edition)}}
*{{MC/Cmd|getitemcount}}
*{{cmd|getitemcount}}
*{{MC/Cmd|getitemspace}}
*{{cmd|getitemspace}}
*{{MC/Cmd|getitemdetail}}
*{{cmd|getitemdetail}}


=== Joke commands ===
=== Joke commands ===
{{MC/Exclusive|java|section=1}}
{{exclusive|java|section=1}}
These commands only exist in April Fools' Day joke versions of the game.
These commands only exist in [[Minecraft:April Fools' Day jokes|April Fools' Day joke]] versions of the game.


*{{MC/Cmd|debugdim}}
*{{cmd|debugdim}}
*{{MC/Cmd|transform}}
*{{cmd|transform}}
*{{MC/Cmd|vote}}
*{{cmd|vote}}
*{{MC/Cmd|warp}}
*{{cmd|warp}}


== History ==
== History ==
{{MC/See also|Command Block#History}}
{{See also|Command Block#History}}
{{info needed section|{{MC/Edu}}}}
{{info needed section|{{edu}}}}
=== Command additions and changes ===
=== Command additions and changes ===
==== ''Java Edition'' ====
==== ''Java Edition'' ====
{{HistoryTable
{{HistoryTable
|{{MC/HistoryLine|java classic}}
|{{HistoryLine|java classic}}
|{{HistoryLine||0.0.16a|Added commands {{MC/Command|broadcast}}, {{MC/Command|ban}}, {{MC/Command|banip}}, and {{MC/Command|kick}}.
|{{HistoryLine||0.0.16a|Added commands {{Command|broadcast}}, {{Command|ban}}, {{Command|banip}}, and {{Command|kick}}.
|Added commands {{MC/Command|op}}, {{MC/Command|deop}} and {{MC/Command|unban}}.{{check version|The exact version these were added is unknown because this is one of the many lost versions.}}}}
|Added commands {{Command|op}}, {{Command|deop}} and {{Command|unban}}.{{check version|The exact version these were added is unknown because this is one of the many lost versions.}}}}
|{{HistoryLine||0.0.16a_01|Replaced {{MC/Cmd|broadcast|link=none}} with {{MC/Cmd|say}}.}}
|{{HistoryLine||0.0.16a_01|Replaced {{cmd|broadcast|link=none}} with {{cmd|say}}.}}
|{{HistoryLine||0.0.17a|Added {{MC/Command|setspawn}}.}}
|{{HistoryLine||0.0.17a|Added {{Command|setspawn}}.}}
|{{HistoryLine||0.0.18a|Added {{MC/Command|teleport}}.}}
|{{HistoryLine||0.0.18a|Added {{Command|teleport}}.}}
|{{HistoryLine||0.0.20a|Added {{MC/Command|solid}}.}}
|{{HistoryLine||0.0.20a|Added {{Command|solid}}.}}
|{{HistoryLine||?|Added {{MC/Command|me}}.}}
|{{HistoryLine||?|Added {{Command|me}}.}}
|{{MC/HistoryLine|java indev}}
|{{HistoryLine|java indev}}
|{{MC/HistoryLine||0.31|dev=20091231-1856|Removed all commands.}}
|{{HistoryLine||0.31|dev=20091231-1856|Removed all commands.}}
|{{MC/HistoryLine|java alpha}}
|{{HistoryLine|java alpha}}
|{{HistoryLine||v1.0.15|Added {{MC/Command|wood}}, {{MC/Command|iron}} and {{MC/Cmd|give}}.}}
|{{HistoryLine||v1.0.15|Added {{Command|wood}}, {{Command|iron}} and {{cmd|give}}.}}
|{{HistoryLine||v1.0.16|Re-added several commands.
|{{HistoryLine||v1.0.16|Re-added several commands.
|Added {{MC/Command|pardon}}, {{MC/Command|pardon-ip}}, {{MC/Command|banlist}}, {{MC/Cmd|stop}} and {{MC/Cmd|home}}.}}
|Added {{Command|pardon}}, {{Command|pardon-ip}}, {{Command|banlist}}, {{cmd|stop}} and {{cmd|home}}.}}
|{{HistoryLine||v1.0.16_01|Added {{MC/Command|tp}},{{MC/Command|save-all}},{{MC/Command|save-off}} and {{MC/Command|save-on}}.}}
|{{HistoryLine||v1.0.16_01|Added {{Command|tp}},{{Command|save-all}},{{Command|save-off}} and {{Command|save-on}}.}}
|{{HistoryLine||v1.0.16_02|Added {{MC/Command|list}}, {{MC/Cmd|msg}}, {{MC/Command|tell}} and {{MC/Cmd|w}}.}}
|{{HistoryLine||v1.0.16_02|Added {{Command|list}}, {{cmd|msg}}, {{Command|tell}} and {{cmd|w}}.}}
|{{HistoryLine||v1.2.0|Removed {{MC/Command|wood|link=none}} and {{MC/Command|iron|link=none}}.}}
|{{HistoryLine||v1.2.0|Removed {{Command|wood|link=none}} and {{Command|iron|link=none}}.}}
|{{HistoryLine||v1.2.5|Removed {{MC/Command|home|link=none}}.}}
|{{HistoryLine||v1.2.5|Removed {{Command|home|link=none}}.}}
|{{HistoryLine||v1.2.6|Added {{MC/Command|kill}}.}}
|{{HistoryLine||v1.2.6|Added {{Command|kill}}.}}
|{{MC/HistoryLine|java beta}}
|{{HistoryLine|java beta}}
|{{HistoryLine||1.3|Added {{MC/Cmd|time}} and {{MC/Cmd|whitelist}}.}}
|{{HistoryLine||1.3|Added {{cmd|time}} and {{cmd|whitelist}}.}}
|{{HistoryLine||1.8|dev=Pre-release|Added {{MC/Cmd|gamemode}}.}}
|{{HistoryLine||1.8|dev=Pre-release|Added {{cmd|gamemode}}.}}
|{{MC/HistoryLine|java}}
|{{HistoryLine|java}}
|{{HistoryLine||1.0.0|dev=Beta 1.9 Prerelease 5|Added {{MC/Cmd|xp}} and {{MC/Cmd|toggledownfall}}.}}
|{{HistoryLine||1.0.0|dev=Beta 1.9 Prerelease 5|Added {{cmd|xp}} and {{cmd|toggledownfall}}.}}
|{{MC/HistoryLine||1.3.1|dev=12w16a|Added cheats mode, allowing commands to be used in singleplayer.
|{{HistoryLine||1.3.1|dev=12w16a|Added cheats mode, allowing commands to be used in singleplayer.
|"Enable Cheats" could be turned on in Hardcore mode.}}
|"Enable Cheats" could be turned on in [[Minecraft:Hardcore]] mode.}}
|{{HistoryLine|||dev=12w17a|Added {{MC/Cmd|help}} and its alias {{MC/Cmd|?}}.
|{{HistoryLine|||dev=12w17a|Added {{cmd|help}} and its alias {{cmd|?}}.
|"Enable Cheats" can no longer be turned on in Hardcore mode.}}
|"Enable Cheats" can no longer be turned on in Hardcore mode.}}
|{{HistoryLine|||dev=12w21a|Added {{MC/Cmd|seed}}.}}
|{{HistoryLine|||dev=12w21a|Added {{cmd|seed}}.}}
|{{HistoryLine|||dev=12w22a|Added {{MC/Cmd|defaultgamemode}}.}}
|{{HistoryLine|||dev=12w22a|Added {{cmd|defaultgamemode}}.}}
|{{HistoryLine|||dev=12w24a|Added {{MC/Cmd|publish}}.}}
|{{HistoryLine|||dev=12w24a|Added {{cmd|publish}}.}}
|{{MC/HistoryLine|||dev=12w25a|Cheats can now be turned on or off when opening a world to other players through LAN.}}
|{{HistoryLine|||dev=12w25a|Cheats can now be turned on or off when opening a world to other players through LAN.}}
|{{HistoryLine|||dev=12w27a|Added {{MC/Cmd|debug}}.}}
|{{HistoryLine|||dev=12w27a|Added {{cmd|debug}}.}}
|{{HistoryLine||1.4.2|dev=12w32a|Added {{MC/Cmd|difficulty}}, {{MC/Cmd|gamerule}}, {{MC/Cmd|spawnpoint}} and {{MC/Cmd|weather}}.}}
|{{HistoryLine||1.4.2|dev=12w32a|Added {{cmd|difficulty}}, {{cmd|gamerule}}, {{cmd|spawnpoint}} and {{cmd|weather}}.}}
|{{HistoryLine|||dev=12w37a|Added {{MC/Command|clear}}.}}
|{{HistoryLine|||dev=12w37a|Added {{Command|clear}}.}}
|{{HistoryLine||1.4.4|dev=pre|Added {{MC/Cmd|enchant}}.}}
|{{HistoryLine||1.4.4|dev=pre|Added {{cmd|enchant}}.}}
|{{HistoryLine||1.5|dev=13w03a|Added {{MC/Cmd|testfor}}.}}
|{{HistoryLine||1.5|dev=13w03a|Added {{cmd|testfor}}.}}
|{{HistoryLine|||dev=13w04a|Added {{MC/Cmd|scoreboard}}.}}
|{{HistoryLine|||dev=13w04a|Added {{cmd|scoreboard}}.}}
|{{HistoryLine|||dev=13w09b|Added {{MC/Cmd|effect}}.}}
|{{HistoryLine|||dev=13w09b|Added {{cmd|effect}}.}}
|{{HistoryLine||1.6.1|dev=13w23a|Added {{MC/Cmd|spreadplayers}}.}}
|{{HistoryLine||1.6.1|dev=13w23a|Added {{cmd|spreadplayers}}.}}
|{{HistoryLine|||dev=pre|Added {{MC/Cmd|playsound}}.}}
|{{HistoryLine|||dev=pre|Added {{cmd|playsound}}.}}
|{{HistoryLine||1.7.2|dev=13w36a|Added {{MC/Cmd|achievement}} and {{MC/Cmd|summon}}.}}
|{{HistoryLine||1.7.2|dev=13w36a|Added {{cmd|achievement}} and {{cmd|summon}}.}}
|{{HistoryLine|||dev=13w37a|Added {{MC/Cmd|setblock}}, {{MC/Cmd|tellraw}} and {{MC/Cmd|testforblock}}.}}
|{{HistoryLine|||dev=13w37a|Added {{cmd|setblock}}, {{cmd|tellraw}} and {{cmd|testforblock}}.}}
|{{HistoryLine|||dev=13w38a|Added {{MC/Cmd|setidletimeout}}.}}
|{{HistoryLine|||dev=13w38a|Added {{cmd|setidletimeout}}.}}
|{{HistoryLine|||dev=13w43a|Added {{MC/Cmd|setworldspawn}}.}}
|{{HistoryLine|||dev=13w43a|Added {{cmd|setworldspawn}}.}}
|{{HistoryLine||1.8|dev=14w02a|Added {{MC/Cmd|blockdata}}.}}
|{{HistoryLine||1.8|dev=14w02a|Added {{cmd|blockdata}}.}}
|{{HistoryLine|||dev=14w03a|Added {{MC/Cmd|clone}} and {{MC/Cmd|fill}}.
|{{HistoryLine|||dev=14w03a|Added {{cmd|clone}} and {{cmd|fill}}.
|NBT data now supports using string IDs rather than numerical IDs.
|NBT data now supports using string IDs rather than numerical IDs.
|Numerical IDs no longer work in other parts of commands, though they still work for NBT data.}}
|Numerical IDs no longer work in other parts of commands, though they still work for NBT data.}}
|{{HistoryLine|||dev=14w04a|Added {{MC/Cmd|particle}}.}}
|{{HistoryLine|||dev=14w04a|Added {{cmd|particle}}.}}
|{{HistoryLine|||dev=14w06a|Added {{MC/Cmd|trigger}}.}}
|{{HistoryLine|||dev=14w06a|Added {{cmd|trigger}}.}}
|{{HistoryLine|||dev=14w07a|Added {{MC/Cmd|execute}} and {{MC/Cmd|testforblocks}}.}}
|{{HistoryLine|||dev=14w07a|Added {{cmd|execute}} and {{cmd|testforblocks}}.}}
|{{HistoryLine|||dev=14w17a|Added {{MC/Cmd|worldborder}}.}}
|{{HistoryLine|||dev=14w17a|Added {{cmd|worldborder}}.}}
|{{HistoryLine|||dev=14w20a|Added {{MC/Cmd|title}}.}}
|{{HistoryLine|||dev=14w20a|Added {{cmd|title}}.}}
|{{HistoryLine|||dev=14w26a|Added {{MC/Cmd|replaceitem}}.}}
|{{HistoryLine|||dev=14w26a|Added {{cmd|replaceitem}}.}}
|{{HistoryLine|||dev=14w28a|Added {{MC/Cmd|stats}}.}}
|{{HistoryLine|||dev=14w28a|Added {{cmd|stats}}.}}
|{{HistoryLine|||dev=14w32b|Added {{MC/Cmd|entitydata}}.}}
|{{HistoryLine|||dev=14w32b|Added {{cmd|entitydata}}.}}
|{{HistoryLine||1.9.3|dev=pre2|Added {{MC/Command|stopsound}}.}}
|{{HistoryLine||1.9.3|dev=pre2|Added {{Command|stopsound}}.}}
|{{MC/HistoryLine||1.11|dev=16w32a|Added block state support to commands.}}
|{{HistoryLine||1.11|dev=16w32a|Added [[Minecraft:block state]] support to commands.}}
|{{HistoryLine|||dev=16w39a|Added {{MC/Command|locate}}.}}
|{{HistoryLine|||dev=16w39a|Added {{Command|locate}}.}}
|{{HistoryLine||1.12|dev=17w13a|Added {{MC/Command|advancement}} and {{MC/Command|recipe}}.
|{{HistoryLine||1.12|dev=17w13a|Added {{Command|advancement}} and {{Command|recipe}}.
|Removed {{MC/Command|achievement}}.}}
|Removed {{Command|achievement}}.}}
|{{HistoryLine|||dev=17w18a|Added {{MC/Command|reload}}.}}
|{{HistoryLine|||dev=17w18a|Added {{Command|reload}}.}}
|{{HistoryLine|||dev=pre1|Added {{MC/Command|function}}.}}
|{{HistoryLine|||dev=pre1|Added {{Command|function}}.}}
|{{HistoryLine||1.13|dev=17w45a|A new library named Brigadier is now used to parse commands. Different components of commands are displayed in different colors, and errors are displayed in red without having to run the command. Commands, for the most part, do not allow uppercase letters, and are now much faster and more efficient.
|{{HistoryLine||1.13|dev=17w45a|A new library named [[Minecraft:Brigadier]] is now used to parse commands. Different components of commands are displayed in different colors, and errors are displayed in red without having to run the command. Commands, for the most part, do not allow uppercase letters, and are now much faster and more efficient.
|Removed {{MC/Command|?}},{{MC/Command|enchant}},{{MC/Command|stats}},{{MC/Command|testfor}},{{MC/Command|testforblock}},{{MC/Command|testforblocks}} and {{MC/Command|toggledownfall}}.
|Removed {{Command|?}},{{Command|enchant}},{{Command|stats}},{{Command|testfor}},{{Command|testforblock}},{{Command|testforblocks}} and {{Command|toggledownfall}}.
|Added {{MC/Cmd|tag}} and {{MC/Cmd|team}}.
|Added {{cmd|tag}} and {{cmd|team}}.
|Added {{MC/Cmd|experience}}, an alias of {{MC/Cmd|xp|link=none}}.}}
|Added {{cmd|experience}}, an alias of {{cmd|xp|link=none}}.}}
|{{HistoryLine|||dev=17w45b|Added {{MC/Command|data}}.}}
|{{HistoryLine|||dev=17w45b|Added {{Command|data}}.}}
|{{HistoryLine|||dev=17w46a|Added {{MC/Command|datapack}}.|The player now has the option to toggle automatic command suggestions.
|{{HistoryLine|||dev=17w46a|Added {{Command|datapack}}.|The player now has the option to toggle automatic command suggestions.
|The command UI has a new prototype, and now works in multiplayer.}}
|The command UI has a new prototype, and now works in multiplayer.}}
|{{MC/HistoryLine|||dev=17w47a|Added an option in chat to toggle automatic command suggestions.}}
|{{HistoryLine|||dev=17w47a|Added an option in chat to toggle automatic command suggestions.}}
|{{MC/HistoryLine|||dev=17w48a|Tweaked the command suggestion UI.
|{{HistoryLine|||dev=17w48a|Tweaked the command suggestion UI.
|Reworked tab-completion for coordinates.}}
|Reworked tab-completion for coordinates.}}
|{{HistoryLine|||dev=17w50a|[[Minecraft:Coordinates#Local_coordinates|Local coordinates]] can now be specified in commands using {{MC/Code|^}}.
|{{HistoryLine|||dev=17w50a|[[Minecraft:Coordinates#Local_coordinates|Local coordinates]] can now be specified in commands using {{code|^}}.
|Tab-completing when not targeting a block suggests {{MC/Code|~ ~ ~}}.}}
|Tab-completing when not targeting a block suggests {{code|~ ~ ~}}.}}
|{{HistoryLine|||dev=18w01a|Changed all custom names (blocks, items, entities, block entities) to translatable text components.
|{{HistoryLine|||dev=18w01a|Changed all custom names (blocks, items, entities, block entities) to translatable text components.
|{{MC/Code|Thrower}} and {{MC/Code|Owner}} nbt keys of item entities are no longer strings, but are instead compounds with two longs named {{MC/Code|L}} and {{MC/Code|M}}.
|{{code|Thrower}} and {{code|Owner}} nbt keys of item entities are no longer strings, but are instead compounds with two longs named {{code|L}} and {{code|M}}.
|{{MC/Code|owner}} nbt key of snowballs, eggs and ender pearls are no longer strings, but are instead compounds with two longs named {{MC/Code|L}} and {{MC/Code|M}}.}}
|{{code|owner}} nbt key of snowballs, eggs and ender pearls are no longer strings, but are instead compounds with two longs named {{code|L}} and {{code|M}}.}}
|{{HistoryLine|||dev=18w02a|Errors during a command are now a nicer error message (with a tool tip for more info).
|{{HistoryLine|||dev=18w02a|Errors during a command are now a nicer error message (with a tool tip for more info).
|Server commands now run from world spawn in the Overworld, instead of at {{MC/Code|0,0,0}}.}}
|Server commands now run from world spawn in the Overworld, instead of at {{code|0,0,0}}.}}
|{{MC/HistoryLine|||dev=18w03a|Improved performance of command parsing and command execution.}}
|{{HistoryLine|||dev=18w03a|Improved performance of command parsing and command execution.}}
|{{HistoryLine|||dev=18w05a|Added {{MC/Command|bossbar}}.|Added basic entity selector suggestions in the command UI.
|{{HistoryLine|||dev=18w05a|Added {{Command|bossbar}}.|Added basic entity selector suggestions in the command UI.
|A warning is now logged for ambiguous commands.}}
|A warning is now logged for ambiguous commands.}}
|{{HistoryLine|||dev=18w06a|Re-added {{MC/Command|enchant}}.|Added command suggestions for entity selectors.
|{{HistoryLine|||dev=18w06a|Re-added {{Command|enchant}}.|Added command suggestions for entity selectors.
|Whitespaces are now allowed in entity selectors & block state arguments.}}
|Whitespaces are now allowed in entity selectors & block state arguments.}}
|{{HistoryLine||1.13.1|dev=18w31a|Added {{MC/Cmd|chunk|link=/forceload}}.}}
|{{HistoryLine||1.13.1|dev=18w31a|Added {{cmd|chunk|link=/forceload}}.}}
|{{HistoryLine|||dev=pre1|Renamed {{MC/Cmd|chunk|link=none}} to {{MC/Cmd|forceload}}.}}
|{{HistoryLine|||dev=pre1|Renamed {{cmd|chunk|link=none}} to {{cmd|forceload}}.}}
|{{HistoryLine||September 26, 2018|link={{tweet|dinner|1044870699465216001}}|Brigadier [https://github.com/Mojang/brigadier open-sourced] under the MIT license. (Source code previously was available on the library site, with no license specified).}}
|{{HistoryLine||September 26, 2018|link={{tweet|dinner|1044870699465216001}}|[[Minecraft:Brigadier]] [https://github.com/Mojang/brigadier open-sourced] under the MIT license. (Source code previously was available on the library site, with no license specified).}}
|{{HistoryLine||1.14|dev=18w43a|Added {{MC/Command|drop|link=/loot}} and {{MC/Command|schedule}}.}}
|{{HistoryLine||1.14|dev=18w43a|Added {{Command|drop|link=/loot}} and {{Command|schedule}}.}}
|{{HistoryLine|||dev=18w45a|Renamed {{MC/Command|drop|link=none}} to {{MC/Command|loot}}. }}
|{{HistoryLine|||dev=18w45a|Renamed {{Command|drop|link=none}} to {{Command|loot}}. }}
|{{HistoryLine|||dev=19w02a|Added {{MC/Command|teammsg}} and {{MC/Command|tm}}. }}
|{{HistoryLine|||dev=19w02a|Added {{Command|teammsg}} and {{Command|tm}}. }}
|{{HistoryLine||1.15|dev=19w34a|Added {{MC/Cmd|test}}, only available in IDE environment.}}
|{{HistoryLine||1.15|dev=19w34a|Added {{cmd|test}}, only available in IDE environment.}}
|{{HistoryLine|||dev=19w41a|Added {{MC/Command|spectate}}. }}
|{{HistoryLine|||dev=19w41a|Added {{Command|spectate}}. }}
|{{HistoryLine||1.16|dev=20w06a|Added {{MC/Cmd|locatebiome}}.}}
|{{HistoryLine||1.16|dev=20w06a|Added {{cmd|locatebiome}}.}}
|{{HistoryLine|||dev=20w17a|Added {{MC/Cmd|attribute}}.}}
|{{HistoryLine|||dev=20w17a|Added {{cmd|attribute}}.}}
|{{HistoryLine||1.17|dev=20w46a|Removed {{MC/Cmd|replaceitem}}. Replaced with {{MC/Cmd|item replace}}.}}
|{{HistoryLine||1.17|dev=20w46a|Removed {{cmd|replaceitem}}. Replaced with {{cmd|item replace}}.}}
|{{HistoryLine|||dev=pre1|Added {{MC/Cmd|perf}}.}}
|{{HistoryLine|||dev=pre1|Added {{cmd|perf}}.}}
|{{HistoryLine||1.18|dev=21w37a|Added {{MC/Cmd|jfr}}.}}
|{{HistoryLine||1.18|dev=21w37a|Added {{cmd|jfr}}.}}
|{{HistoryLine||1.18.2|dev=22w03a|Added {{MC/Cmd|placefeature}}.}}
|{{HistoryLine||1.18.2|dev=22w03a|Added {{cmd|placefeature}}.}}
|{{HistoryLine||1.19|dev=Deep Dark Experimental Snapshot 1|Added {{MC/Cmd|warden_spawn_tracker}}.}}
|{{HistoryLine||1.19|dev=Deep Dark Experimental Snapshot 1|Added {{cmd|warden_spawn_tracker}}.}}
|{{HistoryLine|||dev=22w11a|Disabled access to {{MC/Cmd|warden_spawn_tracker}}.}}
|{{HistoryLine|||dev=22w11a|Disabled access to {{cmd|warden_spawn_tracker}}.}}
|{{HistoryLine|||dev=22w18a|Removed {{MC/Cmd|placefeature}}. Replaced with {{MC/Cmd|place feature}}.}}
|{{HistoryLine|||dev=22w18a|Removed {{cmd|placefeature}}. Replaced with {{cmd|place feature}}.}}
|{{HistoryLine|||dev=22w19a|Removed {{MC/Cmd|locatebiome}}. Replaced with {{MC/Cmd|locate biome}}.
|{{HistoryLine|||dev=22w19a|Removed {{cmd|locatebiome}}. Replaced with {{cmd|locate biome}}.
|Finding structures from {{MC/Cmd|locate}} now uses {{MC/Cmd|locate structure}}.}}
|Finding structures from {{cmd|locate}} now uses {{cmd|locate structure}}.}}
|{{HistoryLine||1.19.3|dev=22w46a|Added {{MC/Cmd|fillbiome}}.}}
|{{HistoryLine||1.19.3|dev=22w46a|Added {{cmd|fillbiome}}.}}
|{{HistoryLine||1.19.4|dev=23w03a|Added {{MC/Cmd|ride}}.}}
|{{HistoryLine||1.19.4|dev=23w03a|Added {{cmd|ride}}.}}
|{{HistoryLine|||dev=23w06a|Added {{MC/Cmd|damage}}.}}
|{{HistoryLine|||dev=23w06a|Added {{cmd|damage}}.}}
|{{HistoryLine||1.20|dev=23w16a|Added {{MC/Cmd|return}}.}}
|{{HistoryLine||1.20|dev=23w16a|Added {{cmd|return}}.}}
|{{HistoryLine||1.20.2|dev=23w31a|The last 50 commands sent in chat is now remembered across game sessions, and can be accessed via up and down arrow keys.
|{{HistoryLine||1.20.2|dev=23w31a|The last 50 commands sent in chat is now remembered across game sessions, and can be accessed via up and down arrow keys.
|Recent commands are now stored in {{MC/Cd|command_history.txt}} in the {{MC/Code|.minecraft}} folder.
|Recent commands are now stored in {{cd|command_history.txt}} in the {{code|[[Minecraft:.minecraft]]}} folder.
|Added {{MC/Cmd|random}}.}}
|Added {{cmd|random}}.}}
|{{HistoryLine||1.20.3|dev=23w43a|Added {{MC/Cmd|tick}}.}}
|{{HistoryLine||1.20.3|dev=23w43a|Added {{cmd|tick}}.}}
|{{HistoryLine||1.20.5|dev=24w04a|Added {{MC/Cmd|transfer}}.
|{{HistoryLine||1.20.5|dev=24w04a|Added {{cmd|transfer}}.
|Renamed "Allow cheats" to "Allow commands".}}
|Renamed "Allow cheats" to "Allow commands".}}
|{{HistoryLine||1.21.2|dev=24w40a|Added {{MC/Cmd|rotate}}.}}
|{{HistoryLine||1.21.2|dev=24w40a|Added {{cmd|rotate}}.}}
|{{HistoryLine|||dev=pre1|{{MC/Cmd|rotate}} now requires a permission level of 2 instead of 0.}}
|{{HistoryLine|||dev=pre1|{{cmd|rotate}} now requires a permission level of 2 instead of 0.}}
|{{HistoryLine||1.21.5|dev=25w03a|{{MC/Cmd|test}} now accessible through normal gameplay.}}
|{{HistoryLine||1.21.5|dev=25w03a|{{cmd|test}} now accessible through normal gameplay.}}
|{{HistoryLine||1.21.6|dev=25w15a|Added {{MC/Cmd|version}}.}}
|{{HistoryLine||1.21.6|dev=25w15a|Added {{cmd|version}}.}}
|{{HistoryLine||1.21.6|exp=Locator Bar|dev=25w15a|Added {{MC/Cmd|waypoint}}.}}
|{{HistoryLine||1.21.6|exp=Locator Bar|dev=25w15a|Added {{cmd|waypoint}}.}}
|{{HistoryLine||1.21.6|dev=25w18a|{{MC/Cmd|waypoint}} can now be used without using the experiment Locator Bar.}}
|{{HistoryLine||1.21.6|dev=25w18a|{{cmd|waypoint}} can now be used without using the [[Minecraft:experiment]] [[Minecraft:Locator Bar]].}}
|{{HistoryLine|||dev=25w20a|Added {{MC/Cmd|dialog}}.}}
|{{HistoryLine|||dev=25w20a|Added {{cmd|dialog}}.}}
|{{HistoryLine||1.21.9|dev=25w34a|Added {{MC/Cmd|fetchprofile}}.}}
|{{HistoryLine||1.21.9|dev=25w34a|Added {{cmd|fetchprofile}}.}}
|{{HistoryLine||26.1|dev=snap1|Added {{MC/Cmd|/swing}}.}}
|{{HistoryLine||26.1|dev=snap1|Added {{cmd|/swing}}.}}
}}
}}


==== ''Bedrock Edition'' ====
==== ''Bedrock Edition'' ====
{{HistoryTable
{{HistoryTable
|{{MC/HistoryLine|pocket alpha}}
|{{HistoryLine|pocket alpha}}
|{{MC/HistoryLine||v0.7.4|Added support for commands, though none are implemented yet.}}
|{{HistoryLine||v0.7.4|Added support for commands, though none are implemented yet.}}
|{{MC/HistoryLine||v0.16.0|dev=build 1|Added commands.
|{{HistoryLine||v0.16.0|dev=build 1|Added commands.
|Functionality of most commands is equivalent to Java Edition 1.10 usage. Differences include: no support for [[#Data tags|data tags]].}}
|Functionality of most commands is equivalent to [[Minecraft:Java Edition 1.10]] usage. Differences include: no support for [[#Data tags|data tags]].}}
|{{MC/HistoryLine|pocket}}
|{{HistoryLine|pocket}}
|{{HistoryLine||1.0.0|dev=alpha 0.17.0.1|Added {{MC/Cmd|locate}}, {{MC/Cmd|connect}}, and {{MC/Cmd|fly}}.}}
|{{HistoryLine||1.0.0|dev=alpha 0.17.0.1|Added {{cmd|locate}}, {{cmd|connect}}, and {{cmd|fly}}.}}
|{{HistoryLine|||dev=alpha 0.17.0.2|Removed {{MC/Cmd|locate}}.}}
|{{HistoryLine|||dev=alpha 0.17.0.2|Removed {{cmd|locate}}.}}
|{{HistoryLine|||dev=alpha 1.0.0.0|Re-added {{MC/Cmd|locate}}, currently can locate strongholds only.}}
|{{HistoryLine|||dev=alpha 1.0.0.0|Re-added {{cmd|locate}}, currently can locate strongholds only.}}
|{{MC/HistoryLine||1.0.5|dev=alpha 1.0.5.0|Added more commands.}}
|{{HistoryLine||1.0.5|dev=alpha 1.0.5.0|Added more commands.}}
|{{HistoryLine||1.1.0|dev=alpha 1.1.0.0|Added {{MC/Code|dodaylightcycle}}, {{MC/Code|doentitydrops}}, {{MC/Code|dofiretick}}, {{MC/Code|domobspawning}}, {{MC/Code|domobloot}}, {{MC/Code|dotiledrops}}, {{MC/Code|doweathercycle}}, {{MC/Code|keepinventory}} and {{MC/Code|mobgriefing}} to {{MC/Cmd|gamerule}}.
|{{HistoryLine||1.1.0|dev=alpha 1.1.0.0|Added {{code|dodaylightcycle}}, {{code|doentitydrops}}, {{code|dofiretick}}, {{code|domobspawning}}, {{code|domobloot}}, {{code|dotiledrops}}, {{code|doweathercycle}}, {{code|keepinventory}} and {{code|mobgriefing}} to {{cmd|gamerule}}.
|{{MC/Code|CanPlaceOn}} and {{MC/Code|CanDestroy}} are now in {{MC/Cmd|replaceitem}} and {{MC/Cmd|give}}.
|{{code|CanPlaceOn}} and {{code|CanDestroy}} are now in {{cmd|replaceitem}} and {{cmd|give}}.
|{{MC/Cmd|locate}} can now find other structures.}}
|{{cmd|locate}} can now find other structures.}}
|{{HistoryLine|||dev=alpha 1.1.0.3|Added {{MC/Cmd|setmaxplayers}}.}}
|{{HistoryLine|||dev=alpha 1.1.0.3|Added {{cmd|setmaxplayers}}.}}
|{{MC/HistoryLine|bedrock}}
|{{HistoryLine|bedrock}}
|{{MC/HistoryLine||1.2.0|dev=?|A new command parsing system is now used.}}
|{{HistoryLine||1.2.0|dev=?|A new command parsing system is now used.}}
|{{HistoryLine|||dev=beta 1.2.0.2|Added {{MC/Cmd|tickingarea}}.
|{{HistoryLine|||dev=beta 1.2.0.2|Added {{cmd|tickingarea}}.
|{{MC/Cmd|summon}} can now summon projectiles.}}
|{{cmd|summon}} can now summon projectiles.}}
|{{HistoryLine|||dev=beta 1.2.0.31|{{MC/Code|[[Minecraft:Coordinates]]}} are now a gamerule to {{MC/Cmd|gamerule}}.}}
|{{HistoryLine|||dev=beta 1.2.0.31|{{code|[[Minecraft:Coordinates]]}} are now a gamerule to {{cmd|gamerule}}.}}
|{{HistoryLine||1.5.0||Added {{MC/Cmd|ability|link=none}}, {{MC/Cmd|immutableworld|link=none}}, and {{MC/Cmd|worldbuilder|link=none}}.}}
|{{HistoryLine||1.5.0||Added {{cmd|ability|link=none}}, {{cmd|immutableworld|link=none}}, and {{cmd|worldbuilder|link=none}}.}}
|{{HistoryLine||1.6.0|dev=beta 1.6.0.6|{{MC/Code|doInsomnia}} is now a gamerule to {{MC/Cmd|gamerule}}.}}
|{{HistoryLine||1.6.0|dev=beta 1.6.0.6|{{code|doInsomnia}} is now a gamerule to {{cmd|gamerule}}.}}
|{{HistoryLine||1.7.0|dev=beta 1.7.0.2|Added {{MC/Cmd|scoreboard}}.
|{{HistoryLine||1.7.0|dev=beta 1.7.0.2|Added {{cmd|scoreboard}}.
|{{MC/Code|commandblocksenabled}} is now a gamerule to {{MC/Cmd|gamerule}}.}}
|{{code|commandblocksenabled}} is now a gamerule to {{cmd|gamerule}}.}}
|{{HistoryLine||1.8.0|dev=beta 1.8.0.8|{{MC/Code|randomtickspeed}} is now a gamerule to {{MC/Cmd|gamerule}}.
|{{HistoryLine||1.8.0|dev=beta 1.8.0.8|{{code|randomtickspeed}} is now a gamerule to {{cmd|gamerule}}.
|Added {{MC/Cmd|particle}} and {{MC/Cmd|reload}}.
|Added {{cmd|particle}} and {{cmd|reload}}.
|{{MC/Code|showcoordinates}} {{MC/Code|dofiretick}} {{MC/Code|tntexplodes}} {{MC/Code|domobloot}} {{MC/Code|naturalregeneration}} {{MC/Code|dotiledrops}} and {{MC/Code|pvp}} no longer require cheats when using {{MC/Cmd|gamerule}}.}}
|{{code|showcoordinates}} {{code|dofiretick}} {{code|tntexplodes}} {{code|domobloot}} {{code|naturalregeneration}} {{code|dotiledrops}} and {{code|pvp}} no longer require cheats when using {{cmd|gamerule}}.}}
|{{HistoryLine||1.9.0|dev=beta 1.9.0.0|{{MC/Code|immediateRespawn}} and {{MC/Code|showDeathMessages}} are now a gamerule to {{MC/Cmd|gamerule}}.
|{{HistoryLine||1.9.0|dev=beta 1.9.0.0|{{code|immediateRespawn}} and {{code|showDeathMessages}} are now a gamerule to {{cmd|gamerule}}.
|Added more particles ([[Minecraft:Bedrock Edition beta 1.9.0.0#Command format|View all]]) to {{MC/Cmd|particle}}.
|Added more particles ([[Minecraft:Bedrock Edition beta 1.9.0.0#Command format|View all]]) to {{cmd|particle}}.
|Added {{MC/Cmd|tellraw}}.}}
|Added {{cmd|tellraw}}.}}
|{{HistoryLine||1.11.0|dev=beta 1.11.0.3|Added {{MC/Cmd|mobevent}}.}}
|{{HistoryLine||1.11.0|dev=beta 1.11.0.3|Added {{cmd|mobevent}}.}}
|{{HistoryLine||1.12.0|dev=beta 1.12.0.2|{{MC/Code|spawnradius}}, {{MC/Code|sendcommandblockfeedback}}, {{MC/Code|maxcommandchainlength}} and {{MC/Code|commandblockoutput}} are now gamerules to {{MC/Cmd|gamerule}}.
|{{HistoryLine||1.12.0|dev=beta 1.12.0.2|{{code|spawnradius}}, {{code|sendcommandblockfeedback}}, {{code|maxcommandchainlength}} and {{code|commandblockoutput}} are now gamerules to {{cmd|gamerule}}.
|Added more particles ([[Minecraft:Bedrock Edition beta 1.12.0.2#Command format|View all]]) to {{MC/Cmd|particle}}.}}
|Added more particles ([[Minecraft:Bedrock Edition beta 1.12.0.2#Command format|View all]]) to {{cmd|particle}}.}}
|{{HistoryLine||1.14.0|{{MC/Code|showtags}} is now a gamerule to {{MC/Cmd|gamerule}}.}}
|{{HistoryLine||1.14.0|{{code|showtags}} is now a gamerule to {{cmd|gamerule}}.}}
|{{HistoryLine||1.16.0|Added {{MC/Cmd|kick}}.
|{{HistoryLine||1.16.0|Added {{cmd|kick}}.
|{{MC/Cmd|spawnpoint}} can now be used in the nether.}}
|{{cmd|spawnpoint}} can now be used in the nether.}}
|{{HistoryLine||1.16.100|dev=beta 1.16.100.52|Added {{MC/Cmd|playanimation}}, {{MC/Cmd|ride}}, and {{MC/Cmd|structure}}.}}
|{{HistoryLine||1.16.100|dev=beta 1.16.100.52|Added {{cmd|playanimation}}, {{cmd|ride}}, and {{cmd|structure}}.}}
|{{HistoryLine|||dev=beta 1.16.100.54|Added {{MC/Cmd|fog}}.}}
|{{HistoryLine|||dev=beta 1.16.100.54|Added {{cmd|fog}}.}}
|{{HistoryLine|||dev=beta 1.16.100.57|Added {{MC/Cmd|camerashake}}, {{MC/Cmd|clearspawnpoint}}, and {{MC/Cmd|event}}.}}
|{{HistoryLine|||dev=beta 1.16.100.57|Added {{cmd|camerashake}}, {{cmd|clearspawnpoint}}, and {{cmd|event}}.}}
|{{HistoryLine|||dev=beta 1.16.100.58|Added {{MC/Cmd|music}}.}}
|{{HistoryLine|||dev=beta 1.16.100.58|Added {{cmd|music}}.}}
|{{HistoryLine|||dev=beta 1.16.100.59|Added {{MC/Cmd|schedule}}.
|{{HistoryLine|||dev=beta 1.16.100.59|Added {{cmd|schedule}}.
|{{MC/Cmd|camerashake}} now have two types of shakes.}}
|{{cmd|camerashake}} now have two types of shakes.}}
|{{HistoryLine|||dev=beta 1.16.100.60|{{MC/Cmd|structure}} can now animate the placement of a structure.}}
|{{HistoryLine|||dev=beta 1.16.100.60|{{cmd|structure}} can now animate the placement of a structure.}}
|{{HistoryLine||1.16.210|dev=beta 1.16.210.53|{{MC/Code|freezeDamage}} is now a gamerule to {{MC/Cmd|gamerule}}.
|{{HistoryLine||1.16.210|dev=beta 1.16.210.53|{{code|freezeDamage}} is now a gamerule to {{cmd|gamerule}}.
|{{MC/Cmd|clone}}, {{MC/Cmd|fill}}, and {{MC/Cmd|setblock}} now have a new slash command options for passing in a list of block states to set on the block being spawned.
|{{cmd|clone}}, {{cmd|fill}}, and {{cmd|setblock}} now have a new slash command options for passing in a list of block states to set on the block being spawned.
|Removed {{MC/Cmd|mixer}}.}}
|Removed {{cmd|mixer}}.}}
|{{HistoryLine|||dev=beta 1.16.210.54|You can now stop camera shaking in {{MC/Cmd|camerashake}}.
|{{HistoryLine|||dev=beta 1.16.210.54|You can now stop camera shaking in {{cmd|camerashake}}.
|Re-added {{MC/Cmd|mixer}}.
|Re-added {{cmd|mixer}}.
|You can now delete structures in {{MC/Cmd|structure}}.}}
|You can now delete structures in {{cmd|structure}}.}}
|{{HistoryLine|||dev=beta 1.16.210.58|Removed {{MC/Cmd|mixer}} again.}}
|{{HistoryLine|||dev=beta 1.16.210.58|Removed {{cmd|mixer}} again.}}
|{{HistoryLine|||dev=beta 1.16.210.60|Added {{MC/Cmd|gametest}}.}}
|{{HistoryLine|||dev=beta 1.16.210.60|Added {{cmd|gametest}}.}}
|{{HistoryLine||1.17.10|dev=beta 1.17.10.22|Added {{MC/Cmd|dialogue}}.}}
|{{HistoryLine||1.17.10|dev=beta 1.17.10.22|Added {{cmd|dialogue}}.}}
|{{HistoryLine||1.17.30|dev=beta 1.17.20.20|{{MC/Code|respawnBlocksExplode}} is now a gamerule to {{MC/Cmd|gamerule}}.}}
|{{HistoryLine||1.17.30|dev=beta 1.17.20.20|{{code|respawnBlocksExplode}} is now a gamerule to {{cmd|gamerule}}.}}
|{{HistoryLine||1.18.0|dev=beta 1.18.0.21|Added {{MC/Cmd|loot}}.}}
|{{HistoryLine||1.18.0|dev=beta 1.18.0.21|Added {{cmd|loot}}.}}
|{{HistoryLine|||dev=beta 1.18.0.22|Removed {{MC/Cmd|loot}}.}}
|{{HistoryLine|||dev=beta 1.18.0.22|Removed {{cmd|loot}}.}}
|{{HistoryLine||1.18.10|dev=beta 1.18.10.21|Re-added {{MC/Cmd|loot}}.}}
|{{HistoryLine||1.18.10|dev=beta 1.18.10.21|Re-added {{cmd|loot}}.}}
|{{HistoryLine|||dev=beta 1.18.10.26|Added {{MC/Cmd|damage}}.}}
|{{HistoryLine|||dev=beta 1.18.10.26|Added {{cmd|damage}}.}}
|{{HistoryLine||1.18.30|dev=beta 1.18.20.21|Added {{MC/Cmd|volumearea}}.}}
|{{HistoryLine||1.18.30|dev=beta 1.18.20.21|Added {{cmd|volumearea}}.}}
|{{HistoryLine||1.19.0|dev=beta 1.19.0.30|Added {{MC/Cmd|script}}.}}
|{{HistoryLine||1.19.0|dev=beta 1.19.0.30|Added {{cmd|script}}.}}
|{{HistoryLine||1.19.10|dev=Preview 1.19.10.23|{{MC/Cmd|locate}} can now find biomes.}}
|{{HistoryLine||1.19.10|dev=Preview 1.19.10.23|{{cmd|locate}} can now find biomes.}}
|{{HistoryLine||1.19.60|dev=Preview 1.19.60.22|Added {{MC/Cmd|scriptevent}}.}}
|{{HistoryLine||1.19.60|dev=Preview 1.19.60.22|Added {{cmd|scriptevent}}.}}
|{{MC/HistoryLine||1.19.80|dev=Preview 1.19.80.20|Added command suggestions for block states.}}
|{{HistoryLine||1.19.80|dev=Preview 1.19.80.20|Added command suggestions for [[Minecraft:block states]].}}
|{{HistoryLine||1.19.80|dev=Preview 1.19.80.21|Added {{MC/Cmd|inputpermission}}.}}
|{{HistoryLine||1.19.80|dev=Preview 1.19.80.21|Added {{cmd|inputpermission}}.}}
|{{HistoryLine||1.20.0|dev=Preview 1.20.0.22|Added {{MC/Cmd|camera}}.}}
|{{HistoryLine||1.20.0|dev=Preview 1.20.0.22|Added {{cmd|camera}}.}}
|{{HistoryLine||1.20.10|dev=Preview 1.20.10.21|Added {{MC/Cmd|recipe}}.}}
|{{HistoryLine||1.20.10|dev=Preview 1.20.10.21|Added {{cmd|recipe}}.}}
|{{HistoryLine||1.20.30|dev=Preview 1.20.30.22|Added {{MC/Cmd|transfer}}.}}
|{{HistoryLine||1.20.30|dev=Preview 1.20.30.22|Added {{cmd|transfer}}.}}
|{{HistoryLine||1.20.60|exp=Upcoming Creator Features|dev=Preview 1.20.60.23|Added {{MC/Cmd|hud}} behind the "Upcoming Creator Features" experimental toggle.}}
|{{HistoryLine||1.20.60|exp=Upcoming Creator Features|dev=Preview 1.20.60.23|Added {{cmd|hud}} behind the "Upcoming Creator Features" experimental toggle.}}
|{{HistoryLine||1.20.80|dev=Preview 1.20.80.20|Added {{MC/Cmd|gametips}}.}}
|{{HistoryLine||1.20.80|dev=Preview 1.20.80.20|Added {{cmd|gametips}}.}}
|{{HistoryLine||1.21.20|dev=Preview 1.21.10.22|Removed {{MC/Cmd|volumearea}}.}}
|{{HistoryLine||1.21.20|dev=Preview 1.21.10.22|Removed {{cmd|volumearea}}.}}
|{{HistoryLine||1.21.50|dev=Preview 1.21.50.20|Added {{MC/Cmd|set_movement_authority}}.}}
|{{HistoryLine||1.21.50|dev=Preview 1.21.50.20|Added {{cmd|set_movement_authority}}.}}
|{{HistoryLine||1.21.50|exp=Aim Assist and Data-Driven Jigsaw Structures|dev=Preview 1.21.50.25|Added {{MC/Cmd|aimassist}} behind the "Aim Assist" experimental toggle.}}
|{{HistoryLine||1.21.50|exp=Aim Assist and Data-Driven Jigsaw Structures|dev=Preview 1.21.50.25|Added {{cmd|aimassist}} behind the "Aim Assist" [[Minecraft:experimental]] toggle.}}
|{{HistoryLine|||dev=Preview 1.21.50.26|Added {{MC/Cmd|place}} behind the "Data-Driven Jigsaw Structures" experimental toggle.}}
|{{HistoryLine|||dev=Preview 1.21.50.26|Added {{cmd|place}} behind the "Data-Driven Jigsaw Structures" [[Minecraft:experimental]] toggle.}}
|{{MC/HistoryLine||26.0|dev=Preview 26.0.23|Added command macros.}}
|{{HistoryLine||26.0|dev=Preview 26.0.23|Added command macros.}}
}}
}}


=== April Fools commands ===
=== April Fools commands ===
{{HistoryTable
{{HistoryTable
|{{MC/HistoryLine|java}}
|{{HistoryLine|java}}
|{{HistoryLine||20w14∞|Added {{MC/Cmd|debugdim}} and {{MC/Cmd|warp}}.}}
|{{HistoryLine||20w14∞|Added {{cmd|debugdim}} and {{cmd|warp}}.}}
|{{HistoryLine||23w13a_or_b|Added {{MC/Cmd|transform}} and {{MC/Cmd|vote}}.}}
|{{HistoryLine||23w13a_or_b|Added {{cmd|transform}} and {{cmd|vote}}.}}
}}
}}


== Issues ==
== Issues ==
{{MC/Issue list}}
{{issue list}}


== See also ==
== See also ==
*[[Minecraft:Argument types]]
*[[Minecraft:Argument types]]
*[[Minecraft:Coordinates]]
*[[Minecraft:Coordinates]]
*Entity format
*[[Minecraft:Entity format]]
*Formatting codes
*[[Minecraft:Formatting codes]]
*[[Minecraft:Text component format]]
*[[Minecraft:Text component format]]
*[[Minecraft:Target selectors]]
*[[Minecraft:Target selectors]]


== References ==
== References ==
{{MC/Reflist}}
{{reflist}}


== External links ==
== External links ==
Line 1,982: Line 1,982:


== Navigation ==
== Navigation ==
{{MC/Navbox commands}}
{{Navbox commands}}
{{MC/Navbox Java Edition technical|general}}
{{Navbox Java Edition technical|general}}
{{MC/Navbox Bedrock Edition}}
{{Navbox Bedrock Edition}}
{{Mojang featured|https://www.minecraft.net/en-us/article/block-week-command-block}}
{{Mojang featured|https://www.minecraft.net/en-us/article/block-week-command-block}}


Line 1,990: Line 1,990:
[[Category:Server]]
[[Category:Server]]


de:Befehl
[[Minecraft:de:Befehl]]
es:Comandos
[[Minecraft:es:Comandos]]
fr:Commandes
[[Minecraft:fr:Commandes]]
hu:Szerverparancsok
[[Minecraft:hu:Szerverparancsok]]
it:Comandi
[[Minecraft:it:Comandi]]
ja:コマンド
[[Minecraft:ja:コマンド]]
ko:명령어
[[Minecraft:ko:명령어]]
lzh:令
[[Minecraft:lzh:令]]
nl:Opdrachten
[[Minecraft:nl:Opdrachten]]
pl:Polecenia
[[Minecraft:pl:Polecenia]]
pt:Comandos
[[Minecraft:pt:Comandos]]
ru:Команды консоли
[[Minecraft:ru:Команды консоли]]
th:คำสั่ง
[[Minecraft:th:คำสั่ง]]
tr:Komutlar
[[Minecraft:tr:Komutlar]]
uk:Команди консолі
[[Minecraft:uk:Команди консолі]]
zh:命令
[[Minecraft:zh:命令]]

Latest revision as of 11:11, 11 April 2026

Template:For Template:Redirect Template:Redirect

File:Introduction-to-commands.jpg
Showcase of using Template:Command to change the time in Minecraft

Commands (also known as console commands or slash commands) are a game mechanic that execute specific actions when entered as text or triggered by blocks or certain Minecraft:entities.

Usage

File:Command Block UI 1.21.5.png
The interface of a command block in Template:JE
File:Command Block UI BE.png
The interface of a command block in Template:BE

In the client, commands are entered via the Minecraft:chat window, which is displayed by pressing the Template:Key / Template:Key / File:Chat button.pngTemplate:Only / Template:XbuttonTemplate:Only or Template:Key key. Using the Template:Key key also enters the forward-slash that commands require as a prefix, so it is a useful shortcut. The Template:Key / Template:Xbutton and Template:Key / Template:Xbutton keys can be used to view previously entered text, including all previously executed commands.

When the cursor is at a location corresponding to some types of argument (such as an entity ID), a list of applicable values appears above the text box. If the argument already contains characters, the list displays only those values containing the typed text. Pressing Template:Key while entering commands cycles through possible commands or arguments, and can be used to auto-enter them.

Commands may also be entered in a multiplayer Minecraft:server's console but are not preceded by a Template:Key when entered this way. A server owner running commands in this way is often referred to as "ghosting".

Commands in Minecraft:command blocks can be preceded by a slash, but it is not required.

Commands can be executed in the following ways:

File:Command macro toast.png
The toast that appears when a command macro fails

Template:IN, commands can be executed through specified Minecraft:hotkeys on keyboard & mouse controls, known as command macros. The keybinds with commands can be customized below all other keybinds in the settings. For up to 10 macros, a command can be entered in a text input, which can be quickly executed in-game by pressing Template:Keys. Command macros can be preceded by a slash, but it is not required. This feature is not to be confused with Java Edition's function macros, where functions may reference additional parameters and use them in macro lines (see Template:Slink).

Commands guide

Syntax

Template:IN:

Entry Meaning
Template:Code Enter this literally, exactly as shown.
Template:Code An argument, which should be replaced with an appropriate value. Note: the angle brackets should be replaced too; they only indicate the purpose of the text.
Decorator Meaning
Template:Code This entry is optional.
Template:Code
Template:Code
etc.
Required. Pick one of these entries.
Template:Code
Template:Code
etc.
Optional. Pick one of these entries.
Template:Code In the game, another full command is required.
In this wiki, some required parts are left out.
For example: Template:Code is an optional argument. Template:Code is an optional plain text.
For example: Template:Code, where Template:Code and Template:Code are plain texts that should be entered literally; Template:Code means we should pick one plain text from Template:Code and Template:Code; Template:Code and Template:Code are required arguments, which should be replaced with appropriate values; Template:Code is an optional argument.

Template:IN:

Entry Meaning
Template:Code Enter this literally, exactly as shown.
Template:Code An argument, which should be replaced with an appropriate value.
Template:Code Another full command is required.
Template:Code
Template:Code
etc.
Enter one of these texts literally.
Decorator Meaning
Template:Code This entry is required.
Template:Code This entry is optional.
Template:Code In this wiki, some required parts are left out.
The angle bracket decorator (Template:Code) is usually not used on a Template:Code. A required plain text does not need any decorator.
For example, both Template:Code and Template:Code represent a required plain text, but the latter one is usually not used. Template:Code is a required argument.

In both Template:El and Template:El, square bracket decorator (Template:Code) mean that an entry is optional. Entries decorated with square brackets can only be at the end of a command. Multiple entries decorated with square brackets are allowed at the end of a command, for example, Template:Code at the end of a command indicates that only Template:Code, Template:Code, and Template:Code are valid.

Restrictions

Most commands require the executor to have a high enough Minecraft:permission level. That means most commands are only available in the singleplayer world if cheats are enabled, and are only available in multiplayer servers if the player is an operator. See Minecraft:permission level for details.

Some commands have restrictions on who can use the command or in what context.

  • None: The command has no restriction.
  • Cheats only: Applicable only to Template:El. When executed by the server, or a script, the command is available no matter whether cheats are enabled. (Commands from the console, a scheduled function or a ticking function are executed by the server.) When executed in other ways, the command is available only if cheats are enabled. When cheats are disabled, these commands can't be used unless executed by a server or a script, even if the executor has a high Minecraft:permission level.
    • Template:IN, whether cheats are enabled only affects the permission level of a player. If an executor has a high enough permission level, it can use corresponding commands regardless of whether cheats are allowed.
  • Dedicated server only: The command is available only on dedicated servers.
  • No dedicated server: The command is not available on dedicated servers.

Cheats

Cheats can be enabled when creating a new world by Allow CommandsTemplate:Only / CheatsTemplate:Only options.

Template:IN, the "Allow Commands" option when creating a new world only affects the player in a singleplayer world or the owner of a LAN world. The "Allow Commands" option when opening a LAN world affects all players in the LAN world.

Template:IN, in singleplayer worlds where cheats were not enabled at creation, they can be enabled on a temporary basis by opening the current game session to LAN play ( Template:Key → "Open to LAN", then "Allow Cheats" button and "Start LAN World"). The player does not actually need to be on a LAN or have others join. This is not permanent but allows the use of commands until the player quits the world, and changes the player makes via commands (items spawned, etc.) are saved with the world. The player can do this each time the player starts playing the world again. Note that this disables game pausing for the duration, so while open to LAN, the player should get somewhere safe or reload their world before using the Game Menu. The player can disable the LAN world by reloading the world. To permanently enable cheats, the level.dat file has to be edited.

Template:IN, cheats can be toggled at any time in the "Cheats" tab of the settings menu. Enabling cheats in a world permanently prevents players from unlocking Minecraft:achievements in that world, even if cheats are later turned off. In Minecraft:Bedrock Dedicated Server, Template:Cmd command can be used to toggle cheats.

Argument types

Template:Main There are different argument types for arguments in commands. Minecraft:Coordinates, Minecraft:target selector, Minecraft:SNBT, Minecraft:text component, and so on are commonly used formats in arguments.

Parsing and execution

Template:See also

The command performing on the server side is divided into two stages: command parsing and command execution. During the command parsing stage, the game identifies the string as a command and checks whether the command is complete and whether arguments are specified correctly. During the command execution stage, the command fulfills its purpose.

When typing a command in the chat, or Minecraft:command block, the command is also be parsed in the client side first to provide autocompletion and help the player detect typing mistakes.

When typing an argument into the chat, it's noticeable if an argument cannot be parsed in the client side. However, being able to be parsed in the client side does not guarantee that this argument can be parsed in the server side.
Template:IN, if an argument can't be parsed by the client, the argument is marked in red, and a syntax error message is displayed above the chat bar.
Template:IN, when typing in the chat, if an argument can be parsed in the client side, the next argument in syntax hint turns to white from gray. If all arguments (including optional arguments) are entered and parseable in the client side, the whole syntax hint turns to gray from white.
Template:IN, typing a command in Minecraft:command block also behaves as above
Template:IN, when typing a command in Minecraft:command block, autocompletion is provided without syntax hint.

Template:IN, when entering into a command block, the command is parsed on the server side once the command block screen is closed. If the command is unparseable in the server side, a syntax error message is outputted into its output box.

When attempting to execute an unparseable command, an error message is displayed.

Template:IN, the message has a <--[HERE] at its end.
Template:IN, the message is Unknown command or Syntax error: unexpected ... at ....

Commands in Minecraft:functions are all parsed when loading the function. If any command in a function file is unparseable, the function cannot be loaded by the game. Template:IN, macro lines are parsed when attempting to run the function, see also Template:Slink and Template:Slink.

Template:IN, if a command in a script is unparseable, an error is thrown when trying to execute the command.

Output

After trying to execute a command, it may yield output values, including success count and stored valuesTemplate:Only.

Success count is the value a command passes to the command block executing it. A command block can power a Minecraft:redstone comparator facing away from it (may be separated by a block) with signal strength being the success count. The signal strength reflects the success count of the last command executed. Even after the command block is deactivated, the success count is retained until the command is executed again. Template:IN, the success count is also returned to the script executing the command. Template:IN, commands that cannot be executed in command blocks have no success count. Template:IN, commands that cannot be executed in command blocks or scripts still have a success count, but it cannot be obtained. Template:IN, success count is always 0 or 1, except the Template:Cmd command. Template:IN, success count is an integer between 0 to 2,147,483,647 (both inclusive) related to the command (e.g., the number of players affected by the command, the number of blocks that were altered, etc.)

Stored valuesTemplate:Only include Template:Cd value and Template:Cd value, which are the values passed by other commands to the Template:Cmd command, when a command is executed by a Template:Cmd command. These two values can be stored to a specified location by the Template:Cd subcommand in the Template:Cmd command. The Template:Cd value is always 0 or 1. The Template:Cd value is an integer (rounded down if not). All commands may yield these two stored values after execution, with only two exceptions: Template:Cmd command itself does not yield these two stored values; Template:Cmd command may not yield these two stored values in certain situation.

Result

After trying to execute a command, it has a certain result. Possible results include "Unparseable", "Failed", "Successful", "Void"Template:Only, "Terminated"Template:Only, and "Error"Template:Only.

Unparseable
If the entered command is unable to be parsed in the server side, it is unparseable.
ErrorTemplate:Only
If an error occurs with a command, it means that there's a noticeable bug on the command. It may result in unintended side effects, and it jumps out the Template:Cmd command halfway through, causing some branches to not be executed.
Technically, it means that an exception other than brigadier.exceptions.CommandSyntaxException is thrown during execution.
VoidTemplate:Only
Exclusive to Template:Cmd command. If it is void, the command has no Template:Code or Template:Code value to be stored by Template:Cmd.
TerminatedTemplate:Only
Exclusive to Template:Cmd command. When running a Template:Cmd command, if the number of execution branches becomes 0, the command terminates, ending before the last sub-command is executed.
For example: Template:Cmd in a command block. The command block is not an entity, so it cannot be selected by a Minecraft:target selector. As a result, the command is terminated at Template:Cd.
Failed and Successful
If a command is not unparseable, erroring, void, nor terminated, it may be failed or successful.
If the success count is 0, the command is failed. Otherwise, the command is successful.
Template:IN, commands that cannot be executed in command blocks have no success count. It is failed when Template:Cmd stores 0, and successful when Template:Cmd stores 1.
Template:IN, if the command cannot be executed in command blocks or scripts, it still has a success count, but it cannot be obtained.
Note that when we say that a command is failed or successful, it must not be unparseable, error, void, or terminated. Though when being unparseable, error, void or terminated, the success count is 0, it is not considered as being failed nor successful.
Note that not all "successful" commands actually do something, and not all "failed" commands fail to do something useful.

List of commands

The tables below will summarize all commands.

Available in Java Edition

Command Description Template:Tooltip Template:Tooltip Template:Tooltip Template:Tooltip Template:Tooltip Template:Tooltip
Template:Cmd Gives, removes, or checks player Minecraft:advancements. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Queries, adds, removes or sets an entity attribute. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Adds player to banlist. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Adds IP address to banlist. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Displays banlist. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Creates and modifies bossbars. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Clears items from player inventory. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Copies blocks from one place to another. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Applies damage to the specified entities. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Gets, merges, modifies, and removes Minecraft:block entity, Minecraft:entity, and command storage NBT data. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Controls loaded data packs. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Starts or stops a debugging session. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Sets the default Minecraft:game mode. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Revokes operator status from a player. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Shows dialog to clients. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Sets the difficulty level. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Adds or removes Minecraft:status effects. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Adds an enchantment to a player's selected item. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Executes another command. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd An alias of Template:Cmd. Adds or removes player Minecraft:experience. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Fetches a player profile. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Fills a region with a specific block. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Fills a region with a specific biome. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Forces Minecraft:chunks to constantly be loaded or not. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Runs a Minecraft:function. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Sets a player's Minecraft:game mode. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Sets or queries a Minecraft:game rule value. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Gives an item to a player. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Provides help for commands. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Manipulates items in inventories. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Starts or stops a JFR profiling. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Kicks a player off a server. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Kills entities (players, mobs, items, etc.). Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Lists players on the server. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Locates closest structure, biome, or point of interest. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Drops items from an inventory slot onto the ground. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Displays a message about the sender. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd An alias of Template:Cmd and Template:Cmd. Displays a private message to other players. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Grants operator status to a player. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Removes player from the banlist. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Removes IP address from the banlist. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Creates particles. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Captures info and metrics about the game for 10 seconds. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Used to place a configured feature, jigsaw, template, or structure at a given location. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Plays a sound. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Opens single-player world to local network. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Draw a random value or control the random number sequence. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Gives or takes player recipes. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Reloads loot tables, advancements, and functions from disk. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Control execution flow inside functions and change their return value. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Used to make entities ride other entities, or stop entities from riding. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Changes the rotation of an entity. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Saves the server to disk. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Disables automatic server saves. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Enables automatic server saves. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Displays a message to multiple players. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Delays the execution of a function. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Manages scoreboard objectives and players. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Displays the Minecraft:world seed. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Changes a block to another block. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Sets the time before idle players are kicked. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Sets the Minecraft:world spawn. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Sets the spawn point for a player. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Make one player in spectator mode spectate an entity. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Teleports entities to random locations. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Stops a server. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Stops a sound. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Summons an entity. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Swings the hands of an entity. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Controls entity tags. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Controls teams. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd An alias of Template:Cmd. Specifies the message to send to team. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd An alias of Template:Cmd. Teleports entities. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd An alias of Template:Cmd and Template:Cmd. Displays a private message to other players. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Displays a JSON message to players. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Manage and execute Minecraft:GameTests. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Controls the tick rate of the game. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Changes or queries the world's game time. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Manages screen titles. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd An alias of Template:Cmd. Specifies the message to send to team. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd An alias of Template:Cmd. Teleports entities. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Triggers a transfer of a player to another server. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Sets a trigger to be activated. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Presents the server's game version. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd An alias of Template:Cmd and Template:Cmd. Displays a private message to other players. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Manages waypoints displayed on the Minecraft:locator bar. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Sets the weather. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Manages server whitelist. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Manages the Minecraft:world border. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd An alias of Template:Cmd. Adds or removes player Minecraft:experience. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc

Debugging commands

Template:Debug warning

Debugging commands are not accessible by default, but can be enabled using Minecraft:debug properties.

Command Description Template:Tooltip Template:Tooltip Template:Tooltip Template:Tooltip Template:Tooltip Template:Tooltip Required debug property
Template:Cmd Shows how many warnings a Minecraft:sculk shrieker has before spawning a Minecraft:warden. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Nbt DEV_COMMANDS
Template:Cmd Shows the calculated path for entities. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Displays mob spawning information. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Starts a Minecraft:raid Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Configures a server resource pack. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Spawns all possible combinations of designs, materials, and armor types of armor trims. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Configuration options for debugging. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Sync the movement of two or more clients. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Nbt CHASE_COMMAND

Available in Bedrock Edition and Minecraft Education

Command Description Template:Tooltip Template:Tooltip Template:Tooltip Template:Tooltip Template:Tooltip Template:Tooltip Template:Tooltip Template:Tooltip
Template:Cmd An alias of Template:Cmd. Provides help for commands. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Grants or revokes a player ability. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd An alias of Template:Cmd. Manages server allowlist. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Modifies player's aim assist. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd An alias of Template:Cmd. Locks and unlocks the day-night cycle. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Switch to custom camera perspectives and fade the screen. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Used to enable a camera shaking effect. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Changes a setting on the dedicated server while it's running. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Clears items from player inventory. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Removes the spawn point for a player. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Copies blocks from one place to another. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd An alias of Template:Cmd. Attempts to connect to the websocket server. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Switching control schemes when the Experimental Creator Camera toggle is enabled. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Applies damage to the specified entities. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd An alias of Template:Cmd. Locks and unlocks the day-night cycle. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Attempts to connect to a websocket server. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Revokes operator status from a player. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Opens NPC dialogue for a player. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Sets the difficulty level. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Adds or removes Minecraft:status effects. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Adds an enchantment to a player's selected item. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Used to trigger an event on an entity. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Executes another command. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Fills a region with a specific block. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Used for managing active fog settings for players. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Runs a Minecraft:function. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Sets a player's Minecraft:game mode. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Sets or queries a Minecraft:game rule value. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd To test the GameTest features. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Enable or disable the Minecraft:game tips on this device. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Gives an item to a player. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd An alias of Template:Cmd. Provides help for commands. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Changes the visibility of a HUD element. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Allows setting immutable state of a world. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Specify the operation for the player's Minecraft:permission status. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Kicks a player off a server. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Kills entities (players, mobs, items, etc.). Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Lists players on the server. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Locates closest structure or biome. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Drops items from an inventory slot onto the ground. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Displays a message about the sender. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Enables/disables a specified mob event. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd An alias of Template:Cmd and Template:Cmd. Displays a private message to other players. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Allows the player to control playing music tracks. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Grants operator status to a player. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd An alias of Template:Cmd. Reloads and applies permissions. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Creates particles. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd An alias of Template:Cmd. Reloads and applies permissions. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Used to place a configured feature, jigsaw, template, or structure at a given location. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Used to run a one-off animation. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Plays a sound. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Contains tools for managing Minecraft:Editor projects. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Gives or takes player recipes. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Reloads loot tables, advancements, and functions from disk. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Reloads configuration files relating to variables, permissions, etc. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Reloads packetlimitconfig.json configuration file. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Removing agent. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Replaces items in inventories. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Used to make entities ride other entities, stop entities from riding, make rides evict their riders, or summon rides or riders. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Prepares a backup, queries its status, or resumes. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Displays a message to multiple players. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Delays the execution of a function. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Manages scoreboard objectives and players. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Debugging options for GameTest Framework. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Triggers a script event with an ID and message. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Send a request to show players the store offer. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Control the client or server to check a player movement. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Changes a block to another block. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Sets the maximum number of players allowed to join. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Sets the Minecraft:world spawn. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Sets the spawn point for a player. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Teleports entities to random locations. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Stops a server. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Stops a sound. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Used to save and load structures without having to use structure blocks items in inventories. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Summons an entity. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Controls entity tags. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd An alias of Template:Cmd. Teleports entities. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd An alias of Template:Cmd and Template:Cmd. Displays a private message to other players. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Displays a JSON message to players. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Counts entities matching specified conditions. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Tests whether a block is in a location. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Tests whether the blocks in two regions match. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Add, remove, or list ticking areas. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Changes or queries the world's game time. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Manages screen titles. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Controls screen titles with JSON messages. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Toggles the weather. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd An alias of Template:Cmd. Teleports entities. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Triggers a transfer of a player to another server. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd An alias of Template:Cmd and Template:Cmd. Displays a private message to other players. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd An alias of Template:Cmd. Ability to edit restricted blocks. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Sets the weather. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd An alias of Template:Cmd. Manages server allowlist. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd An alias of Template:Cmd. Ability to edit restricted blocks. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd An alias of Template:Cmd. Attempts to connect to the websocket server. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Adds or removes player Minecraft:experience. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc

Hidden commands

Template:Exclusive These commands are unavailable in general cases. Most of them can be accessed with a Websocket Server, NPC, the Scripting API or cheatsTemplate:Only. Note: You can easily check if a command is still in the game by typing Template:Cmd into a server console, or the ingame chat. If you do so, and it says Syntax error, then the command does not exist. If it either gives help on the command or says unknown command, then it is still in the game - for example, the command Template:Cmd will return Template:Code, while the command Template:Cmd will return Template:Code.

Command Description Template:Tooltip Template:Tooltip Template:Tooltip Template:Tooltip Template:Tooltip Template:Tooltip Template:Tooltip Template:Tooltip
Template:Cmd Controls the agent. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Sets Code Builder state for a player. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd<ref>bedrock samples for 1.20.80.5 release metadata/command_modules/mojang-commands.json line 15868</ref> UnknownTemplate:Info needed Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd<ref>bedrock samples for 1.20.80.5 release metadata/command_modules/mojang-commands.json line 15874</ref> UnknownTemplate:Info needed Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Ability to edit restricted blocks. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Closes the chat window of the local player if it is open. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Closes websocket connection if there is one. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Launches Code Builder. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Enable encryption for the current websocket connection. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Gets pixels for a specific chunk. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Gets list of chunks that are loaded. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Shows the information about the client. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Shows the information about the server. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Shows the name of the local player. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Gets the spawn position of the specified player(s). Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Gets the position of the top non-air block below the specified position. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Sets or gets the paused state of the game for all players. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Handle Educational Lesson reporting. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Lists the information about players on the server. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Gets transform, name, and id information about the given target entity or entities. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd<ref>bedrock samples for 1.20.80.5 release metadata/command_modules/mojang-commands.json line 15886</ref> Send a request to show players the store offer.Template:Info needed Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Spawns an item entity at position. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Takes a photo of a player or from a player's point of view. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc

Removed commands

Removed from Java Edition

Command Description Version removed Reason for deletion Template:Tooltip Template:Tooltip Template:Tooltip Template:Tooltip Template:Tooltip Template:Tooltip
Template:Cmd An alias of Template:Cmd. Provides help for commands. Template:Nowrap
(17w45a)
? Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc

Template:Cmd

Gives or takes an achievement from a player Template:Nowrap
(17w13a)
Minecraft:Achievements were superseded by Minecraft:advancements Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Bans a player by IP number Template:Nowrap Superseded by Template:Cmd Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Nowrap Modifies the data tag of a block Template:Nowrap
(17w47a)
Superseded by Template:Cmd Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Nowrap Broadcasts a message across the entire server Minecraft:Java Edition Classic 0.0.16a_01 Superseded by Template:Cmd Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Nowrap Force chunks to load constantly or not Template:Nowrap
(pre1)
Superseded by Template:Cmd Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Nowrap Modifies the data tag of an entity Template:Nowrap
(17w45b)
Superseded by Template:Cmd Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Nowrap Teleports player to the Minecraft:world spawn Template:Nowrap Superseded by Template:Cmd Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Locates biomes Template:Nowrap Superseded by Template:Cmd Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Used to place a configured feature at a given location Template:Nowrap Superseded by Template:Cmd Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Nowrap Replaces items in inventories Template:Nowrap
(20w46a)
Superseded by Template:Cmd Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Nowrap Sets the current location as the default spawn location for new players Template:Nowrap Superseded by Template:Cmd Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Nowrap Toggles between placing stone or bedrock Template:Nowrap Minecraft:Bedrock was added to the Creative inventory as a separate item Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Nowrap Update objectives from command results Template:Nowrap
(17w45a)
Merged with Template:Cmd Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Counts entities matching specified conditions. Template:Nowrap
(17w45a)
Merged with Template:Cmd Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Tests whether a block is in a location. Template:Nowrap
(17w45a)
Merged with Template:Cmd Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Tests whether the blocks in two regions match. Template:Nowrap
(17w45a)
Merged with Template:Cmd Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Nowrap Toggles the weather Template:Nowrap
(17w45a)
Redundancy with Template:Cmd Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Nowrap Pardons a banned player Template:Nowrap Superseded by Template:Cmd Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc

Removed from Bedrock Edition or Minecraft Education

Command Description Version removed Reason for deletion Template:Tooltip Template:Tooltip Template:Tooltip Template:Tooltip Template:Tooltip Template:Tooltip Template:Tooltip Template:Tooltip
Template:Nowrap Clears fixed inventory slots Template:Nowrap
(build 2)
? Template:Tc Template:Tc Template:Tc ? Template:Tc Template:Tc Template:Tc Template:Tc
Template:Nowrap Execute a command when condition is met Template:Nowrap Superseded by Template:Cmd Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Nowrap Execute a command ? Superseded by /execute Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Mixer interactivity control Template:Nowrap Mixer was discontinued Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Toggles player coordinates to be displayed on the HUD Template:Nowrap Superseded by Template:Cmd Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Nowrap Update the Minecraft:villagers' supply for economic trade ? ? Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Nowrap Sets fixed inventory slot with a specific item Minecraft:Pocket Edition v0.16.0 alpha
(build 2)
? Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Nowrap Sets the amount of fixed inventory slots Minecraft:Pocket Edition v0.16.0 alpha
(build 2)
? Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Transfer player to a server Template:Nowrap ? Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Attempts to connect to the websocket server to send a video stream ? Superseded by Template:Cmd. Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Attempts to run a action on video stream ? ? Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc
Template:Cmd Add, remove, or list volume areas Template:Nowrap ? Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc Template:Tc

Developer commands

Template:Main Template:Exclusive Developer commands are only enabled in internal development builds of Bedrock Edition, and are not normally accessible in release versions.

Agent commands

Template:Exclusive Superseded by Template:Cmd

Joke commands

Template:Exclusive These commands only exist in April Fools' Day joke versions of the game.

History

Template:See also Template:Info needed section

Command additions and changes

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

April Fools commands

Template:HistoryTable

Issues

Template:Issue list

See also

References

Template:Reflist

External links

Navigation

Template:Navbox commands Template:Navbox Java Edition technical Template:Navbox Bedrock Edition Template:Mojang featured

Minecraft:de:Befehl Minecraft:es:Comandos Minecraft:fr:Commandes Minecraft:hu:Szerverparancsok Minecraft:it:Comandi Minecraft:ja:コマンド Minecraft:ko:명령어 Minecraft:lzh:令 Minecraft:nl:Opdrachten Minecraft:pl:Polecenia Minecraft:pt:Comandos Minecraft:ru:Команды консоли Minecraft:th:คำสั่ง Minecraft:tr:Komutlar Minecraft:uk:Команди консолі Minecraft:zh:命令