Minecraft:Commands: Difference between revisions
More actions
Remove broken links to missing pages |
Fix template calls: add MC/ prefix |
||
| Line 1: | Line 1: | ||
{{For||Command (disambiguation)}} | {{MC/For||Command (disambiguation)}} | ||
{{Redirect|Slash|the attack|Sword}} | {{MC/Redirect|Slash|the attack|Sword}} | ||
{{Redirect|Code|the command|Commands/code}} | {{MC/Redirect|Code|the command|Commands/code}} | ||
[[File:Introduction-to-commands.jpg|thumb|Showcase of using {{Command|time}} to change the time in ''Minecraft'']] | [[File:Introduction-to-commands.jpg|thumb|Showcase of using {{MC/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 an advanced game mechanic that execute specific actions when entered as text or triggered by blocks or certain entities. | ||
== Usage == | == Usage == | ||
[[File:Command Block UI 1.21.5.png|thumb|The interface of a command block in {{JE}}]] | [[File:Command Block UI 1.21.5.png|thumb|The interface of a command block in {{MC/JE}}]] | ||
[[File:Command Block UI BE.png|thumb|The interface of a command block in {{BE}}]] | [[File:Command Block UI BE.png|thumb|The interface of a command block in {{MC/BE}}]] | ||
In the client, commands are entered via the chat window, which is displayed by pressing the {{ | 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. | ||
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 {{ | 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. | ||
Commands may also be entered in a multiplayer [[Minecraft:server]]'s console but are ''not'' preceded by a {{ | 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 in command blocks ''can'' be preceded by a slash, but it is not required. | Commands in command blocks ''can'' be preceded by a slash, but it is not required. | ||
| 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}}). | ||
== Commands guide == | == Commands guide == | ||
=== Syntax === | === Syntax === | ||
{{ | {{MC/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. | ||
|- | |- | ||
| {{ | | {{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. | ||
|} | |} | ||
:{| 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'''. | ||
|- | |- | ||
| {{ | | {{MC/Code|<nowiki>(entry|entry)</nowiki>}}<br>{{MC/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. | ||
|- | |- | ||
| {{ | | {{MC/Code|ellipsis ...}} || In the game, another full '''command''' is required.<br>In this wiki, some required parts are left out. | ||
|} | |} | ||
: For example: {{ | : For example: {{MC/Code|[<size>]}} is an optional argument. {{MC/Code|[size]}} is an optional plain text. | ||
: For example: {{code|advancement (grant{{!}}revoke) <targets> only <advancement> [<criterion>]}}, where {{ | : 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. | ||
{{ | {{MC/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. | ||
|- | |- | ||
| {{ | | {{MC/Code|name: type}} || An '''argument''', which should be replaced with an appropriate value. | ||
|- | |- | ||
| {{ | | {{MC/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. | ||
|} | |} | ||
:{| 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'''. | ||
|- | |- | ||
| {{ | | {{MC/Code|[entry]}} || This entry is '''optional'''. | ||
|- | |- | ||
| {{ | | {{MC/Code|ellipsis ...}} || In this wiki, some required parts are left out. | ||
|} | |} | ||
: The angle bracket decorator ({{ | : 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. | ||
: For example, both {{ | : 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. | ||
In both {{ | 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. | ||
=== 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 {{ | * ''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]]. | ||
** {{ | ** {{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. | ||
* ''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. | ||
| Line 95: | Line 95: | ||
Cheats can be enabled when creating a new world by Allow Commands{{only|je}} / Cheats{{only|be}} options. | Cheats can be enabled when 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. | ||
{{ | {{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. | ||
{{ | {{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. | ||
=== Argument types === | === Argument types === | ||
{{ | {{MC/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]], target selector, SNBT, text component, and so on are commonly used formats in arguments. | ||
=== Parsing and execution === | === Parsing and execution === | ||
{{ | {{MC/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. | ||
| Line 112: | Line 112: | ||
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 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. | ||
::{{ | ::{{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. | ||
:{{ | :{{MC/In|java}}, typing a command in command block also behaves as above | ||
:{{ | :{{MC/In|bedrock}}, when typing a command in 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. | ||
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. | ||
:{{ | :{{MC/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. {{ | 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}}. | ||
{{ | {{MC/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. {{ | 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.) | ||
Stored values{{only|je|short=1}} include {{ | 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. | ||
==== 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 {{ | :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. | ||
: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 {{ | :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}}. | ||
;Terminated{{only|java|short=1}} | ;Terminated{{only|java|short=1}} | ||
:Exclusive to {{ | :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. | ||
:For example: {{ | :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}}. | ||
;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. | ||
::{{ | ::{{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. | ||
: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;" | {{Tooltip|OP level required|Permission level required to perform the command}} | ! style="padding:0.4em;" | {{MC/Tooltip|OP level required|Permission level required to perform the command}} | ||
! style="padding:0.4em;" | {{Tooltip|Multiplayer only|Commands usable only in multiplayer}} | ! style="padding:0.4em;" | {{MC/Tooltip|Multiplayer only|Commands usable only in multiplayer}} | ||
! style="padding:0.2em;" | {{Tooltip|{{EnvSprite|blocks}}|Command modifies or queries blocks}} | ! style="padding:0.2em;" | {{Tooltip|{{MC/EnvSprite|blocks}}|Command modifies or queries blocks}} | ||
! style="padding:0.2em;" | {{Tooltip|{{EnvSprite|mobs}}|Command modifies or queries entities (mobs, dropped items, etc.)}} | ! style="padding:0.2em;" | {{Tooltip|{{MC/EnvSprite|mobs}}|Command modifies or queries entities (mobs, dropped items, etc.)}} | ||
! style="padding:0.2em;" | {{Tooltip|{{EnvSprite|player}}|Command modifies or queries players}} | ! style="padding:0.2em;" | {{Tooltip|{{MC/EnvSprite|player}}|Command modifies or queries players}} | ||
! style="padding:0.2em;" | {{Tooltip|{{EnvSprite|default}}|Command modifies or queries the world}} | ! style="padding:0.2em;" | {{Tooltip|{{MC/EnvSprite|default}}|Command modifies or queries the world}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|advancement}} | ||
| style="text-align:left;" |Gives, removes, or checks player advancements. | | style="text-align:left;" |Gives, removes, or checks player advancements. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|banlist}} | ||
| style="text-align:left;" |Displays banlist. | | style="text-align:left;" |Displays banlist. | ||
| {{ | | {{MC/Tc|yes|3}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|bossbar}} | ||
| style="text-align:left;" |Creates and modifies bossbars. | | style="text-align:left;" |Creates and modifies bossbars. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|{{EnvSprite|blocks}}}} || {{ | | {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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]], entity, and command storage NBT data. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{ | | {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|datapack}} | ||
| style="text-align:left;" |Controls loaded data packs. | | style="text-align:left;" |Controls loaded data packs. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|defaultgamemode}} | ||
| style="text-align:left;" |Sets the default game mode. | | style="text-align:left;" |Sets the default game mode. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|dialog}} | ||
| style="text-align:left;" |Shows dialog to clients. | | style="text-align:left;" |Shows dialog to clients. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|difficulty}} | ||
| style="text-align:left;" |Sets the difficulty level. | | style="text-align:left;" |Sets the difficulty level. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|effect}} | ||
| style="text-align:left;" |Adds or removes status effects. | | style="text-align:left;" |Adds or removes status effects. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|execute}} | ||
| style="text-align:left;" |Executes another command. | | style="text-align:left;" |Executes another command. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|yes|{{EnvSprite|default}}}} | | {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|experience}} | ||
| style="text-align:left;" |An alias of {{ | | style="text-align:left;" |An alias of {{MC/Cmd|xp}}. Adds or removes player experience. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|fetchprofile}} | ||
| style="text-align:left;" |Fetches a player profile. | | style="text-align:left;" |Fetches a player profile. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|{{EnvSprite|blocks}}}} || {{ | | {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|forceload}} | ||
| style="text-align:left;" |Forces chunks to constantly be loaded or not. | | style="text-align:left;" |Forces chunks to constantly be loaded or not. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|function}} | ||
| style="text-align:left;" |Runs a function. | | style="text-align:left;" |Runs a function. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|gamemode}} | ||
| style="text-align:left;" |Sets a player's game mode. | | style="text-align:left;" |Sets a player's game mode. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|gamerule}} | ||
| style="text-align:left;" |Sets or queries a game rule value. | | style="text-align:left;" |Sets or queries a game rule value. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|help}} | ||
| style="text-align:left;" |Provides help for commands. | | style="text-align:left;" |Provides help for commands. | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{ | | {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{ | | {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{ | | {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|msg}} | ||
| style="text-align:left;" |An alias of {{ | | style="text-align:left;" |An alias of {{MC/Cmd|tell}} and {{MC/Cmd|w}}. Displays a private message to other players. | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|particle}} | ||
| style="text-align:left;" |Creates particles. | | style="text-align:left;" |Creates particles. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|{{EnvSprite|blocks}}}} || {{ | | {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|playsound}} | ||
| style="text-align:left;" |Plays a sound. | | style="text-align:left;" |Plays a sound. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}}}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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 {{ | | {{tc|yes|0 (without {{MC/Code|sequence}})<br>2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|{{EnvSprite|blocks}}}} || {{ | | {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|stop}} | ||
| style="text-align:left;" |Stops a server. | | style="text-align:left;" |Stops a server. | ||
| {{ | | {{MC/Tc|yes|4}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|stopsound}} | ||
| style="text-align:left;" |Stops a sound. | | style="text-align:left;" |Stops a sound. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|summon}} | ||
| style="text-align:left;" |Summons an entity. | | style="text-align:left;" |Summons an entity. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|tag}} | ||
| style="text-align:left;" |Controls entity tags. | | style="text-align:left;" |Controls entity tags. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|team}} | ||
| style="text-align:left;" |Controls teams. | | style="text-align:left;" |Controls teams. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|teammsg}} | ||
| style="text-align:left;" |An alias of {{ | | style="text-align:left;" |An alias of {{MC/Cmd|tm}}. Specifies the message to send to team. | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|teleport}} | ||
| style="text-align:left;" |An alias of {{ | | style="text-align:left;" |An alias of {{MC/Cmd|tp|link=Commands/teleport}}. Teleports entities. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|tell}} | ||
| style="text-align:left;" |An alias of {{ | | style="text-align:left;" |An alias of {{MC/Cmd|msg}} and {{MC/Cmd|w}}. Displays a private message to other players. | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|test}} | ||
| style="text-align:left;" |Manage and execute GameTests. | | style="text-align:left;" |Manage and execute GameTests. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|title}} | ||
| style="text-align:left;" |Manages screen titles. | | style="text-align:left;" |Manages screen titles. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|tm}} | ||
| style="text-align:left;" |An alias of {{ | | style="text-align:left;" |An alias of {{MC/Cmd|teammsg}}. Specifies the message to send to team. | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|tp}} | ||
| style="text-align:left;" |An alias of {{ | | style="text-align:left;" |An alias of {{MC/Cmd|teleport}}. Teleports entities. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|w}} | ||
| style="text-align:left;" |An alias of {{ | | style="text-align:left;" |An alias of {{MC/Cmd|tell}} and {{MC/Cmd|msg}}. Displays a private message to other players. | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|waypoint}} | ||
| style="text-align:left;" |Manages waypoints displayed on the locator bar. | | style="text-align:left;" |Manages waypoints displayed on the locator bar. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|weather}} | ||
| style="text-align:left;" |Sets the weather. | | style="text-align:left;" |Sets the weather. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|whitelist}} | ||
| style="text-align:left;" |Manages server whitelist. | | style="text-align:left;" |Manages server whitelist. | ||
| {{ | | {{MC/Tc|yes|3}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|worldborder}} | ||
| style="text-align:left;" |Manages the world border. | | style="text-align:left;" |Manages the world border. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|xp}} | ||
| style="text-align:left;" |An alias of {{ | | style="text-align:left;" |An alias of {{MC/Cmd|experience}}. Adds or removes player experience. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|} | |} | ||
==== Debugging commands ==== | ==== Debugging commands ==== | ||
{{ | {{MC/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 debug properties. | ||
| Line 633: | Line 633: | ||
! style="text-align:left;" | Command | ! style="text-align:left;" | Command | ||
! style="text-align:left;" class="unsortable" | Description | ! style="text-align:left;" class="unsortable" | Description | ||
! {{Tooltip|OP level required|Permission level required to perform the command}} | ! {{MC/Tooltip|OP level required|Permission level required to perform the command}} | ||
! {{Tooltip|Multiplayer only|Commands usable only in multiplayer}} | ! {{MC/Tooltip|Multiplayer only|Commands usable only in multiplayer}} | ||
! {{Tooltip|{{EnvSprite|blocks}}|Command modifies or queries blocks}} | ! {{Tooltip|{{MC/EnvSprite|blocks}}|Command modifies or queries blocks}} | ||
! {{Tooltip|{{EnvSprite|mobs}}|Command modifies or queries entities (mobs, dropped items, etc.)}} | ! {{Tooltip|{{MC/EnvSprite|mobs}}|Command modifies or queries entities (mobs, dropped items, etc.)}} | ||
! {{Tooltip|{{EnvSprite|player}}|Command modifies or queries players}} | ! {{Tooltip|{{MC/EnvSprite|player}}|Command modifies or queries players}} | ||
! {{Tooltip|{{EnvSprite|default}}|Command modifies or queries the world}} | ! {{Tooltip|{{MC/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;" |{{ | | style="text-align:left;" |{{MC/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 sculk shrieker has before spawning a [[Minecraft:warden]]. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
| rowspan="7" style="text-align:left;" | {{ | | rowspan="7" style="text-align:left;" | {{MC/Nbt|bool}} <code>DEV_COMMANDS</code> | ||
|- | |- | ||
| style="text-align:left;" | {{ | | style="text-align:left;" | {{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" | {{ | | style="text-align:left;" | {{MC/Cmd|debugmobspawning}} | ||
| style="text-align:left;" | Displays mob spawning information. | | style="text-align:left;" | Displays mob spawning information. | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" | {{ | | style="text-align:left;" | {{MC/Cmd|raid}} | ||
| style="text-align:left;" | Starts a raid | | style="text-align:left;" | Starts a raid | ||
| {{ | | {{MC/Tc|yes|3}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" | {{ | | style="text-align:left;" | {{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" | {{ | | style="text-align:left;" | {{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" | {{ | | style="text-align:left;" | {{MC/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}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" | {{ | | style="text-align:left;" | {{MC/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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
| style="text-align:left;" | {{ | | style="text-align:left;" | {{MC/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 | ||
! {{Tooltip|''BE''|Available in Bedrock Edition}} | ! {{MC/Tooltip|''BE''|Available in Bedrock Edition}} | ||
! {{Tooltip|''edu''|Available in Minecraft Education}} | ! {{MC/Tooltip|''edu''|Available in Minecraft Education}} | ||
! {{Tooltip|OP level required|Command permission level required to perform the command}} | ! {{MC/Tooltip|OP level required|Command permission level required to perform the command}} | ||
! {{Tooltip|Server only|Commands usable only in servers}} | ! {{MC/Tooltip|Server only|Commands usable only in servers}} | ||
! {{Tooltip|{{EnvSprite|blocks}}|Command modifies or queries blocks}} | ! {{Tooltip|{{MC/EnvSprite|blocks}}|Command modifies or queries blocks}} | ||
! {{Tooltip|{{EnvSprite|mobs}}|Command modifies or queries entities (mobs, dropped items, etc.)}} | ! {{Tooltip|{{MC/EnvSprite|mobs}}|Command modifies or queries entities (mobs, dropped items, etc.)}} | ||
! {{Tooltip|{{EnvSprite|player}}|Command modifies or queries players}} | ! {{Tooltip|{{MC/EnvSprite|player}}|Command modifies or queries players}} | ||
! {{Tooltip|{{EnvSprite|default}}|Command modifies or queries the world}} | ! {{Tooltip|{{MC/EnvSprite|default}}|Command modifies or queries the world}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|?}} | ||
| style="text-align:left;" |An alias of {{ | | style="text-align:left;" |An alias of {{MC/Cmd|help}}. Provides help for commands. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|allowlist}} | ||
| style="text-align:left;" |An alias of {{ | | style="text-align:left;" |An alias of {{MC/Cmd|whitelist}}. Manages server allowlist. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|yes|4}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|alwaysday}} | ||
| style="text-align:left;" |An alias of {{ | | style="text-align:left;" |An alias of {{MC/Cmd|daylock}}. Locks and unlocks the day-night cycle. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|yes|4}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{tc|yes|{{EnvSprite|blocks}}}} || {{ | | {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|connect}} | ||
| style="text-align:left;" |An alias of {{ | | style="text-align:left;" |An alias of {{MC/Cmd|wsserver}}. Attempts to connect to the websocket server. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{tc|yes|0{{only|education|short=1}}<br>2{{only|bedrock|short=1}}}} || {{ | | {{tc|yes|0{{only|education|short=1}}<br>2{{only|bedrock|short=1}}}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|yes|?}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|daylock}} | ||
| style="text-align:left;" |An alias of {{ | | style="text-align:left;" |An alias of {{MC/Cmd|alwaysday}}. Locks and unlocks the day-night cycle. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|difficulty}} | ||
| style="text-align:left;" |Sets the difficulty level. | | style="text-align:left;" |Sets the difficulty level. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|effect}} | ||
| style="text-align:left;" |Adds or removes status effects. | | style="text-align:left;" |Adds or removes status effects. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|execute}} | ||
| style="text-align:left;" |Executes another command. | | style="text-align:left;" |Executes another command. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|yes|{{EnvSprite|default}}}} | | {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{tc|yes|{{EnvSprite|blocks}}}} || {{ | | {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|function}} | ||
| style="text-align:left;" |Runs a function. | | style="text-align:left;" |Runs a function. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|gamemode}} | ||
| style="text-align:left;" |Sets a player's game mode. | | style="text-align:left;" |Sets a player's game mode. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|gamerule}} | ||
| style="text-align:left;" |Sets or queries a game rule value. | | style="text-align:left;" |Sets or queries a game rule value. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|gametips}} | ||
| style="text-align:left;" |Enable or disable the game tips on this device. | | style="text-align:left;" |Enable or disable the game tips on this device. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|yes|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|help}} | ||
| style="text-align:left;" |An alias of {{ | | style="text-align:left;" |An alias of {{MC/Cmd|?}}. Provides help for commands. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|hud}} | ||
| style="text-align:left;" |Changes the visibility of a HUD element. | | style="text-align:left;" |Changes the visibility of a HUD element. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" | {{ | | style="text-align:left;" | {{MC/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 permission status. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{ | | {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{ | | {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|msg}} | ||
| style="text-align:left;" |An alias of {{ | | style="text-align:left;" |An alias of {{MC/Cmd|tell}} and {{MC/Cmd|w}}. Displays a private message to other players. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|ops}} | ||
| style="text-align:left;" |An alias of {{ | | style="text-align:left;" |An alias of {{MC/Cmd|permission}}. Reloads and applies permissions. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|yes|4}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|particle}} | ||
| style="text-align:left;" |Creates particles. | | style="text-align:left;" |Creates particles. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|permission}} | ||
| style="text-align:left;" |An alias of {{ | | style="text-align:left;" |An alias of {{MC/Cmd|ops}}. Reloads and applies permissions. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|yes|4}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{tc|yes|{{EnvSprite|blocks}}}} || {{ | | {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|playsound}} | ||
| style="text-align:left;" |Plays a sound. | | style="text-align:left;" |Plays a sound. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|project}} | ||
| style="text-align:left;" |Contains tools for managing Editor projects. | | style="text-align:left;" |Contains tools for managing Editor projects. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|yes|4}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|yes|4}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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--> | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|replaceitem}} | ||
| style="text-align:left;" |Replaces items in inventories. | | style="text-align:left;" |Replaces items in inventories. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{ | | {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|yes|4}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|?}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|?}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|yes|4}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{tc|yes|{{EnvSprite|blocks}}}} || {{ | | {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|3}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|stop}} | ||
| style="text-align:left;" |Stops a server. | | style="text-align:left;" |Stops a server. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|yes|4}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|stopsound}} | ||
| style="text-align:left;" |Stops a sound. | | style="text-align:left;" |Stops a sound. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{ | | {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|summon}} | ||
| style="text-align:left;" |Summons an entity. | | style="text-align:left;" |Summons an entity. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|tag}} | ||
| style="text-align:left;" |Controls entity tags. | | style="text-align:left;" |Controls entity tags. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|teleport}} | ||
| style="text-align:left;" |An alias of {{ | | style="text-align:left;" |An alias of {{MC/Cmd|tp|link=Commands/teleport}}. Teleports entities. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|tell}} | ||
| style="text-align:left;" |An alias of {{ | | style="text-align:left;" |An alias of {{MC/Cmd|msg}} and {{MC/Cmd|w}}. Displays a private message to other players. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{tc|yes|{{EnvSprite|blocks}}}} || {{ | | {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{tc|yes|{{EnvSprite|blocks}}}} || {{ | | {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|title}} | ||
| style="text-align:left;" |Manages screen titles. | | style="text-align:left;" |Manages screen titles. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|toggledownfall}} | ||
| style="text-align:left;" |Toggles the weather. | | style="text-align:left;" |Toggles the weather. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|tp}} | ||
| style="text-align:left;" |An alias of {{ | | style="text-align:left;" |An alias of {{MC/Cmd|teleport}}. Teleports entities. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|4}} || {{MC/Tc|Yes}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|w}} | ||
| style="text-align:left;" |An alias of {{ | | style="text-align:left;" |An alias of {{MC/Cmd|tell}} and {{MC/Cmd|msg}}. Displays a private message to other players. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|wb}} | ||
| style="text-align:left;" |An alias of {{ | | style="text-align:left;" |An alias of {{MC/Cmd|worldbuilder}}. Ability to edit restricted blocks. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|weather}} | ||
| style="text-align:left;" |Sets the weather. | | style="text-align:left;" |Sets the weather. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|whitelist}} | ||
| style="text-align:left;" |An alias of {{ | | style="text-align:left;" |An alias of {{MC/Cmd|allowlist}}. Manages server allowlist. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|yes|4}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|worldbuilder}} | ||
| style="text-align:left;" |An alias of {{ | | style="text-align:left;" |An alias of {{MC/Cmd|wb}}. Ability to edit restricted blocks. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|wsserver}} | ||
| style="text-align:left;" |An alias of {{ | | style="text-align:left;" |An alias of {{MC/Cmd|connect}}. Attempts to connect to the websocket server. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{tc|yes|0{{only|education|short=1}}<br>2{{only|bedrock|short=1}}}} || {{ | | {{tc|yes|0{{only|education|short=1}}<br>2{{only|bedrock|short=1}}}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|xp}} | ||
| style="text-align:left;" |Adds or removes player experience. | | style="text-align:left;" |Adds or removes player experience. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|} | |} | ||
=== Hidden commands === | === Hidden commands === | ||
{{ | {{MC/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 {{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 {{ | 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<<"}}. | ||
{| 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 | ||
! {{Tooltip|''BE''|Available in Bedrock Edition}} | ! {{MC/Tooltip|''BE''|Available in Bedrock Edition}} | ||
! {{Tooltip|''edu''|Available in Minecraft Education}} | ! {{MC/Tooltip|''edu''|Available in Minecraft Education}} | ||
! {{Tooltip|OP level required|Command permission level required to perform the command}} | ! {{MC/Tooltip|OP level required|Command permission level required to perform the command}} | ||
! {{Tooltip|Server only|Commands usable only in servers}} | ! {{MC/Tooltip|Server only|Commands usable only in servers}} | ||
! {{Tooltip|{{EnvSprite|blocks}}|Command modifies or queries blocks}} | ! {{Tooltip|{{MC/EnvSprite|blocks}}|Command modifies or queries blocks}} | ||
! {{Tooltip|{{EnvSprite|mobs}}|Command modifies or queries entities (mobs, dropped items, etc.)}} | ! {{Tooltip|{{MC/EnvSprite|mobs}}|Command modifies or queries entities (mobs, dropped items, etc.)}} | ||
! {{Tooltip|{{EnvSprite|player}}|Command modifies or queries players}} | ! {{Tooltip|{{MC/EnvSprite|player}}|Command modifies or queries players}} | ||
! {{Tooltip|{{EnvSprite|default}}|Command modifies or queries the world}} | ! {{Tooltip|{{MC/EnvSprite|default}}|Command modifies or queries the world}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|agent}} | ||
| style="text-align:left;" |Controls the agent. | | style="text-align:left;" |Controls the agent. | ||
| {{ | | {{MC/Tc|yes}} || {{MC/Tc|yes}} | ||
| {{tc|yes|0{{only|education|short=1}}<br>1{{only|bedrock|short=1}}}} || {{ | | {{tc|yes|0{{only|education|short=1}}<br>1{{only|bedrock|short=1}}}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
|{{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> | |{{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> | ||
|Unknown{{ | |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}} | ||
| {{ | | {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|n/a|?}} | ||
| {{ | | {{MC/Tc|n/a|?}} | ||
| {{ | | {{MC/Tc|n/a|?}} | ||
| {{ | | {{MC/Tc|n/a|?}} | ||
| {{ | | {{MC/Tc|n/a|?}} | ||
| {{ | | {{MC/Tc|n/a|?}} | ||
|- | |- | ||
|{{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> | |{{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> | ||
|Unknown{{ | |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}} | ||
| {{ | | {{MC/Tc|n/a|?}} | ||
| {{ | | {{MC/Tc|n/a|?}} | ||
| {{ | | {{MC/Tc|n/a|?}} | ||
| {{ | | {{MC/Tc|n/a|?}} | ||
| {{ | | {{MC/Tc|n/a|?}} | ||
| {{ | | {{MC/Tc|n/a|?}} | ||
| {{ | | {{MC/Tc|n/a|?}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|code}} | ||
| style="text-align:left;" |Launches Code Builder. | | style="text-align:left;" |Launches Code Builder. | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|3}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|3}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|3}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|0{{only|education|short=1}}<br>1{{only|bedrock|short=1}}}} || {{ | | {{tc|yes|0{{only|education|short=1}}<br>1{{only|bedrock|short=1}}}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|3}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|lesson}} | ||
| style="text-align:left;" |Handle Educational Lesson reporting. | | style="text-align:left;" |Handle Educational Lesson reporting. | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|3}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|0{{only|education|short=1}}<br>2{{only|bedrock|short=1}}}} || {{ | | {{tc|yes|0{{only|education|short=1}}<br>2{{only|bedrock|short=1}}}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
|{{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> | |{{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> | ||
|Send a request to show players the store offer.{{ | |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}} | ||
| {{ | | {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|yes|4}} | ||
| {{ | | {{MC/Tc|n/a|?}} | ||
| {{ | | {{MC/Tc|n/a|?}} | ||
| {{ | | {{MC/Tc|n/a|?}} | ||
| {{ | | {{MC/Tc|n/a|?}} | ||
| {{ | | {{MC/Tc|n/a|?}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/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 | ||
!{{Tooltip|OP level required|Permission level required to perform the command}} | !{{MC/Tooltip|OP level required|Permission level required to perform the command}} | ||
!{{Tooltip|Multiplayer only|Commands usable only in multiplayer}} | !{{MC/Tooltip|Multiplayer only|Commands usable only in multiplayer}} | ||
!{{Tooltip|{{EnvSprite|blocks}}|Command modifies or queries blocks}} | !{{Tooltip|{{MC/EnvSprite|blocks}}|Command modifies or queries blocks}} | ||
!{{Tooltip|{{EnvSprite|mobs}}|Command modifies or queries entities (mobs, dropped items, etc.)}} | !{{Tooltip|{{MC/EnvSprite|mobs}}|Command modifies or queries entities (mobs, dropped items, etc.)}} | ||
!{{Tooltip|{{EnvSprite|player}}|Command modifies or queries players}} | !{{Tooltip|{{MC/EnvSprite|player}}|Command modifies or queries players}} | ||
!{{Tooltip|{{EnvSprite|default}}|Command modifies or queries the world}} | !{{Tooltip|{{MC/EnvSprite|default}}|Command modifies or queries the world}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|?}} | ||
| style="text-align:left;" |An alias of {{ | | style="text-align:left;" |An alias of {{MC/Cmd|help}}. Provides help for commands. | ||
| data-sort-value="4 1.13 17w45a" |{{ | | data-sort-value="4 1.13 17w45a" |{{MC/Nowrap|Java Edition 1.13}}<br>(17w45a) | ||
|'''?''' | |'''?''' | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" | | | style="text-align:left;" | | ||
<span class="nowrap">{{ | <span class="nowrap">{{MC/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" |{{ | | data-sort-value="4 1.12 17w13a" |{{MC/Nowrap|Java Edition 1.12}}<br>(17w13a) | ||
| style="text-align:left;" |Achievements were superseded by advancements | | style="text-align:left;" |Achievements were superseded by advancements | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |<span class="nowrap">{{ | | style="text-align:left;" |<span class="nowrap">{{MC/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" |{{ | | data-sort-value="2 0.31" |{{MC/Nowrap|Java Edition Indev 0.31}} | ||
| style="text-align:left;" |Superseded by {{ | | style="text-align:left;" |Superseded by {{MC/Cmd|ban-ip}} | ||
| {{ | | {{MC/Tc|yes|3}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{nowrap|{{ | | style="text-align:left;" |{{nowrap|{{MC/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" |{{ | | data-sort-value="4 1.13 17w47a" |{{MC/Nowrap|Java Edition 1.13}}<br>([[Minecraft:Java Edition 17w47a|17w47a]]) | ||
| style="text-align:left;" |Superseded by {{ | | style="text-align:left;" |Superseded by {{MC/Cmd|data}} | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{tc|yes|{{EnvSprite|blocks}}}} || {{ | | {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{nowrap|{{ | | style="text-align:left;" |{{nowrap|{{MC/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" |Java Edition Classic 0.0.16a_01 | ||
| style="text-align:left;" |Superseded by {{ | | style="text-align:left;" |Superseded by {{MC/Cmd|say}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{nowrap|{{ | | style="text-align:left;" |{{nowrap|{{MC/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" |{{ | | data-sort-value="4 1.13.1 pre1" |{{MC/Nowrap|Java Edition 1.13.1}}<br>(pre1) | ||
| style="text-align:left;" |Superseded by {{ | | style="text-align:left;" |Superseded by {{MC/Cmd|forceload}} | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{nowrap|{{ | | style="text-align:left;" |{{nowrap|{{MC/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" |{{ | | data-sort-value="4 1.13 17w45b" |{{MC/Nowrap|Java Edition 1.13}}<br>(17w45b) | ||
| style="text-align:left;" |Superseded by {{ | | style="text-align:left;" |Superseded by {{MC/Cmd|data}} | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{nowrap|{{ | | style="text-align:left;" |{{nowrap|{{MC/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" |{{ | | data-sort-value="3 1.2.5" |{{MC/Nowrap|Java Edition Alpha v1.2.5}} | ||
| style="text-align:left;" |Superseded by {{ | | style="text-align:left;" |Superseded by {{MC/Cmd|kill}} | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|locatebiome}} | ||
| style="text-align:left;" |Locates biomes | | style="text-align:left;" |Locates biomes | ||
| data-sort-value="4" 1.19 22w19a |{{ | | data-sort-value="4" 1.19 22w19a |{{MC/Nowrap|Java Edition 1.19<br>(22w19a)}} | ||
| style="text-align:left;" |Superseded by {{ | | style="text-align:left;" |Superseded by {{MC/Cmd|locate}} | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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" |{{ | | data-sort-value="4 1.19 22w18a" |{{MC/Nowrap|Java Edition 1.19<br>(22w18a)}} | ||
| style="text-align:left;" |Superseded by {{ | | style="text-align:left;" |Superseded by {{MC/Cmd|place}} | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{tc|yes|{{EnvSprite|blocks}}}} || {{ | | {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{nowrap|{{ | | style="text-align:left;" |{{nowrap|{{MC/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" |{{ | | data-sort-value="4 1.17 20w46a" |{{MC/Nowrap|Java Edition 1.17}}<br>(20w46a) | ||
| style="text-align:left;" |Superseded by {{ | | style="text-align:left;" |Superseded by {{MC/Cmd|item}} | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{ | | {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{nowrap|{{ | | style="text-align:left;" |{{nowrap|{{MC/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" |{{ | | data-sort-value="2 0.31" |{{MC/Nowrap|Java Edition Indev 0.31}} | ||
| style="text-align:left;" |Superseded by {{ | | style="text-align:left;" |Superseded by {{MC/Cmd|setworldspawn}} | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{nowrap|{{ | | style="text-align:left;" |{{nowrap|{{MC/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" |{{ | | data-sort-value="2 0.31" |{{MC/Nowrap|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|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{nowrap|{{ | | style="text-align:left;" |{{nowrap|{{MC/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" |{{ | | data-sort-value="4 1.13 17w45a" |{{MC/Nowrap|Java Edition 1.13}}<br>(17w45a) | ||
| style="text-align:left;" |Merged with {{ | | style="text-align:left;" |Merged with {{MC/Cmd|execute}} | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{ | | {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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" |{{ | | data-sort-value="4 1.13 17w45a" |{{MC/Nowrap|Java Edition 1.13}}<br>(17w45a) | ||
| style="text-align:left;" |Merged with {{ | | style="text-align:left;" |Merged with {{MC/Cmd|execute}} | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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" |{{ | | data-sort-value="4 1.13 17w45a" |{{MC/Nowrap|Java Edition 1.13}}<br>(17w45a) | ||
| style="text-align:left;" |Merged with {{ | | style="text-align:left;" |Merged with {{MC/Cmd|execute}} | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{tc|yes|{{EnvSprite|blocks}}}} || {{ | | {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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" |{{ | | data-sort-value="4 1.13 17w45a" |{{MC/Nowrap|Java Edition 1.13}}<br>(17w45a) | ||
| style="text-align:left;" |Merged with {{ | | style="text-align:left;" |Merged with {{MC/Cmd|execute}} | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{tc|yes|{{EnvSprite|blocks}}}} || {{ | | {{tc|yes|{{MC/EnvSprite|blocks}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{nowrap|{{ | | style="text-align:left;" |{{nowrap|{{MC/Cmd|toggledownfall}}}} | ||
| style="text-align:left;" |Toggles the weather | | style="text-align:left;" |Toggles the weather | ||
| data-sort-value="4 1.13 17w45a" |{{ | | data-sort-value="4 1.13 17w45a" |{{MC/Nowrap|Java Edition 1.13}}<br>(17w45a) | ||
| style="text-align:left;" |Redundancy with {{ | | style="text-align:left;" |Redundancy with {{MC/Cmd|weather}} | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|- | |- | ||
| style="text-align:left;" |{{nowrap|{{ | | style="text-align:left;" |{{nowrap|{{MC/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" |{{ | | data-sort-value="3 1.0.16" |{{MC/Nowrap|Java Edition Alpha v1.0.16}} | ||
| style="text-align:left;" |Superseded by {{ | | style="text-align:left;" |Superseded by {{MC/Cmd|pardon}} | ||
| {{ | | {{MC/Tc|yes|3}} || {{MC/Tc|yes}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/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 | ||
!{{Tooltip|BE|Available in Bedrock Edition}} | !{{MC/Tooltip|BE|Available in Bedrock Edition}} | ||
!{{Tooltip|edu|Available in Minecraft Education}} | !{{MC/Tooltip|edu|Available in Minecraft Education}} | ||
!{{Tooltip|OP level required|Command permission level required in Bedrock and Education Edition to perform the command}} | !{{MC/Tooltip|OP level required|Command permission level required in Bedrock and Education Edition to perform the command}} | ||
!{{Tooltip|Server only|Commands usable only in servers}} | !{{MC/Tooltip|Server only|Commands usable only in servers}} | ||
!{{Tooltip|{{EnvSprite|blocks}}|Command modifies or queries blocks}} | !{{Tooltip|{{MC/EnvSprite|blocks}}|Command modifies or queries blocks}} | ||
!{{Tooltip|{{EnvSprite|mobs}}|Command modifies or queries entities (mobs, dropped items, etc.)}} | !{{Tooltip|{{MC/EnvSprite|mobs}}|Command modifies or queries entities (mobs, dropped items, etc.)}} | ||
!{{Tooltip|{{EnvSprite|player}}|Command modifies or queries players}} | !{{Tooltip|{{MC/EnvSprite|player}}|Command modifies or queries players}} | ||
!{{Tooltip|{{EnvSprite|default}}|Command modifies or queries the world}} | !{{Tooltip|{{MC/EnvSprite|default}}|Command modifies or queries the world}} | ||
|- | |- | ||
| style="text-align:left;" |{{nowrap|{{ | | style="text-align:left;" |{{nowrap|{{MC/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" |{{ | | 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]]) | ||
|'''?''' | |'''?''' | ||
| {{ | | {{MC/Tc|no|removed}} || {{MC/Tc|no|removed}} | ||
| {{ | | {{MC/Tc|yes|2}} ||'''?''' | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{nowrap|{{ | | style="text-align:left;" |{{nowrap|{{MC/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" |{{ | | data-sort-value="6 0.16.0" |{{MC/Nowrap|[[Minecraft:Bedrock Edition 1.2.0]]}} | ||
| style="text-align:left;" |Superseded by {{ | | style="text-align:left;" |Superseded by {{MC/Cmd|execute}} | ||
| {{ | | {{MC/Tc|no|removed}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{nowrap|{{ | | style="text-align:left;" |{{nowrap|{{MC/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}} | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/Cmd|mixer}} | ||
| style="text-align:left;" |Mixer interactivity control | | style="text-align:left;" |Mixer interactivity control | ||
| data-sort-value="7 1.0.21" |{{ | | data-sort-value="7 1.0.21" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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" |{{ | | data-sort-value="7 1.0.21" |{{MC/Nowrap|Education Edition 1.0.21}} | ||
| style="text-align:left;" |Superseded by {{ | | style="text-align:left;" |Superseded by {{MC/Cmd|gamerule}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|no|Removed}} | ||
| {{ | | {{MC/Tc|no|0}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{nowrap|{{ | | style="text-align:left;" |{{nowrap|{{MC/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|-}} | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|mobs}}}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{nowrap|{{ | | style="text-align:left;" |{{nowrap|{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{nowrap|{{ | | style="text-align:left;" |{{nowrap|{{MC/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}} | ||
| {{ | | {{MC/Tc|yes|2}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|player}}}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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" |{{ | | data-sort-value="6 1.2.3" |{{MC/Nowrap|[[Minecraft:Bedrock Edition 1.2.3]]}} | ||
|'''?''' | |'''?''' | ||
| {{ | | {{MC/Tc|no|removed}} || {{MC/Tc|no|removed}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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 {{ | |Superseded by {{MC/Cmd|connect}}. | ||
| {{ | | {{MC/Tc|no|Removed}}|| {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|yes|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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|-}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|yes|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} | ||
|- | |- | ||
| style="text-align:left;" |{{ | | style="text-align:left;" |{{MC/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" |{{ | | data-sort-value="5 1.21.10.22" |{{MC/Nowrap|[[Minecraft:Bedrock Edition 1.21.20]]}} | ||
|'''?''' | |'''?''' | ||
| {{ | | {{MC/Tc|no|Removed}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|yes|1}} || {{MC/Tc|-}} | ||
| {{ | | {{MC/Tc|-}} || {{MC/Tc|-}} || {{MC/Tc|-}} || {{tc|yes|{{MC/EnvSprite|default}}}} | ||
|} | |} | ||
==== Developer commands ==== | ==== Developer commands ==== | ||
{{ | {{MC/Main|Developer commands}} | ||
{{ | {{MC/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}} | ||
Superseded by {{ | Superseded by {{MC/Cmd|agent}} | ||
*{{ | *{{MC/Cmd|move}} | ||
*{{ | *{{MC/Cmd|turn}} | ||
*{{ | *{{MC/Cmd|attack}} | ||
*{{ | *{{MC/Cmd|destroy}} | ||
*{{ | *{{MC/Cmd|drop}} | ||
*{{ | *{{MC/Cmd|dropall}} | ||
*{{ | *{{MC/Cmd|inspect}} | ||
*{{ | *{{MC/Cmd|inspectdata}} | ||
*{{ | *{{MC/Cmd|detect}} | ||
*{{ | *{{MC/Cmd|detectredstone}} | ||
*{{ | *{{MC/Cmd|transfer|link=Commands/transfer (Education)}} | ||
*{{ | *{{MC/Cmd|createagent}} | ||
*{{ | *{{MC/Cmd|tpagent}} | ||
*{{ | *{{MC/Cmd|collect}} | ||
*{{ | *{{MC/Cmd|till}} | ||
*{{ | *{{MC/Cmd|place|link=Commands/place (Bedrock Edition)}} | ||
*{{ | *{{MC/Cmd|getitemcount}} | ||
*{{ | *{{MC/Cmd|getitemspace}} | ||
*{{ | *{{MC/Cmd|getitemdetail}} | ||
=== Joke commands === | === Joke commands === | ||
{{ | {{MC/Exclusive|java|section=1}} | ||
These commands only exist in April Fools' Day joke versions of the game. | These commands only exist in April Fools' Day joke versions of the game. | ||
*{{ | *{{MC/Cmd|debugdim}} | ||
*{{ | *{{MC/Cmd|transform}} | ||
*{{ | *{{MC/Cmd|vote}} | ||
*{{ | *{{MC/Cmd|warp}} | ||
== History == | == History == | ||
{{See also|Command Block#History}} | {{MC/See also|Command Block#History}} | ||
{{info needed section|{{ | {{info needed section|{{MC/Edu}}}} | ||
=== Command additions and changes === | === Command additions and changes === | ||
==== ''Java Edition'' ==== | ==== ''Java Edition'' ==== | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|java classic}} | |{{MC/HistoryLine|java classic}} | ||
|{{HistoryLine||0.0.16a|Added commands {{Command|broadcast}}, {{Command|ban}}, {{Command|banip}}, and {{Command|kick}}. | |{{HistoryLine||0.0.16a|Added commands {{MC/Command|broadcast}}, {{MC/Command|ban}}, {{MC/Command|banip}}, and {{MC/Command|kick}}. | ||
|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.}}}} | |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.}}}} | ||
|{{HistoryLine||0.0.16a_01|Replaced {{ | |{{HistoryLine||0.0.16a_01|Replaced {{MC/Cmd|broadcast|link=none}} with {{MC/Cmd|say}}.}} | ||
|{{HistoryLine||0.0.17a|Added {{Command|setspawn}}.}} | |{{HistoryLine||0.0.17a|Added {{MC/Command|setspawn}}.}} | ||
|{{HistoryLine||0.0.18a|Added {{Command|teleport}}.}} | |{{HistoryLine||0.0.18a|Added {{MC/Command|teleport}}.}} | ||
|{{HistoryLine||0.0.20a|Added {{Command|solid}}.}} | |{{HistoryLine||0.0.20a|Added {{MC/Command|solid}}.}} | ||
|{{HistoryLine||?|Added {{Command|me}}.}} | |{{HistoryLine||?|Added {{MC/Command|me}}.}} | ||
|{{HistoryLine|java indev}} | |{{MC/HistoryLine|java indev}} | ||
|{{HistoryLine||0.31|dev=20091231-1856|Removed all commands.}} | |{{MC/HistoryLine||0.31|dev=20091231-1856|Removed all commands.}} | ||
|{{HistoryLine|java alpha}} | |{{MC/HistoryLine|java alpha}} | ||
|{{HistoryLine||v1.0.15|Added {{Command|wood}}, {{Command|iron}} and {{ | |{{HistoryLine||v1.0.15|Added {{MC/Command|wood}}, {{MC/Command|iron}} and {{MC/Cmd|give}}.}} | ||
|{{HistoryLine||v1.0.16|Re-added several commands. | |{{HistoryLine||v1.0.16|Re-added several commands. | ||
|Added {{Command|pardon}}, {{Command|pardon-ip}}, {{Command|banlist}}, {{ | |Added {{MC/Command|pardon}}, {{MC/Command|pardon-ip}}, {{MC/Command|banlist}}, {{MC/Cmd|stop}} and {{MC/Cmd|home}}.}} | ||
|{{HistoryLine||v1.0.16_01|Added {{Command|tp}},{{Command|save-all}},{{Command|save-off}} and {{Command|save-on}}.}} | |{{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_02|Added {{Command|list}}, {{ | |{{HistoryLine||v1.0.16_02|Added {{MC/Command|list}}, {{MC/Cmd|msg}}, {{MC/Command|tell}} and {{MC/Cmd|w}}.}} | ||
|{{HistoryLine||v1.2.0|Removed {{Command|wood|link=none}} and {{Command|iron|link=none}}.}} | |{{HistoryLine||v1.2.0|Removed {{MC/Command|wood|link=none}} and {{MC/Command|iron|link=none}}.}} | ||
|{{HistoryLine||v1.2.5|Removed {{Command|home|link=none}}.}} | |{{HistoryLine||v1.2.5|Removed {{MC/Command|home|link=none}}.}} | ||
|{{HistoryLine||v1.2.6|Added {{Command|kill}}.}} | |{{HistoryLine||v1.2.6|Added {{MC/Command|kill}}.}} | ||
|{{HistoryLine|java beta}} | |{{MC/HistoryLine|java beta}} | ||
|{{HistoryLine||1.3|Added {{ | |{{HistoryLine||1.3|Added {{MC/Cmd|time}} and {{MC/Cmd|whitelist}}.}} | ||
|{{HistoryLine||1.8|dev=Pre-release|Added {{ | |{{HistoryLine||1.8|dev=Pre-release|Added {{MC/Cmd|gamemode}}.}} | ||
|{{HistoryLine|java}} | |{{MC/HistoryLine|java}} | ||
|{{HistoryLine||1.0.0|dev=Beta 1.9 Prerelease 5|Added {{ | |{{HistoryLine||1.0.0|dev=Beta 1.9 Prerelease 5|Added {{MC/Cmd|xp}} and {{MC/Cmd|toggledownfall}}.}} | ||
|{{HistoryLine||1.3.1|dev=12w16a|Added cheats mode, allowing commands to be used in singleplayer. | |{{MC/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 Hardcore mode.}} | ||
|{{HistoryLine|||dev=12w17a|Added {{ | |{{HistoryLine|||dev=12w17a|Added {{MC/Cmd|help}} and its alias {{MC/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 {{ | |{{HistoryLine|||dev=12w21a|Added {{MC/Cmd|seed}}.}} | ||
|{{HistoryLine|||dev=12w22a|Added {{ | |{{HistoryLine|||dev=12w22a|Added {{MC/Cmd|defaultgamemode}}.}} | ||
|{{HistoryLine|||dev=12w24a|Added {{ | |{{HistoryLine|||dev=12w24a|Added {{MC/Cmd|publish}}.}} | ||
|{{HistoryLine|||dev=12w25a|Cheats can now be turned on or off when opening a world to other players through LAN.}} | |{{MC/HistoryLine|||dev=12w25a|Cheats can now be turned on or off when opening a world to other players through LAN.}} | ||
|{{HistoryLine|||dev=12w27a|Added {{ | |{{HistoryLine|||dev=12w27a|Added {{MC/Cmd|debug}}.}} | ||
|{{HistoryLine||1.4.2|dev=12w32a|Added {{ | |{{HistoryLine||1.4.2|dev=12w32a|Added {{MC/Cmd|difficulty}}, {{MC/Cmd|gamerule}}, {{MC/Cmd|spawnpoint}} and {{MC/Cmd|weather}}.}} | ||
|{{HistoryLine|||dev=12w37a|Added {{Command|clear}}.}} | |{{HistoryLine|||dev=12w37a|Added {{MC/Command|clear}}.}} | ||
|{{HistoryLine||1.4.4|dev=pre|Added {{ | |{{HistoryLine||1.4.4|dev=pre|Added {{MC/Cmd|enchant}}.}} | ||
|{{HistoryLine||1.5|dev=13w03a|Added {{ | |{{HistoryLine||1.5|dev=13w03a|Added {{MC/Cmd|testfor}}.}} | ||
|{{HistoryLine|||dev=13w04a|Added {{ | |{{HistoryLine|||dev=13w04a|Added {{MC/Cmd|scoreboard}}.}} | ||
|{{HistoryLine|||dev=13w09b|Added {{ | |{{HistoryLine|||dev=13w09b|Added {{MC/Cmd|effect}}.}} | ||
|{{HistoryLine||1.6.1|dev=13w23a|Added {{ | |{{HistoryLine||1.6.1|dev=13w23a|Added {{MC/Cmd|spreadplayers}}.}} | ||
|{{HistoryLine|||dev=pre|Added {{ | |{{HistoryLine|||dev=pre|Added {{MC/Cmd|playsound}}.}} | ||
|{{HistoryLine||1.7.2|dev=13w36a|Added {{ | |{{HistoryLine||1.7.2|dev=13w36a|Added {{MC/Cmd|achievement}} and {{MC/Cmd|summon}}.}} | ||
|{{HistoryLine|||dev=13w37a|Added {{ | |{{HistoryLine|||dev=13w37a|Added {{MC/Cmd|setblock}}, {{MC/Cmd|tellraw}} and {{MC/Cmd|testforblock}}.}} | ||
|{{HistoryLine|||dev=13w38a|Added {{ | |{{HistoryLine|||dev=13w38a|Added {{MC/Cmd|setidletimeout}}.}} | ||
|{{HistoryLine|||dev=13w43a|Added {{ | |{{HistoryLine|||dev=13w43a|Added {{MC/Cmd|setworldspawn}}.}} | ||
|{{HistoryLine||1.8|dev=14w02a|Added {{ | |{{HistoryLine||1.8|dev=14w02a|Added {{MC/Cmd|blockdata}}.}} | ||
|{{HistoryLine|||dev=14w03a|Added {{ | |{{HistoryLine|||dev=14w03a|Added {{MC/Cmd|clone}} and {{MC/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 {{ | |{{HistoryLine|||dev=14w04a|Added {{MC/Cmd|particle}}.}} | ||
|{{HistoryLine|||dev=14w06a|Added {{ | |{{HistoryLine|||dev=14w06a|Added {{MC/Cmd|trigger}}.}} | ||
|{{HistoryLine|||dev=14w07a|Added {{ | |{{HistoryLine|||dev=14w07a|Added {{MC/Cmd|execute}} and {{MC/Cmd|testforblocks}}.}} | ||
|{{HistoryLine|||dev=14w17a|Added {{ | |{{HistoryLine|||dev=14w17a|Added {{MC/Cmd|worldborder}}.}} | ||
|{{HistoryLine|||dev=14w20a|Added {{ | |{{HistoryLine|||dev=14w20a|Added {{MC/Cmd|title}}.}} | ||
|{{HistoryLine|||dev=14w26a|Added {{ | |{{HistoryLine|||dev=14w26a|Added {{MC/Cmd|replaceitem}}.}} | ||
|{{HistoryLine|||dev=14w28a|Added {{ | |{{HistoryLine|||dev=14w28a|Added {{MC/Cmd|stats}}.}} | ||
|{{HistoryLine|||dev=14w32b|Added {{ | |{{HistoryLine|||dev=14w32b|Added {{MC/Cmd|entitydata}}.}} | ||
|{{HistoryLine||1.9.3|dev=pre2|Added {{Command|stopsound}}.}} | |{{HistoryLine||1.9.3|dev=pre2|Added {{MC/Command|stopsound}}.}} | ||
|{{HistoryLine||1.11|dev=16w32a|Added block state support to commands.}} | |{{MC/HistoryLine||1.11|dev=16w32a|Added block state support to commands.}} | ||
|{{HistoryLine|||dev=16w39a|Added {{Command|locate}}.}} | |{{HistoryLine|||dev=16w39a|Added {{MC/Command|locate}}.}} | ||
|{{HistoryLine||1.12|dev=17w13a|Added {{Command|advancement}} and {{Command|recipe}}. | |{{HistoryLine||1.12|dev=17w13a|Added {{MC/Command|advancement}} and {{MC/Command|recipe}}. | ||
|Removed {{Command|achievement}}.}} | |Removed {{MC/Command|achievement}}.}} | ||
|{{HistoryLine|||dev=17w18a|Added {{Command|reload}}.}} | |{{HistoryLine|||dev=17w18a|Added {{MC/Command|reload}}.}} | ||
|{{HistoryLine|||dev=pre1|Added {{Command|function}}.}} | |{{HistoryLine|||dev=pre1|Added {{MC/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 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 {{Command|?}},{{Command|enchant}},{{Command|stats}},{{Command|testfor}},{{Command|testforblock}},{{Command|testforblocks}} and {{Command|toggledownfall}}. | |Removed {{MC/Command|?}},{{MC/Command|enchant}},{{MC/Command|stats}},{{MC/Command|testfor}},{{MC/Command|testforblock}},{{MC/Command|testforblocks}} and {{MC/Command|toggledownfall}}. | ||
|Added {{ | |Added {{MC/Cmd|tag}} and {{MC/Cmd|team}}. | ||
|Added {{ | |Added {{MC/Cmd|experience}}, an alias of {{MC/Cmd|xp|link=none}}.}} | ||
|{{HistoryLine|||dev=17w45b|Added {{Command|data}}.}} | |{{HistoryLine|||dev=17w45b|Added {{MC/Command|data}}.}} | ||
|{{HistoryLine|||dev=17w46a|Added {{Command|datapack}}.|The player now has the option to toggle automatic command suggestions. | |{{HistoryLine|||dev=17w46a|Added {{MC/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.}} | ||
|{{HistoryLine|||dev=17w47a|Added an option in chat to toggle automatic command suggestions.}} | |{{MC/HistoryLine|||dev=17w47a|Added an option in chat to toggle automatic command suggestions.}} | ||
|{{HistoryLine|||dev=17w48a|Tweaked the command suggestion UI. | |{{MC/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 {{ | |{{HistoryLine|||dev=17w50a|[[Minecraft:Coordinates#Local_coordinates|Local coordinates]] can now be specified in commands using {{MC/Code|^}}. | ||
|Tab-completing when not targeting a block suggests {{ | |Tab-completing when not targeting a block suggests {{MC/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}}. | ||
|{{ | |{{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}}.}} | ||
|{{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 {{ | |Server commands now run from world spawn in the Overworld, instead of at {{MC/Code|0,0,0}}.}} | ||
|{{HistoryLine|||dev=18w03a|Improved performance of command parsing and command execution.}} | |{{MC/HistoryLine|||dev=18w03a|Improved performance of command parsing and command execution.}} | ||
|{{HistoryLine|||dev=18w05a|Added {{Command|bossbar}}.|Added basic entity selector suggestions in the command UI. | |{{HistoryLine|||dev=18w05a|Added {{MC/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 {{Command|enchant}}.|Added command suggestions for entity selectors. | |{{HistoryLine|||dev=18w06a|Re-added {{MC/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 {{ | |{{HistoryLine||1.13.1|dev=18w31a|Added {{MC/Cmd|chunk|link=/forceload}}.}} | ||
|{{HistoryLine|||dev=pre1|Renamed {{ | |{{HistoryLine|||dev=pre1|Renamed {{MC/Cmd|chunk|link=none}} to {{MC/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}}|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 {{Command|drop|link=/loot}} and {{Command|schedule}}.}} | |{{HistoryLine||1.14|dev=18w43a|Added {{MC/Command|drop|link=/loot}} and {{MC/Command|schedule}}.}} | ||
|{{HistoryLine|||dev=18w45a|Renamed {{Command|drop|link=none}} to {{Command|loot}}. }} | |{{HistoryLine|||dev=18w45a|Renamed {{MC/Command|drop|link=none}} to {{MC/Command|loot}}. }} | ||
|{{HistoryLine|||dev=19w02a|Added {{Command|teammsg}} and {{Command|tm}}. }} | |{{HistoryLine|||dev=19w02a|Added {{MC/Command|teammsg}} and {{MC/Command|tm}}. }} | ||
|{{HistoryLine||1.15|dev=19w34a|Added {{ | |{{HistoryLine||1.15|dev=19w34a|Added {{MC/Cmd|test}}, only available in IDE environment.}} | ||
|{{HistoryLine|||dev=19w41a|Added {{Command|spectate}}. }} | |{{HistoryLine|||dev=19w41a|Added {{MC/Command|spectate}}. }} | ||
|{{HistoryLine||1.16|dev=20w06a|Added {{ | |{{HistoryLine||1.16|dev=20w06a|Added {{MC/Cmd|locatebiome}}.}} | ||
|{{HistoryLine|||dev=20w17a|Added {{ | |{{HistoryLine|||dev=20w17a|Added {{MC/Cmd|attribute}}.}} | ||
|{{HistoryLine||1.17|dev=20w46a|Removed {{ | |{{HistoryLine||1.17|dev=20w46a|Removed {{MC/Cmd|replaceitem}}. Replaced with {{MC/Cmd|item replace}}.}} | ||
|{{HistoryLine|||dev=pre1|Added {{ | |{{HistoryLine|||dev=pre1|Added {{MC/Cmd|perf}}.}} | ||
|{{HistoryLine||1.18|dev=21w37a|Added {{ | |{{HistoryLine||1.18|dev=21w37a|Added {{MC/Cmd|jfr}}.}} | ||
|{{HistoryLine||1.18.2|dev=22w03a|Added {{ | |{{HistoryLine||1.18.2|dev=22w03a|Added {{MC/Cmd|placefeature}}.}} | ||
|{{HistoryLine||1.19|dev=Deep Dark Experimental Snapshot 1|Added {{ | |{{HistoryLine||1.19|dev=Deep Dark Experimental Snapshot 1|Added {{MC/Cmd|warden_spawn_tracker}}.}} | ||
|{{HistoryLine|||dev=22w11a|Disabled access to {{ | |{{HistoryLine|||dev=22w11a|Disabled access to {{MC/Cmd|warden_spawn_tracker}}.}} | ||
|{{HistoryLine|||dev=22w18a|Removed {{ | |{{HistoryLine|||dev=22w18a|Removed {{MC/Cmd|placefeature}}. Replaced with {{MC/Cmd|place feature}}.}} | ||
|{{HistoryLine|||dev=22w19a|Removed {{ | |{{HistoryLine|||dev=22w19a|Removed {{MC/Cmd|locatebiome}}. Replaced with {{MC/Cmd|locate biome}}. | ||
|Finding structures from {{ | |Finding structures from {{MC/Cmd|locate}} now uses {{MC/Cmd|locate structure}}.}} | ||
|{{HistoryLine||1.19.3|dev=22w46a|Added {{ | |{{HistoryLine||1.19.3|dev=22w46a|Added {{MC/Cmd|fillbiome}}.}} | ||
|{{HistoryLine||1.19.4|dev=23w03a|Added {{ | |{{HistoryLine||1.19.4|dev=23w03a|Added {{MC/Cmd|ride}}.}} | ||
|{{HistoryLine|||dev=23w06a|Added {{ | |{{HistoryLine|||dev=23w06a|Added {{MC/Cmd|damage}}.}} | ||
|{{HistoryLine||1.20|dev=23w16a|Added {{ | |{{HistoryLine||1.20|dev=23w16a|Added {{MC/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 {{ | |Recent commands are now stored in {{MC/Cd|command_history.txt}} in the {{MC/Code|.minecraft}} folder. | ||
|Added {{ | |Added {{MC/Cmd|random}}.}} | ||
|{{HistoryLine||1.20.3|dev=23w43a|Added {{ | |{{HistoryLine||1.20.3|dev=23w43a|Added {{MC/Cmd|tick}}.}} | ||
|{{HistoryLine||1.20.5|dev=24w04a|Added {{ | |{{HistoryLine||1.20.5|dev=24w04a|Added {{MC/Cmd|transfer}}. | ||
|Renamed "Allow cheats" to "Allow commands".}} | |Renamed "Allow cheats" to "Allow commands".}} | ||
|{{HistoryLine||1.21.2|dev=24w40a|Added {{ | |{{HistoryLine||1.21.2|dev=24w40a|Added {{MC/Cmd|rotate}}.}} | ||
|{{HistoryLine|||dev=pre1|{{ | |{{HistoryLine|||dev=pre1|{{MC/Cmd|rotate}} now requires a permission level of 2 instead of 0.}} | ||
|{{HistoryLine||1.21.5|dev=25w03a|{{ | |{{HistoryLine||1.21.5|dev=25w03a|{{MC/Cmd|test}} now accessible through normal gameplay.}} | ||
|{{HistoryLine||1.21.6|dev=25w15a|Added {{ | |{{HistoryLine||1.21.6|dev=25w15a|Added {{MC/Cmd|version}}.}} | ||
|{{HistoryLine||1.21.6|exp=Locator Bar|dev=25w15a|Added {{ | |{{HistoryLine||1.21.6|exp=Locator Bar|dev=25w15a|Added {{MC/Cmd|waypoint}}.}} | ||
|{{HistoryLine||1.21.6|dev=25w18a|{{ | |{{HistoryLine||1.21.6|dev=25w18a|{{MC/Cmd|waypoint}} can now be used without using the experiment Locator Bar.}} | ||
|{{HistoryLine|||dev=25w20a|Added {{ | |{{HistoryLine|||dev=25w20a|Added {{MC/Cmd|dialog}}.}} | ||
|{{HistoryLine||1.21.9|dev=25w34a|Added {{ | |{{HistoryLine||1.21.9|dev=25w34a|Added {{MC/Cmd|fetchprofile}}.}} | ||
|{{HistoryLine||26.1|dev=snap1|Added {{ | |{{HistoryLine||26.1|dev=snap1|Added {{MC/Cmd|/swing}}.}} | ||
}} | }} | ||
==== ''Bedrock Edition'' ==== | ==== ''Bedrock Edition'' ==== | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|pocket alpha}} | |{{MC/HistoryLine|pocket alpha}} | ||
|{{HistoryLine||v0.7.4|Added support for commands, though none are implemented yet.}} | |{{MC/HistoryLine||v0.7.4|Added support for commands, though none are implemented yet.}} | ||
|{{HistoryLine||v0.16.0|dev=build 1|Added commands. | |{{MC/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 Java Edition 1.10 usage. Differences include: no support for [[#Data tags|data tags]].}} | ||
|{{HistoryLine|pocket}} | |{{MC/HistoryLine|pocket}} | ||
|{{HistoryLine||1.0.0|dev=alpha 0.17.0.1|Added {{ | |{{HistoryLine||1.0.0|dev=alpha 0.17.0.1|Added {{MC/Cmd|locate}}, {{MC/Cmd|connect}}, and {{MC/Cmd|fly}}.}} | ||
|{{HistoryLine|||dev=alpha 0.17.0.2|Removed {{ | |{{HistoryLine|||dev=alpha 0.17.0.2|Removed {{MC/Cmd|locate}}.}} | ||
|{{HistoryLine|||dev=alpha 1.0.0.0|Re-added {{ | |{{HistoryLine|||dev=alpha 1.0.0.0|Re-added {{MC/Cmd|locate}}, currently can locate strongholds only.}} | ||
|{{HistoryLine||1.0.5|dev=alpha 1.0.5.0|Added more commands.}} | |{{MC/HistoryLine||1.0.5|dev=alpha 1.0.5.0|Added more commands.}} | ||
|{{HistoryLine||1.1.0|dev=alpha 1.1.0.0|Added {{ | |{{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}}. | ||
|{{ | |{{MC/Code|CanPlaceOn}} and {{MC/Code|CanDestroy}} are now in {{MC/Cmd|replaceitem}} and {{MC/Cmd|give}}. | ||
|{{ | |{{MC/Cmd|locate}} can now find other structures.}} | ||
|{{HistoryLine|||dev=alpha 1.1.0.3|Added {{ | |{{HistoryLine|||dev=alpha 1.1.0.3|Added {{MC/Cmd|setmaxplayers}}.}} | ||
|{{HistoryLine|bedrock}} | |{{MC/HistoryLine|bedrock}} | ||
|{{HistoryLine||1.2.0|dev=?|A new command parsing system is now used.}} | |{{MC/HistoryLine||1.2.0|dev=?|A new command parsing system is now used.}} | ||
|{{HistoryLine|||dev=beta 1.2.0.2|Added {{ | |{{HistoryLine|||dev=beta 1.2.0.2|Added {{MC/Cmd|tickingarea}}. | ||
|{{ | |{{MC/Cmd|summon}} can now summon projectiles.}} | ||
|{{HistoryLine|||dev=beta 1.2.0.31|{{ | |{{HistoryLine|||dev=beta 1.2.0.31|{{MC/Code|[[Minecraft:Coordinates]]}} are now a gamerule to {{MC/Cmd|gamerule}}.}} | ||
|{{HistoryLine||1.5.0||Added {{ | |{{HistoryLine||1.5.0||Added {{MC/Cmd|ability|link=none}}, {{MC/Cmd|immutableworld|link=none}}, and {{MC/Cmd|worldbuilder|link=none}}.}} | ||
|{{HistoryLine||1.6.0|dev=beta 1.6.0.6|{{ | |{{HistoryLine||1.6.0|dev=beta 1.6.0.6|{{MC/Code|doInsomnia}} is now a gamerule to {{MC/Cmd|gamerule}}.}} | ||
|{{HistoryLine||1.7.0|dev=beta 1.7.0.2|Added {{ | |{{HistoryLine||1.7.0|dev=beta 1.7.0.2|Added {{MC/Cmd|scoreboard}}. | ||
|{{ | |{{MC/Code|commandblocksenabled}} is now a gamerule to {{MC/Cmd|gamerule}}.}} | ||
|{{HistoryLine||1.8.0|dev=beta 1.8.0.8|{{ | |{{HistoryLine||1.8.0|dev=beta 1.8.0.8|{{MC/Code|randomtickspeed}} is now a gamerule to {{MC/Cmd|gamerule}}. | ||
|Added {{ | |Added {{MC/Cmd|particle}} and {{MC/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}}.}} | ||
|{{HistoryLine||1.9.0|dev=beta 1.9.0.0|{{ | |{{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}}. | ||
|Added more particles ([[Minecraft:Bedrock Edition beta 1.9.0.0#Command format|View all]]) to {{ | |Added more particles ([[Minecraft:Bedrock Edition beta 1.9.0.0#Command format|View all]]) to {{MC/Cmd|particle}}. | ||
|Added {{ | |Added {{MC/Cmd|tellraw}}.}} | ||
|{{HistoryLine||1.11.0|dev=beta 1.11.0.3|Added {{ | |{{HistoryLine||1.11.0|dev=beta 1.11.0.3|Added {{MC/Cmd|mobevent}}.}} | ||
|{{HistoryLine||1.12.0|dev=beta 1.12.0.2|{{ | |{{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}}. | ||
|Added more particles ([[Minecraft:Bedrock Edition beta 1.12.0.2#Command format|View all]]) to {{ | |Added more particles ([[Minecraft:Bedrock Edition beta 1.12.0.2#Command format|View all]]) to {{MC/Cmd|particle}}.}} | ||
|{{HistoryLine||1.14.0|{{ | |{{HistoryLine||1.14.0|{{MC/Code|showtags}} is now a gamerule to {{MC/Cmd|gamerule}}.}} | ||
|{{HistoryLine||1.16.0|Added {{ | |{{HistoryLine||1.16.0|Added {{MC/Cmd|kick}}. | ||
|{{ | |{{MC/Cmd|spawnpoint}} can now be used in the nether.}} | ||
|{{HistoryLine||1.16.100|dev=beta 1.16.100.52|Added {{ | |{{HistoryLine||1.16.100|dev=beta 1.16.100.52|Added {{MC/Cmd|playanimation}}, {{MC/Cmd|ride}}, and {{MC/Cmd|structure}}.}} | ||
|{{HistoryLine|||dev=beta 1.16.100.54|Added {{ | |{{HistoryLine|||dev=beta 1.16.100.54|Added {{MC/Cmd|fog}}.}} | ||
|{{HistoryLine|||dev=beta 1.16.100.57|Added {{ | |{{HistoryLine|||dev=beta 1.16.100.57|Added {{MC/Cmd|camerashake}}, {{MC/Cmd|clearspawnpoint}}, and {{MC/Cmd|event}}.}} | ||
|{{HistoryLine|||dev=beta 1.16.100.58|Added {{ | |{{HistoryLine|||dev=beta 1.16.100.58|Added {{MC/Cmd|music}}.}} | ||
|{{HistoryLine|||dev=beta 1.16.100.59|Added {{ | |{{HistoryLine|||dev=beta 1.16.100.59|Added {{MC/Cmd|schedule}}. | ||
|{{ | |{{MC/Cmd|camerashake}} now have two types of shakes.}} | ||
|{{HistoryLine|||dev=beta 1.16.100.60|{{ | |{{HistoryLine|||dev=beta 1.16.100.60|{{MC/Cmd|structure}} can now animate the placement of a structure.}} | ||
|{{HistoryLine||1.16.210|dev=beta 1.16.210.53|{{ | |{{HistoryLine||1.16.210|dev=beta 1.16.210.53|{{MC/Code|freezeDamage}} is now a gamerule to {{MC/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. | ||
|Removed {{ | |Removed {{MC/Cmd|mixer}}.}} | ||
|{{HistoryLine|||dev=beta 1.16.210.54|You can now stop camera shaking in {{ | |{{HistoryLine|||dev=beta 1.16.210.54|You can now stop camera shaking in {{MC/Cmd|camerashake}}. | ||
|Re-added {{ | |Re-added {{MC/Cmd|mixer}}. | ||
|You can now delete structures in {{ | |You can now delete structures in {{MC/Cmd|structure}}.}} | ||
|{{HistoryLine|||dev=beta 1.16.210.58|Removed {{ | |{{HistoryLine|||dev=beta 1.16.210.58|Removed {{MC/Cmd|mixer}} again.}} | ||
|{{HistoryLine|||dev=beta 1.16.210.60|Added {{ | |{{HistoryLine|||dev=beta 1.16.210.60|Added {{MC/Cmd|gametest}}.}} | ||
|{{HistoryLine||1.17.10|dev=beta 1.17.10.22|Added {{ | |{{HistoryLine||1.17.10|dev=beta 1.17.10.22|Added {{MC/Cmd|dialogue}}.}} | ||
|{{HistoryLine||1.17.30|dev=beta 1.17.20.20|{{ | |{{HistoryLine||1.17.30|dev=beta 1.17.20.20|{{MC/Code|respawnBlocksExplode}} is now a gamerule to {{MC/Cmd|gamerule}}.}} | ||
|{{HistoryLine||1.18.0|dev=beta 1.18.0.21|Added {{ | |{{HistoryLine||1.18.0|dev=beta 1.18.0.21|Added {{MC/Cmd|loot}}.}} | ||
|{{HistoryLine|||dev=beta 1.18.0.22|Removed {{ | |{{HistoryLine|||dev=beta 1.18.0.22|Removed {{MC/Cmd|loot}}.}} | ||
|{{HistoryLine||1.18.10|dev=beta 1.18.10.21|Re-added {{ | |{{HistoryLine||1.18.10|dev=beta 1.18.10.21|Re-added {{MC/Cmd|loot}}.}} | ||
|{{HistoryLine|||dev=beta 1.18.10.26|Added {{ | |{{HistoryLine|||dev=beta 1.18.10.26|Added {{MC/Cmd|damage}}.}} | ||
|{{HistoryLine||1.18.30|dev=beta 1.18.20.21|Added {{ | |{{HistoryLine||1.18.30|dev=beta 1.18.20.21|Added {{MC/Cmd|volumearea}}.}} | ||
|{{HistoryLine||1.19.0|dev=beta 1.19.0.30|Added {{ | |{{HistoryLine||1.19.0|dev=beta 1.19.0.30|Added {{MC/Cmd|script}}.}} | ||
|{{HistoryLine||1.19.10|dev=Preview 1.19.10.23|{{ | |{{HistoryLine||1.19.10|dev=Preview 1.19.10.23|{{MC/Cmd|locate}} can now find biomes.}} | ||
|{{HistoryLine||1.19.60|dev=Preview 1.19.60.22|Added {{ | |{{HistoryLine||1.19.60|dev=Preview 1.19.60.22|Added {{MC/Cmd|scriptevent}}.}} | ||
|{{HistoryLine||1.19.80|dev=Preview 1.19.80.20|Added command suggestions for block states.}} | |{{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.21|Added {{ | |{{HistoryLine||1.19.80|dev=Preview 1.19.80.21|Added {{MC/Cmd|inputpermission}}.}} | ||
|{{HistoryLine||1.20.0|dev=Preview 1.20.0.22|Added {{ | |{{HistoryLine||1.20.0|dev=Preview 1.20.0.22|Added {{MC/Cmd|camera}}.}} | ||
|{{HistoryLine||1.20.10|dev=Preview 1.20.10.21|Added {{ | |{{HistoryLine||1.20.10|dev=Preview 1.20.10.21|Added {{MC/Cmd|recipe}}.}} | ||
|{{HistoryLine||1.20.30|dev=Preview 1.20.30.22|Added {{ | |{{HistoryLine||1.20.30|dev=Preview 1.20.30.22|Added {{MC/Cmd|transfer}}.}} | ||
|{{HistoryLine||1.20.60|exp=Upcoming Creator Features|dev=Preview 1.20.60.23|Added {{ | |{{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.80|dev=Preview 1.20.80.20|Added {{ | |{{HistoryLine||1.20.80|dev=Preview 1.20.80.20|Added {{MC/Cmd|gametips}}.}} | ||
|{{HistoryLine||1.21.20|dev=Preview 1.21.10.22|Removed {{ | |{{HistoryLine||1.21.20|dev=Preview 1.21.10.22|Removed {{MC/Cmd|volumearea}}.}} | ||
|{{HistoryLine||1.21.50|dev=Preview 1.21.50.20|Added {{ | |{{HistoryLine||1.21.50|dev=Preview 1.21.50.20|Added {{MC/Cmd|set_movement_authority}}.}} | ||
|{{HistoryLine||1.21.50|exp=Aim Assist and Data-Driven Jigsaw Structures|dev=Preview 1.21.50.25|Added {{ | |{{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|||dev=Preview 1.21.50.26|Added {{ | |{{HistoryLine|||dev=Preview 1.21.50.26|Added {{MC/Cmd|place}} behind the "Data-Driven Jigsaw Structures" experimental toggle.}} | ||
|{{HistoryLine||26.0|dev=Preview 26.0.23|Added command macros.}} | |{{MC/HistoryLine||26.0|dev=Preview 26.0.23|Added command macros.}} | ||
}} | }} | ||
=== April Fools commands === | === April Fools commands === | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|java}} | |{{MC/HistoryLine|java}} | ||
|{{HistoryLine||20w14∞|Added {{ | |{{HistoryLine||20w14∞|Added {{MC/Cmd|debugdim}} and {{MC/Cmd|warp}}.}} | ||
|{{HistoryLine||23w13a_or_b|Added {{ | |{{HistoryLine||23w13a_or_b|Added {{MC/Cmd|transform}} and {{MC/Cmd|vote}}.}} | ||
}} | }} | ||
== Issues == | == Issues == | ||
{{ | {{MC/Issue list}} | ||
== See also == | == See also == | ||
| Line 1,974: | Line 1,974: | ||
== References == | == References == | ||
{{ | {{MC/Reflist}} | ||
== External links == | == External links == | ||
| Line 1,982: | Line 1,982: | ||
== Navigation == | == Navigation == | ||
{{Navbox commands}} | {{MC/Navbox commands}} | ||
{{Navbox Java Edition technical|general}} | {{MC/Navbox Java Edition technical|general}} | ||
{{Navbox Bedrock Edition}} | {{MC/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}} | ||
Revision as of 20:07, 9 April 2026
Template:Hatnote Template:Hatnote Template:Hatnote
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.
Usage
In the client, commands are entered via the chat window, which is displayed by pressing the
- REDIRECT Template:Keys
- REDIRECT Template:Keys
Template:Redr / File:Chat button.pngTemplate:Only / D-pad rightTemplate:Only or
- REDIRECT Template:Keys
Template:Redr key. Using the
- REDIRECT Template:Keys
Template:Redr key also enters the forward-slash that commands require as a prefix, so it is a useful shortcut. The
- REDIRECT Template:Keys
Template:Redr / D-pad up and
- REDIRECT Template:Keys
Template:Redr / D-pad 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
- REDIRECT Template:Keys
Template:Redr 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
- REDIRECT Template:Keys
Template:Redr 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 can be executed in the following ways:
- Entered by a player in the chat screen.
- Executed by a command block or a minecart with command block.
- In a dedicated Minecraft:server, entered in the console.
- In functions, in a data pack or Minecraft:behavior pack.
- Clicking a text component that has "run_command" action.Template:Only
- Requested by a WebSocket server connected to a client.Template:Only
- Clicking a dialog's action button.Template:Only
- By an Minecraft:NPC dialogue.Template:Only
- In scripts, in a Minecraft:behavior pack.Template:Only
- In animation controllers, in a Minecraft:behavior pack.Template:Only
- In a block event response, in a Minecraft:behavior pack.Template:Only
- In an entity event response, in a Minecraft:behavior pack.Template:Only
in Template:Editions, 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 Script error: No such module "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
Entry Meaning plain textEnter this literally, exactly as shown. <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.
Decorator Meaning [entry]This entry is optional. (entry|entry)(entry|entry|entry)
etc.Required. Pick one of these entries. [entry|entry][entry|entry|entry]
etc.Optional. Pick one of these entries. ellipsis ...In the game, another full command is required.
In this wiki, some required parts are left out.
- For example:
[<size>]is an optional argument.[size]is an optional plain text. - For example: Template:Code, where
advancementandonlyare plain texts that should be entered literally; Template:Code means we should pick one plain text fromgrantandrevoke;<targets>and<advancement>are required arguments, which should be replaced with appropriate values;[<criterion>]is an optional argument.
Entry Meaning plain textEnter this literally, exactly as shown. name: typeAn argument, which should be replaced with an appropriate value. command: commandAnother full command is required. plain text|plain textplain text|plain text|plain text
etc.Enter one of these texts literally.
Decorator Meaning <entry>This entry is required. [entry]This entry is optional. ellipsis ...In this wiki, some required parts are left out.
- The angle bracket decorator (
<entry>) is usually not used on aplain text. A required plain text does not need any decorator. - For example, both
setand<set>represent a required plain text, but the latter one is usually not used.<size: int>is a required argument.
In both
- REDIRECT Template:Edition
Template:Rcat and
- REDIRECT Template:Edition
Template:Rcat, square bracket decorator ([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, a [b] [c] at the end of a command indicates that only a, a b, and a b c 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
- REDIRECT Template:Edition
Template:Rcat. 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.
- in Template:Editions, 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.
in Template:Editions, 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 Template:Editions, 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 (
- REDIRECT Template:Keys
Template:Redr → "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 Template:Editions, 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,
- REDIRECT Template:Command
Template:Redr command can be used to toggle cheats.
Argument types
{{#vardefine:params|0 }}Template:Hatnote 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.
Parsing and execution
{{#vardefine:params|0 }}Template:Hatnote
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 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.
- in Template:Editions, 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 Template:Editions, 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 Template:Editions, typing a command in command block also behaves as above
- in Template:Editions, when typing a command in command block, autocompletion is provided without syntax hint.
in Template:Editions, 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.
- in Template:Editions, the message has a
<--[HERE]at its end. - in Template:Editions, the message is
Unknown commandorSyntax error: unexpected ... at ....
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. in Template:Editions, macro lines are parsed when attempting to run the function, see also Template:Slink and Template:Slink.
in Template:Editions, 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 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 Template:Editions, the success count is also returned to the script executing the command. in Template:Editions, commands that cannot be executed in command blocks have no success count. in Template:Editions, commands that cannot be executed in command blocks or scripts still have a success count, but it cannot be obtained. in Template:Editions, success count is always 0 or 1, except the
- REDIRECT Template:Command
Template:Redr command. in Template:Editions, 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
- REDIRECT Template:Code
Template:Redr value and
- REDIRECT Template:Code
Template:Redr value, which are the values passed by other commands to the
- REDIRECT Template:Command
Template:Redr command, when a command is executed by a
- REDIRECT Template:Command
Template:Redr command. These two values can be stored to a specified location by the
- REDIRECT Template:Code
Template:Redr subcommand in the
- REDIRECT Template:Command
Template:Redr command. The
- REDIRECT Template:Code
Template:Redr value is always 0 or 1. The
- REDIRECT Template:Code
Template:Redr value is an integer (rounded down if not). All commands may yield these two stored values after execution, with only two exceptions:
- REDIRECT Template:Command
Template:Redr command itself does not yield these two stored values;
- REDIRECT Template:Command
Template:Redr 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
- REDIRECT Template:Command
Template:Redr command halfway through, causing some branches to not be executed.
- Technically, it means that an exception other than
brigadier.exceptions.CommandSyntaxExceptionis thrown during execution.
- VoidTemplate:Only
- Exclusive to
- REDIRECT Template:Command
Template:Redr command. If it is void, the command has no result or success value to be stored by
- REDIRECT Template:Command
- TerminatedTemplate:Only
- Exclusive to
- REDIRECT Template:Command
Template:Redr command. When running a
- REDIRECT Template:Command
Template:Redr command, if the number of execution branches becomes 0, the command terminates, ending before the last sub-command is executed.
- For example:
- REDIRECT Template:Command
Template:Redr 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
- REDIRECT Template:Code
- 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.
- in Template:Editions, commands that cannot be executed in command blocks have no success count. It is failed when
- REDIRECT Template:Command
Template:Redr stores 0, and successful when
- REDIRECT Template:Command
Template:Redr stores 1.
- in Template:Editions, 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
Debugging commands
Debugging commands are not accessible by default, but can be enabled using debug properties.
Available in Bedrock Edition and Minecraft Education
Hidden commands
Script error: No such module "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
- REDIRECT Template:Command
Template:Redr 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
- REDIRECT Template:Command
Template:Redr will return Unknown command: gettopsolidblock. Please check that the command exists and that you have permission to use it., while the command
- REDIRECT Template:Command
Template:Redr will return Syntax error: Unexpected "something" at "/help >>something<<".
Removed commands
Removed from Java Edition
Removed from Bedrock Edition or Minecraft Education
Developer commands
{{#vardefine:params|0 }}Template:Hatnote Script error: No such module "Exclusive". Developer commands are only enabled in internal development builds of Bedrock Edition, and are not normally accessible in release versions.
Agent commands
Script error: No such module "Exclusive". Superseded by
- REDIRECT Template:Command
- REDIRECT Template:Command
- REDIRECT Template:Command
- REDIRECT Template:Command
- REDIRECT Template:Command
- REDIRECT Template:Command
- REDIRECT Template:Command
- REDIRECT Template:Command
- REDIRECT Template:Command
- REDIRECT Template:Command
- REDIRECT Template:Command
- REDIRECT Template:Command
- REDIRECT Template:Command
- REDIRECT Template:Command
- REDIRECT Template:Command
- REDIRECT Template:Command
- REDIRECT Template:Command
- REDIRECT Template:Command
- REDIRECT Template:Command
- REDIRECT Template:Command
Joke commands
Script error: No such module "Exclusive". These commands only exist in April Fools' Day joke versions of the game.
- REDIRECT Template:Command
- REDIRECT Template:Command
- REDIRECT Template:Command
- REDIRECT Template:Command
History
{{#vardefine:params|0 }}Template:Hatnote Template:Info needed section
Command additions and changes
Java Edition
Bedrock Edition
April Fools commands
Issues
Script error: No such module "Issue list".
See also
- Minecraft:Argument types
- Minecraft:Coordinates
- Entity format
- Formatting codes
- Minecraft:Text component format
- Minecraft:Target selectors
References
<references group="">
</references>
External links
| |||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
| Editions |
| ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Development |
| ||||||||
| Technical |
| ||||||||
| Multiplayer | |||||||||
| Exclusive features |
| ||||||||
| Removed |
de:Befehl es:Comandos fr:Commandes hu:Szerverparancsok it:Comandi ja:コマンド ko:명령어 lzh:令 nl:Opdrachten pl:Polecenia pt:Comandos ru:Команды консоли th:คำสั่ง tr:Komutlar uk:Команди консолі zh:命令