Commands
Commands are advanced features activated by typing certain strings of text.
Usage
In the client, commands are entered via the chat window, which is displayed by pressing the T key (default) or / key. Using the / key will also enter the forward slash that commands require as a prefix, so it is a useful shortcut. The ↑ and ↓ key can be used to view previously entered text, including all previously executed commands. Pressing Tab ↹ while entering commands cycles through possible commands or arguments, and can be used to auto-enter the coordinates of the block looked at before entering chat.
Commands may also be entered in a multiplayer server's console, but are not preceded by a / when entered this way. A server admin 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 a command block usually also require an optional argument, like a player's username.
The majority of commands are only available in the following situations:
- In a multiplayer game, entered by an operator or command block.
- In other multiplayer games, entered by the player who opened a LAN game with cheats enabled, or is hosting their own multiplayer server
- In singleplayer, if cheats were enabled at world creation (via the "More World Options..." button).
Some player commands are also available in singleplayer even when cheats are not enabled.
Note: 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 ( Esc → "Open to LAN", then "Allow Cheats" button and "Start LAN World"). You do not actually need to be on a LAN or have others join. This is not permanent, but will allow the use of commands until you quit the world, and changes you make via commands (items spawned, etc.) will be saved with the world. You can do this each time you start playing the world again. Note that this will disable game pausing for the duration, so while open to LAN, you should get somewhere safe or reload your world before using the Game Menu. Remember that you can disable your LAN world by reloading the world.
Tilde and Caret notation
Many commands allow relative coordinates to be specified using tildes (~
). A number following a tilde or caret is an offset from something rather than a coordinate. The sign of the offset specifies whether to go in the positive or negative direction for that axis. A single tilde by itself is shorthand for ~0
.
For example, /tp 0 64 0
will teleport the user to the coordinate (0, 64, 0), while /tp ~3 ~ ~-3
will teleport the user to a position +3 blocks in the "x" direction (i.e., east), keep their current height, and -3 blocks in the "z" direction (i.e., north) and /tp ^ ^ ^3
will teleport the user to a position +3 forwards.
Usually absolute coordinates can be mixed with relative coordinates. For example, /tp ~ 64 ~
will keep the user's "x" and "z" coordinates the same, but teleport them to absolute height of 64, however /tp ^-5 ^ ^
will teleport the player to the right according to the tilt of their head. Carets are used /tp ^left ^up ^forward
.
The origin for the offset depends on the command. For example, in /tp
the offset is from the target's starting position. Other common offsets include from the position of the command's execution or from another coordinate specified by the command.
Target selectors In Java
Reason: Does not account for differences between Java 1.13 and Bedrock
In most commands where a player may be specified as an argument, it is possible to "target" one or more players satisfying certain conditions instead of specifying players by name. To target players by condition, choose a target selector variable and, optionally, one or more target selector arguments to modify the conditions to be satisfied.
For example, to change the game mode of all players on team Red to creative mode, instead of specifying them by name individually:
/gamemode creative @a[team=Red]
Target selector variables
Variable | Function |
---|---|
@p |
nearest player |
@r |
random player |
@a |
all players |
@e |
all entities |
@s |
the entity executing the command |
A target selector variable identifies the broad category of targets to select. There are five variables:
@p
- Targets the nearest player. When run by the console, the origin of selection will be at (0, 0, 0). If there are multiple nearest players, caused by them being precisely the same distance away, the player who most recently joined the server is selected.
- Target selector arguments may be used to reduce the set of players from which the nearest player will be selected. For example,
@p[team=Red]
will target the nearest player on team Red even if there are other players closer.
- The
limit
target selector argument can be used to increase the number of nearest players targeted (for example,@p[limit=3]
will target the three nearest players).
@r
- Targets a random player.
- Target selector arguments may be used to reduce the set of players from which a random player will be targeted. For example,
@r[team=Red]
will only target a random player from team Red.
- The
limit
target selector argument can be used to increase the number of random players targeted. For example,@r[limit=3]
will target three random players.
- The
type
argument is not allowed on@r
. To select a random entity, use@e[sort=random,limit=1]
instead.
@a
- Targets all players, including dead players. No other selector will find dead players, except
@s
.
- Target selector arguments may be used to reduce the set of players targeted. For example,
@a[team=Red]
will only target players on team Red.
@e
- Targets all entities (including players).
- Target selector arguments may be used to reduce the set of entities targeted. For example,
@e[type=cow]
will only target cows.
@s
- Targets only one entity—the entity that executed the command, including dead players. If the executor was not an entity, for instance if the executor was a command block or a server console, this selector will find nothing.
- Target selector arguments may be used to specify whether the executor is actually eligible to be targeted. For example,
@s[type=cow,team=Red]
will only target the executor of the command if the executor was a cow on team Red.
Target selector arguments
Selection by Position | |
---|---|
Argument(s) | Selection criteria |
x , y , z
|
coordinate |
distance [Java Edition only]r , rm [Bedrock Edition only]
|
distance |
dx , dy , dz
|
volume dimensions |
Selection by Scoreboard Values | |
Argument(s) | Selection criteria |
scores
|
scores |
tag
|
scoreboard tag |
team
|
team name |
Selection by Traits | |
Argument(s) | Selection criteria |
limit 、sort [Java Edition only]c [Bedrock Edition only]
|
limit |
level [Java Edition only]l 、lm [Bedrock Edition only]
|
experience level |
gamemode [Java Edition only]m [Bedrock Edition only]
|
game mode |
name
|
entity name |
x_rotation [Java Edition only]rx 、rxm [Bedrock Edition only]
|
vertical rotation |
y_rotation [Java Edition only]ry 、rym [Bedrock Edition only]
|
horizontal rotation |
type
|
entity type |
advancements [Java Edition only]
|
advancements |
After a target selector, optional arguments can be used to modify the set of targets selected. When used with @a
or @e
, arguments narrow down the number of targets from the full list to a specific few. When used with @p
or @r
, arguments narrow the number of targets down from the full list to a smaller set from which the nearest or random player is selected. When used with @s
, the command user will only be targeted if all arguments pass, otherwise the command will fail.
Add argument-value pairs as a comma-separated list contained within square brackets after the target selector variable:
@<variable>[<argument>=<value>,<argument>=<value>,…]
.
Arguments and values are case-sensitive. Spaces are allowed around the brackets, equal signs, and commas, except in between the target variable and the first bracket. Commas must be used to separate argument-value pairs.
- Selecting targets by coordinate
[x=X,y=Y,z=Z]
— Selects targets based on distance to that exact position. Combine with selecting by distance to select only targets within a certain distance of that specific position, or combine with volume dimensions to select only targets within a certain cubic volume. If it's combined with neither distance nor volume dimensions, the whole world will be selected.
- The coordinates are doubles an allow values like
12.34
, and are not center-corrected, meaningx=0
is no longer corrected tox=0.5
- tilde notation is available for selector argument coordinates[Bedrock Edition only].
- Selecting targets by distance
[distance=DISTANCE]
— Selects only targets exactly DISTANCE blocks from the command's execution. If DISTANCE is a range, selects only targets whose distance falls within that range. Only non-negative values are allowed.
- If a coordinate (above) and either or both radius/i are both defined, the radius/i will center on the coordinate rather than the postion of the command's execution.
- Ranges are supported to allow for only certain distances.
@e[distance=10]
— targets only entities exactly 10 blocks away@e[distance=10..12]
— targets only entities more than 10 blocks but less than 12 blocks away (inclusive)@e[distance=5..]
— targets only entities more than 5 blocks away (inclusive)@e[distance=..15]
— targets only entities less than 15 blocks away (inclusive)
- Selecting targets by volume
[dx=DX,dy=DY,dz=DZ]
- Selects only targets within the volume defined as starting from the location where the command was executed and extending DX blocks in the "x" direction (i.e., east/west), DY blocks in the "y" direction (i.e., upwards/downwards), and DZ blocks in the "z" direction (i.e., north/south). If an initial coordinate is specified with the
x
,y
, andz
arguments, that will be used instead of the position of the command's execution for the lower northwestern corner (dx
,dy
, anddz
still specify distances from that coordinate; they do not specify a separate coordinate). All values are allowed, including negative and partial values.
@e[x=1,y=2,z=3,dx=4,dy=5,dz=6]
— targets only entities whose hitbox collects with the block region (1~5, 2~7,3~9) (or coordinates {(x,y,z)|x∈[1,6),y∈[2,8),z∈[3,10)}).@e[x=1,y=2,z=3,dx=0,dy=0,dz=0]
— targets only entities whose hitbox collects with the block region (1,2,3).
- It is possible to combine selection by distance and selection by volume, in which case the command will only select targets within the overlap of both regions (within certain radius/i of the volume's lower northwest corner and not outside the defined volume).
- Selecting targets by scores
[scores={OBJECTIVE1=SCORE1,OBJECTIVE2=SCORE2,...}]
— Selects only targets with a score in objective OBJECTIVE1 of SCORE1, and a score in objective OBJECTIVE2 of SCORE2.
- All tested objectives are in a single tag, with a list of individual score selectors between braces afterwards. The selectors inside the braces support ranges.
@e[scores={myscore=10}]
— Selects only entities with a score in objective myscore of exactly 10.@e[scores={myscore=10..12}]
— Selects only entities with a score in objective myscore of between 10 and 12.@e[scores={myscore=5..}]
— Selects only entities with a score in objective myscore of 5 or greater.@e[scores={myscore=..15}]
— Selects only entities with a score in objective myscore of 15 or less.@e[scores={foo=10,bar=1..5}]
— Selects only entities with a score in objective foo of exactly 10, and a score in objective bar of between 1 and 5.
- Selecting targets by tag
[tag=TAG]
— Selects only targets that have the scoreboard tag TAG.[tag=!TAG]
— Selects only targets that do not have the scoreboard tag TAG.[tag=TAG1,tag=TAG2]
— Selects only targets that have both the scoreboard tag TAG1 and TAG2.[tag=!TAG1,tag=!TAG2]
— Selects only targets that have neither the scoreboard tag TAG1 nor the scoreboard tag TAG2.[tag=TAG1,tag=!TAG2]
— Selects only targets that have the scoreboard tag TAG1 but not the scoreboard tag TAG2.[tag=]
— Selects only targets without any scoreboard tags.[tag=!]
— Selects only targets with any scoreboard tags.
@e[tag=a,tag=b,tag=!c]
— Selects only entities with tag a with tag b without tag c.@r[tag=a]
— Selects only one random player among players with tag a.
- Selecting targets by team
[team=TEAM]
— Selects only targets on team TEAM.
[team=!TEAM]
— Selects only targets not on team TEAM.
[team=]
— Selects only targets not on any team.
[team=!]
— Selects only targets on any team.
- Selecting targets with a limit
[limit=LIMIT]
— Selects only the specified number of targets at maximum.
- When used with
@p
or@r
, this argument defaults to 1, so using a higher limit will increase the number of nearest or random targets returned. When used with@a
or@e
, this argument returns only a limited number of targets.
- Using an additional argument
sort
, one can specify how the targets are chosen and limited.sort=nearest
— sorting by distance, nearest first (default for@p
)sort=furthest
— sorting by distance, farthest firstsort=random
— sorting randomly (default for@r
)sort=arbitrary
— no sorting (default for@e
,@a
)
@a[limit=3,sort=nearest]
[Java Edition only] or@p[limit=3]
[Java Edition only] or@p[c=3]
[Bedrock Edition only] — Selects the nearest 3 players.@a[limit=4,sort=furthest]
[Java Edition only] or@p[c=-3]
[Bedrock Edition only] — Selects the furthest 4 players.@a[limit=2,sort=random]
[Java Edition only] or@r[c=2]
[Bedrock Edition only] — Selects random 4 players.
- Selecting targets by experience level
[level=L]
— Selects only targets with L experience levels.
- This automatically filters out all non-player targets.
- This selector supports ranges.
@a[level=10]
— Selects only players with level 10@a[level=10..12]
— Selects only players with level 10, 11, or 12@a[level=5..]
— Selects only players with level 5 or above@a[level=..15]
— Selects only playrs with level 15 or below
- Selecting targets by game mode
[gamemode=GAMEMODE]
— Selects only targets in the specified game mode.[gamemode=!GAMEMODE]
— Selects only targets that are not on the specified game mode.- Permitted values for GAMEMODE are:
survival
: survival modecreative
: creative modeadventure
: adventure modespectator
: spectator mode[Java Edition only]
- This automatically filters out all non-player targets.
@a[gamemode=survival]
[Java Edition only] or@a[m=1]
[Bedrock Edition only] or@a[m=s]
[Bedrock Edition only] — Selects only players in survival mode.@a[gamemode=!spectator]
[Bedrock Edition only] — Selects only players not in spectator mode.
- Selecting targets by name
[name=NAME]
— Selects only targets named NAME.
[name=!NAME]
— Selects only targets not named NAME.
- If quotes are used around NAME, then spaces are allowed. NAME can only be a simple string, not a JSON text compound.
- Selecting targets by vertical rotation
[x_rotation=X_ROTATION]
— Selects only targets with vertical rotation of X_ROTATION.
- Vertical rotation values vary from -90 facing straight up, increasing to 0 at horizontal, increasing to 90 facing straight down (thus vertical rotation values increase with rotation downwards).
- This selector supports ranges.
@e[x_rotation=10]
— Selects entities with vertical rotation of exactly 10@e[x_rotation=10..12]
— Selects entities within vertical rotation from 10 to 12 (inclusive)@e[x_rotation=5..]
— Selects entities within vertical rotation of 5 or above@e[x_rotation=..15]
— Selects entities with vertical rotation of 15 or below
- Selecting targets by horizontal rotation
[y_rotation=Y_ROTATION]
— Selects only targets with a horizontal rotation of Y_ROTATION.
- Horizontal rotation values vary from -180/180 (facing due north), to -90 (facing due east), to 0 (facing due south), to 90 (facing due west), to -180/180 again. This argument supports ranges.
@a[y_rotation=10]
— Selects entities with horizontal rotation of exactly 10@a[y_rotation=10..12]
— Selects entities within horizontal rotation from 10 to 12 (inclusive)@a[y_rotation=5..]
— Select entities within horizontal rotation of 5 or above@a[y_rotation=..15]
— Selects entities within horizontal rotation of 15 or below
- Selecting targets by type
[type=TYPE]
— Selects only targets of the specific entity type.[type=!TYPE]
— Selects only targets not of the specific entity type.
- TYPE must be an entity ID used to identify different types of entities internally (for example,
creeper
for creepers,minecart
for regular minecarts,tnt
for primed TNT, etc.). Entity IDs are case-sensitive and invalid entity IDs will cause the command to fail. One may usetype=player
ortype=!player
to selected entities which are or are not players, respectively.
- When used with
@r
, can change its normal behavior of targeting only players to target other entities.
Data tags
A data tag is a sequence of text which describes a data structure using attribute-value pairs. Data tags are used in Java Edition commands to specify complex data for players, entities, and some blocks.
A data tag consists of zero or more attribute-value pairs separated by commas and delineated by curly brackets. Each attribute-value pair consists of an attribute name and the attribute's value, separated by a colon. Some values, however, may themselves contain attribute-value pairs, allowing a data tag to describe a hierarchical data structure.
- Example:
{name1:123,name2:"sometext",name3:{subname1:456,subname2:789}}
The data structures that data tags describe are the same ones used in Minecraft's save files. These data structures are described in other articles and commands expect data tags to use the same attribute names (which are case-sensitive):
Objects | Examples |
---|---|
Block entities | chests, furnaces, command blocks, mob spawners, signs, etc. |
Items | items in inventories (includes specifications for enchantments, lore, custom names, etc.) |
Item entities | items on the ground |
Mobs | creepers, cows, villagers, etc. |
Projectiles | arrows, fireballs, thrown potions, etc. |
Vehicles | boats, minecarts, etc. |
Dynamic tiles | primed TNT, falling sand/gravel/anvils |
Other entities | firework rockets, paintings, and item frames |
The defined data structures also expect the values to be of the correct type.
Type | Description |
---|---|
[Byte] Byte | An integer between -128 and 127 (inclusive). |
[Short] Short | An integer between -32,768 and 32,767 (inclusive). |
[Int] Int | An integer between -2,147,483,648 and 2,147,483,647 (inclusive). |
[Long] Long | An integer between -9,223,372,036,854,775,808 and 9,223,372,036,854,775,807 (inclusive). |
[Float] Float [Double] Double |
Float - 32-bit single-precision floating point, Example: 3.1415926
Double - 64-bit double-precision floating point, Example: 3.141592653589793 See IEEE floating point for details. |
[String] String | A sequence of text, optionally delineated with double quotes.
Double quotes must be used if the String contains commas, curly brackets, or square brackets. To include a double quote inside a String, add a backslash before the double quote.
|
[NBT List / JSON Array] List | A sequence of values, separated by commas and delineated with square brackets. The values must be of the same type, which is dictated by the first value in the sequence.
|
[Int Array] Byte Array | A sequence of integers between -128 and 127 (inclusive), separated by commas, delineated with square brackets, and prefixed with B; .
|
[Int Array] Int Array | A sequence of integers between -2,147,483,648 and 2,147,483,647 (inclusive), separated by commas, delineated with square brackets, and prefixed with I; .
|
[Int Array] Long Array | A sequence of integers between -9,223,372,036,854,775,808 and 9,223,372,036,854,775,807 (inclusive), separated by commas, delineated with square brackets, and prefixed with L; .
|
[NBT Compound / JSON Object] Compound | A sequence of attribute-value pairs, separated by commas and delineated with curly brackets.
Every data tag argument is itself a Compound. |
[Boolean] Boolean | A value, expressed as "true" or "false". This is only seen in JSON formatting, as a [Byte] Byte tag is usually used in NBT data to determine a boolean value as 0 (for false) and 1 (for true).
|
Some commands may require that a number's type be specified by adding a letter (B, S, L, F, D) to the end of the value. For example, 3s
for a short, 3.2f
for a float, etc. (This doesn't work with I for int.) The letter can be uppercase or lowercase. When no letter is used and Minecraft can't tell the type from context, it assumes double (if there's a decimal point), int (if there's no decimal point and the number is small enough to store as an int), or string (if neither is true). A square-bracketed literal is assumed to be a list unless an identifier is used: [I;1,2,3]
for an int array and [L;1L,2L,3L]
for a long array.
When commands such as /testfor
, /testforblock
, and /clear
are used to match data tags, they only check for the presence of the provided tags in the target entity/block/item. This means that the entity/block/item may have additional tags and will still match. This is true even for lists and arrays: the order of a list is not acknowledged, and as long as every requested element is in the list, it will match even if there are additional elements.
The format used for data tags is a lenient form of JSON.
Raw JSON text
The /tellraw
and /title
commands use strict JSON syntax.
Scores and target selectors are evaluated for a Sign when it is placed or edited and for a Written Book when it is "resolved" (opened for the first time after signing). They won't update after that, and they won't work if edited onto an existing sign with an NBT editor, or onto a book that's already marked resolved. There's no way to wrap text onto the next line of a sign or the next page of a book during resolution; instead, the extra text will simply disappear.
The format of raw JSON text is a JSON Object which supports the following (mostly optional) elements:
- [NBT Compound / JSON Object] The base chat component Object
- [String] text: A string representing raw text to display directly in chat. Note that selectors such as "@a" and "@p" are not translated into player names; use selector instead. "\n" is newline (enter).
- [String] translate: The translation identifier of text to be displayed using the player's selected language. This identifier is the same as the identifiers found in lang files from assets or resource packs. The translated text will only be displayed if the text string is not used.
- [NBT List / JSON Array] with: A list of chat component arguments and/or string arguments to be used by translate.
- The arguments are text corresponding to the arguments used by the translation string in the current language, in order (for example, the first list element corresponds to "%1$s" in a translation string).
- [NBT Compound / JSON Object] score: A player's score in an objective. Displays nothing if the player is not tracked in the given objective. Ignored completely if text or translate is present.
- [String] name: The name of the player whose score should be displayed. Selectors (such as @p) can be used, in addition to "fake" player names created by the scoreboard system. In addition, if the name is "*", it will show the reader's own score (for example,
/tellraw @a {"score":{"name":"*","objective":"obj"}}
will show every online player their own score in the "obj" objective). - [String] objective: The internal name of the objective to display the player's score in.
- [String] value: Optional. If present, this value is used regardless of what the score would have been.
- [String] name: The name of the player whose score should be displayed. Selectors (such as @p) can be used, in addition to "fake" player names created by the scoreboard system. In addition, if the name is "*", it will show the reader's own score (for example,
- [String] selector: A string containing a selector (@p,@a,@r,@e or @s) and, optionally, selector arguments. Unlike text, the selector will be translated into the correct player/entity names. If more than one player/entity is detected by the selector, it will be displayed in a form such as 'Name1 and Name2' or 'Name1, Name2, Name3, and Name4'. Ignored completely if text, translate, or score is present. Clicking a player's name inserted into a /tellraw command this way will suggest a command to whisper to that player. Shift-clicking a player's name will insert that name into chat. Shift-clicking a non-player entity's name will insert its UUID into chat.
- [String] keybind: A string that can be used to display the key needed to preform a certain action. An example is
key.inventory
which will always display "E" unless the player has set a different key for opening their inventory. - [NBT List / JSON Array] extra: A list of additional objects, sharing the same format as the base object.
- [NBT Compound / JSON Object] A list element with the same format as the base object (recursive). Note that all properties of this object are inherited by children except for text, extra, translate, with, and score. This means that children will retain the same formatting and events as this object unless they explicitly override them.
- [String] color: The color to render this text in. Valid values are "black", "dark_blue", "dark_green", "dark_aqua", "dark_red", "dark_purple", "gold", "gray", "dark_gray", "blue", "green", "aqua", "red", "light_purple", "yellow", "white", and "reset" (cancels out the effects of colors used by parent objects). Technically, "bold", "italic", "underlined", "strikethrough", and "obfuscated" are also accepted, but it may be better practice to use the tags below for such formats.
- [Boolean] bold: Boolean (true/false) - whether to render text in bold. Defaults to false.
- [Boolean] italic: Boolean (true/false) - whether to render text in italics. Defaults to false.
- [Boolean] underlined: Boolean (true/false) - whether to render text underlined. Defaults to false.
- [Boolean] strikethrough: Boolean (true/false) - whether to render text with a strikethrough. Defaults to false.
- [Boolean] obfuscated: Boolean (true/false) - whether to render text obfuscated. Defaults to false.
- [String] insertion: When the text is shift-clicked by a player, this string will be inserted in their chat input. It will not overwrite any existing text the player was writing.
- [NBT Compound / JSON Object] clickEvent: Allows for events to occur when the player clicks on text.
- [String] action: The action to perform when clicked. Valid values are "open_url" (opens value as a URL in the player's default web browser), "open_file" (opens the value file on the user's computer), "run_command" (has value entered in chat as though the player typed it themselves. This can be used to run commands, but the command will fail if the player does not have the required permissions to use it), "change_page" (can only be used in written books) changes to page value if that page exists, and "suggest_command" (similar to "run_command" but it cannot be used in a written book, the text only appears in the player's chat input and it is not automatically entered. Unlike insertion, this will replace the existing contents of the chat input). "open_file" is used in messages automatically generated by the game (e.g. on taking a screenshot) and cannot be used in commands or signs.
- [String] value: The URL, file, chat, command or book page used by the specified action. Note that commands must be prefixed with the usual "/" slash.
- [NBT Compound / JSON Object] hoverEvent: Allows for a tooltip to be displayed when the player hovers their mouse over text.
- [String] action: The type of tooltip to show. Valid values are "show_text" (shows raw JSON text), "show_item" (shows the tooltip of an item which can have NBT tags), and "show_entity" (shows an entity's name, possibly its type, and its UUID).
- [String] value: The formatting of this tag varies depending on the action. Note that "show_text" is the only action to support an Object as the value; all other action values are Strings and should thus be wrapped in quotes.
- "show_text": Can be either a raw String of text, or an Object with the same formatting as this base object. Note that clickEvent and hoverEvent do not function within the tooltip, but the formatting and extra tags still work.
- "show_item": A string formatted like item NBT data. Contains the "id" tag, and optionally the "Damage" tag and "tag" tag (which is the same compound used as "dataTag" in the
/give
command). - "show_entity": A string formatted like a compound with the string values "type" (such as "Zombie"), "name", and "id" (should be an entity UUID, but can actually be any string).
Due to the extra tag, the above format may be recursively nested to produce very complex and functional text strings. However, a raw json text doesn't have to be complicated at all: virtually all properties are optional and may be left out.
To be valid, each object must have at least either text, translate, score, selector or keybind (everything else is optional). As a matter of shorthand, however, the entire Object may be substituted with a String. In this case, that string will be considered the value of the text property. For example, "This is raw text"
is equivalent to {"text":"This is raw text"}
. This shorthand substitution is valid anywhere a raw text object is required (including the base <raw json message> argument of /tellraw
, the elements of the extra list, and the value of a "show_text" hover_event).
/tellraw
also accepts an array of objects and/or strings; they are concatenated. It even accepts a tree of nested arrays; they are traversed depth-first. For example:
/tellraw @a ["Hello there, ",{"selector":"@p"},"."] /tellraw @a [[[["The "],[["quick ","brown "],[{"selector":"@p"}," jumps "],"over "],"the "],["lazy ","dog."]]]
Finally, unlike other commands using JSON, /tellraw
Strings support Unicode via the notation \u####
, where #### is the Unicode hexadecimal number for the desired character.
- External links
Block/item names
Many commands have arguments that identify particular types of blocks or items. In the command syntax below, these typically appear as elements named <block>
, <item>
, or the like which are replaced with identifiers such as minecraft:stone
in the examples. In Java Edition, these identifiers are namespaced and all have the "minecraft:
" prefix; in Bedrock Edition this prefix must be omitted.
Summary of commands
The table below summarizes available commands. Click a column heading to sort by that column.
Command | Description | BE | EE | JE | OP level | MP Only | ![]() |
![]() |
![]() |
![]() |
---|---|---|---|---|---|---|---|---|---|---|
/ability
|
Grants or revokes a player ability. | Yes | Yes | — | 2 | — | — | — | ![]() |
— |
/advancement
|
Gives, removes, or checks player advancements. | — | — | Yes | 2 | — | — | — | ![]() |
— |
/ban
|
Adds player to banlist. | — | — | Yes | 3 | MP | — | — | ![]() |
— |
/ban-ip
|
Adds IP address to banlist. | — | — | Yes | 3 | MP | — | — | ![]() |
— |
/banlist
|
Displays banlist. | — | — | Yes | 3 | MP | — | — | ![]() |
— |
/bossbar
|
Creates and modifies bossbars. | — | — | Yes | 2 | — | — | — | ![]() |
![]() |
/clear
|
Clears items from player inventory. | Yes | Yes | Yes | 2 | — | — | — | ![]() |
— |
/clone
|
Copies blocks from one place to another. | Yes | Yes | Yes | 2 | — | ![]() |
— | — | — |
/data
|
Gets, merges, and removes block entity and entity NBT data. | — | — | Yes | 2 | — | ![]() |
![]() |
![]() |
— |
/datapack
|
Controls loaded data packs. | — | — | Yes | 2 | — | — | — | — | ![]() |
/debug
|
Starts or stops a debugging session. | — | — | Yes | 3 | — | — | — | — | — |
/defaultgamemode
|
Sets the default game mode. | — | — | Yes | 2 | — | — | — | — | ![]() |
/deop
|
Revokes operator status from a player. | Yes | Yes | Yes | 3 | MP | — | — | ![]() |
— |
/difficulty
|
Sets the difficulty level. | Yes | Yes | Yes | 2 | — | — | — | ![]() |
— |
/effect
|
Add or remove status effects. | Yes | Yes | Yes | 2 | — | — | ![]() |
![]() |
— |
/enchant
|
Enchants a player item. | Yes | Yes | Yes | 2 | — | — | — | ![]() |
— |
/execute
|
Executes another command. | Yes | Yes | Yes | 2 | — | — | — | — | — |
/experience
|
Adds or removes player experience. | Yes | Yes | Yes | 2 | — | — | — | ![]() |
— |
/fill
|
Fills a region with a specific block. | Yes | Yes | Yes | 2 | — | ![]() |
— | — | — |
/forceload
|
Forces chunks to constantly be loaded or not. | — | — | Yes | 2 | — | — | — | — | ![]() |
/function
|
Runs a function. | Yes | — | Yes | 2 | — | — | — | — | — |
/gamemode
|
Sets a player's game mode. | Yes | Yes | Yes | 2 | — | — | — | ![]() |
— |
/gamerule
|
Sets or queries a game rule value. | Yes | Yes | Yes | 2 | — | — | — | — | ![]() |
/give
|
Gives an item to a player. | Yes | Yes | Yes | 2 | — | — | — | ![]() |
— |
/help
|
Provides help for commands. | Yes | Yes | Yes | 0 | — | — | — | — | — |
/kick
|
Kicks a player off a server. | — | — | Yes | 3 | MP | — | — | ![]() |
— |
/kill
|
Kills entities (players, mobs, items, etc.). | Yes | Yes | Yes | 2 | — | — | ![]() |
![]() |
— |
/list
|
Lists players on the server. | Yes | Yes | Yes | 0 | — | — | — | ![]() |
— |
/locate
|
Locates closest structure. | Yes | Yes | Yes | 2 | — | — | — | — | ![]() |
/loot
|
Drops items from an inventory slot onto the ground. | — | — | Upcoming | 2 | — | ![]() |
![]() |
![]() |
![]() |
/me
|
Displays a message about the sender. | Yes | Yes | Yes | 0 | — | — | — | ![]() |
— |
/mixer
|
Mixer interactivity control. | Yes | — | — | 2 | — | — | — | — | — |
/msg
|
Displays a private message to other players. | Yes | Yes | Yes | 0 | — | — | — | ![]() |
— |
/op
|
Grants operator status to a player. | Yes | Yes | Yes | 3 | MP | — | — | ![]() |
— |
/pardon
|
Removes entries from the banlist. | — | — | Yes | 3 | MP | — | — | ![]() |
— |
/particle
|
Creates particles. | Yes | — | Yes | 2 | — | — | — | ![]() |
— |
/playsound
|
Plays a sound. | Yes | Yes | Yes | 2 | — | — | — | ![]() |
— |
/publish
|
Opens single-player world to local network. | — | — | Yes | 4 | SP only | — | — | — | ![]() |
/recipe
|
Gives or takes player recipes. | — | — | Yes | 2 | — | — | — | ![]() |
— |
/reload
|
Reloads loot tables, advancements, and functions from disk. | Yes | — | Yes | 4 | — | — | — | — | ![]() |
/replaceitem
|
Replaces items in inventories. | Yes | Yes | Yes | 2 | — | ![]() |
![]() |
![]() |
— |
/save
|
Prepares a backup, queries its status, or resumes. | Yes | — | — | — | MP | — | — | — | ![]() |
/save-all
|
Saves the server to disk. | — | — | Yes | 4 | MP | — | — | — | ![]() |
/save-off
|
Disables automatic server saves. | — | — | Yes | 4 | MP | — | — | — | ![]() |
/save-on
|
Enables automatic server saves. | — | — | Yes | 4 | MP | — | — | — | ![]() |
/say
|
Displays a message to multiple players. | Yes | Yes | Yes | 1 | — | — | — | — | — |
/schedule
|
Delays the execution of a function. | — | — | Upcoming | 2 | — | — | — | — | — |
/scoreboard
|
Manages objectives, players, teams, and tags. | Yes | — | Yes | 2 | — | — | ![]() |
![]() |
— |
/seed
|
Displays the world seed. | — | — | Yes | 2 | — | — | — | — | ![]() |
/setblock
|
Changes a block to another block. | Yes | Yes | Yes | 2 | — | ![]() |
— | — | — |
/setidletimeout
|
Sets the time before idle players are kicked. | — | — | Yes | 3 | MP | — | — | ![]() |
— |
/setmaxplayers
|
Sets the maximum number of players allowed to join. | Yes | Yes | — | 0 | — | — | — | ![]() |
— |
/setworldspawn
|
Sets the world spawn. | Yes | Yes | Yes | 2 | — | — | — | — | ![]() |
/spawnpoint
|
Sets the spawn point for a player. | Yes | Yes | Yes | 2 | — | — | — | ![]() |
— |
/spreadplayers
|
Teleports entities to random locations. | Yes | Yes | Yes | 2 | — | — | ![]() |
![]() |
— |
/stop
|
Stops a server. | — | — | Yes | 4 | MP | — | — | — | ![]() |
/stopsound
|
Stops a sound. | Yes | Yes | Yes | 2 | — | — | — | ![]() |
— |
/summon
|
Summons an entity. | Yes | Yes | Yes | 2 | — | — | ![]() |
— | — |
/tag
|
Controls entity tags. | — | — | Yes | 2 | — | — | ![]() |
![]() |
— |
/team
|
Controls teams. | — | — | Yes | 2 | — | — | ![]() |
![]() |
— |
/teleport
|
Teleports entities. | Yes | Yes | Yes | 2 | — | — | ![]() |
![]() |
— |
/teammsg
|
Specifies the mesage to send to team. | — | — | Upcoming | 0 | — | — | — | ![]() |
— |
/tell
|
Displays a private message to other players. | Yes | Yes | Yes | 0 | — | — | — | ![]() |
— |
/tellraw
|
Displays a JSON message to players. | Upcoming | — | Yes | 2 | — | — | — | ![]() |
— |
/testfor
|
Counts entities matching specified conditions. | Yes | Yes | — | 2 | — | — | ![]() |
![]() |
— |
/testforblock
|
Tests whether a block is in a location. | Yes | Yes | — | 2 | — | ![]() |
— | — | — |
/testforblocks
|
Tests whether the blocks in two regions match. | Yes | Yes | — | 2 | — | ![]() |
— | — | — |
/tickingarea
|
Add, remove, or list ticking areas. | Yes | Yes | — | 0 | — | — | — | — | ![]() |
/time
|
Changes or queries the world's game time. | Yes | Yes | Yes | 2 | — | — | — | — | ![]() |
/title
|
Manages screen titles. | Yes | Yes | Yes | 2 | — | — | — | ![]() |
— |
/toggledownfall
|
Toggles the weather. | Yes | Yes | — | 2 | — | — | — | — | ![]() |
/tp
|
Teleports entities. | Yes | Yes | Yes | 2 | — | — | ![]() |
![]() |
— |
/transferserver
|
Transfer player to a server. | Yes | Yes | — | 0 | — | — | — | — | — |
/trigger
|
Sets a trigger to be activated. | — | — | Yes | 0 | — | — | — | ![]() |
— |
/w
|
Displays a private message to other players. | Yes | Yes | Yes | 0 | — | — | — | ![]() |
— |
/weather
|
Sets the weather. | Yes | Yes | Yes | 2 | — | — | — | — | ![]() |
/whitelist
|
Manages server whitelist. | — | — | Yes | 3 | MP | — | — | ![]() |
— |
/worldborder
|
Manages the world border. | — | — | Yes | 2 | — | — | — | — | ![]() |
/wsserver
|
Connects to a WebSocket server. | Yes | Yes | — | 0 | — | — | — | — | — |
/xp
|
Adds or removes player experience. | Yes | Yes | Yes | 2 | — | — | — | ![]() |
— |
Command guide
- Syntax
If you see… Then plain text Enter this literally, exactly as shown. italics Replace this with an appropriate value. <angle brackets> This is a required argument. [square brackets] This is an optional argument. x|y Pick one of the options shown.
Available options are shown separated by vertical bars: |
ellipsis … The argument may consist of multiple words separated by spaces. x: int The argument consists of numbers. y: string The argument consists of multiple words which could be separated by spaces.
- Success Conditions
- A command's Success Conditions must be met in order for the game to consider the command "successful". This is used to determine a variety of things, such as the output of a redstone comparator feeding from command block with a command. Note that not all "successful" commands actually do something, and not all "failed" commands fail to do something useful.
- Restrictions
- Describes restrictions on who can use the command or in what context.
- Operator: The command may only be used by an operator or in singleplayer mode with cheats enabled. On multiplayer servers, the results of these commands are broadcast to other ops online.
- Multiplayer: The command is only available on a multiplayer server. The following commands are restricted to multiplayer servers:
/ban
,/ban-ip
,/banlist
,/deop
,/kick
,/list
,/op
,/pardon
,/pardon-ip
,/save-all
,/save-off
,/save-on
,/setidletimeout
,/stop
,/whitelist
.
- No multiplayer commands permit target selectors in arguments.
- Except for
/list
, multiplayer commands cannot be used in command blocks. - Many of these commands can be used on players who have never been to the server, or even on names which are not (or cannot be) registered as Minecraft accounts.
- Multiplayer: The command is only available on a multiplayer server. The following commands are restricted to multiplayer servers:
- No command blocks: The command cannot be executed by a command block.
Removed commands
achievement[edit]
banip[edit]
blockdata[edit]
broadcast[edit]
entitydata[edit]
home[edit]
setspawn[edit]
solid[edit]
stats[edit]
unban[edit]
Upcoming commands
Video
Video made by slicedlime: Commands/Advanced Video
History
[hide]classic | |||||||
---|---|---|---|---|---|---|---|
0.0.15a (Multiplayer Test 3) | Added /ban , /banip , /broadcast , /deop , /kick , /op , /tp , and /unban .
{"type": "classic", "version": "0.0.15a (Multiplayer Test 3)", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/ban article, displayed as ban)</span></code><!-- /Command -->, <!-- Command --><code ><span>/(link to Commands/banip article, displayed as banip)</span></code><!-- /Command -->, <!-- Command --><code ><span>/(link to Commands/broadcast article, displayed as broadcast)</span></code><!-- /Command -->, <!-- Command --><code ><span>/(link to Commands/deop article, displayed as deop)</span></code><!-- /Command -->, <!-- Command --><code ><span>/(link to Commands/kick article, displayed as kick)</span></code><!-- /Command -->, <!-- Command --><code ><span>/(link to Commands/op article, displayed as op)</span></code><!-- /Command -->, <!-- Command --><code ><span>/(link to Commands/tp article, displayed as tp)</span></code><!-- /Command -->, and <!-- Command --><code ><span>/(link to Commands/unban article, displayed as unban)</span></code><!-- /Command -->."} | ||||||
0.0.16a_01 | Changed /broadcast to /say .
{"type": "classic", "version": "0.0.16a_01", "exp": "", "snap": "", "content": "Changed <!-- Command --><code ><span>/(link to Commands/broadcast article, displayed as broadcast)</span></code><!-- /Command --> to <!-- Command --><code ><span>/(link to Commands/say article, displayed as say)</span></code><!-- /Command -->."} | ||||||
0.0.17a | Added /setspawn .
{"type": "classic", "version": "0.0.17a", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/setspawn article, displayed as setspawn)</span></code><!-- /Command -->."} | ||||||
0.0.20a | Added /solid .
{"type": "classic", "version": "0.0.20a", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/solid article, displayed as solid)</span></code><!-- /Command -->."} | ||||||
[hide]indev | |||||||
0.31 | Removed all commands.
{"type": "indev", "version": "0.31", "exp": "", "snap": "", "content": "Removed all commands."} | ||||||
[hide]alpha | |||||||
v1.0.16 | Added /ban , /ban-ip , /banlist , /deop , /home , /kick , /op , /pardon , /pardon-ip , /say , and /stop .
{"type": "alpha", "version": "v1.0.16", "exp": "", "snap": "", "content": "(values exceeds 1000 characters...)"} | ||||||
v1.0.16_01 | Added /save-all , /save-on , /save-off and /tp .
{"type": "alpha", "version": "v1.0.16_01", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/save-all article, displayed as save-all)</span></code><!-- /Command -->, <!-- Command --><code ><span>/(link to Commands/save-on article, displayed as save-on)</span></code><!-- /Command -->, <!-- Command --><code ><span>/(link to Commands/save-off article, displayed as save-off)</span></code><!-- /Command --> and <!-- Command --><code ><span>/(link to Commands/tp article, displayed as tp)</span></code><!-- /Command -->."} | ||||||
v1.0.16_02 | Added /list and /tell .
{"type": "alpha", "version": "v1.0.16_02", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/list article, displayed as list)</span></code><!-- /Command --> and <!-- Command --><code ><span>/(link to Commands/tell article, displayed as tell)</span></code><!-- /Command -->."} | ||||||
v1.2.5 | Removed /home .
{"type": "alpha", "version": "v1.2.5", "exp": "", "snap": "", "content": "Removed <!-- Command --><code ><span>/(link to Commands/home article, displayed as home)</span></code><!-- /Command -->."} | ||||||
v1.2.6 | Added /kill .
{"type": "alpha", "version": "v1.2.6", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/kill article, displayed as kill)</span></code><!-- /Command -->."} | ||||||
[hide]beta | |||||||
1.3 | Added /whitelist .
{"type": "beta", "version": "1.3", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/whitelist article, displayed as whitelist)</span></code><!-- /Command -->."} | ||||||
[hide]Java Edition | |||||||
1.3.1 | Added cheats mode and /gamemode , /give , /time , /toggledownfall , and /xp .
{"type": "java", "version": "1.3.1", "exp": "", "snap": "", "content": "Added cheats mode and <!-- Command --><code ><span>/(link to Commands/gamemode article, displayed as gamemode)</span></code><!-- /Command -->, <!-- Command --><code ><span>/(link to Commands/give article, displayed as give)</span></code><!-- /Command -->, <!-- Command --><code ><span>/(link to Commands/time article, displayed as time)</span></code><!-- /Command -->, <!-- Command --><code ><span>/(link to Commands/toggledownfall article, displayed as toggledownfall)</span></code><!-- /Command -->, and <!-- Command --><code ><span>/(link to Commands/xp article, displayed as xp)</span></code><!-- /Command -->."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /help .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/help article, displayed as help)</span></code><!-- /Command -->."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /seed .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/seed article, displayed as seed)</span></code><!-- /Command -->."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /defaultgamemode .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/defaultgamemode article, displayed as defaultgamemode)</span></code><!-- /Command -->."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /publish .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/publish article, displayed as publish)</span></code><!-- /Command -->."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Cheats can now be turned on or off when opening a world to other players through LAN.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Cheats can now be turned on or off when opening a world to other players through LAN."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /debug .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/debug article, displayed as debug)</span></code><!-- /Command -->."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | /gamemode 3 change to /gamemode 0 (survival mode).
{"type": "java", "version": "", "exp": "", "snap": "", "content": "<!-- Command --><code ><span>/(link to Commands/gamemode article, displayed as gamemode) 3</span></code><!-- /Command --> change to <!-- Command --><code ><span>/(link to Commands/gamemode article, displayed as gamemode) 0</span></code><!-- /Command --> (survival mode)."} | ||||||
1.4.2 | Added /difficulty , /gamerule , /spawnpoint , and /weather .
{"type": "java", "version": "1.4.2", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/difficulty article, displayed as difficulty)</span></code><!-- /Command -->, <!-- Command --><code ><span>/(link to Commands/gamerule article, displayed as gamerule)</span></code><!-- /Command -->, <!-- Command --><code ><span>/(link to Commands/spawnpoint article, displayed as spawnpoint)</span></code><!-- /Command -->, and <!-- Command --><code ><span>/(link to Commands/weather article, displayed as weather)</span></code><!-- /Command -->."} | ||||||
Added target selectors.
{"type": "java", "version": "1.4.2", "exp": "", "snap": "", "content": "Added (link to #Target selectors article, displayed as target selectors)."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /clear .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/clear article, displayed as clear)</span></code><!-- /Command -->."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added item arguments to /clear .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <code>item</code> arguments to <!-- Command --><code ><span>/(link to Commands/clear article, displayed as clear)</span></code><!-- /Command -->."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | The limit for /xp is now 2,147,483,647 instead of 5,000.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "The limit for <!-- Command --><code ><span>/(link to Commands/xp article, displayed as xp)</span></code><!-- /Command --> is now 2,147,483,647 instead of 5,000."} | ||||||
1.4.4 | Added /enchant .
{"type": "java", "version": "1.4.4", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/enchant article, displayed as enchant)</span></code><!-- /Command -->."} | ||||||
1.5 | Added /testfor .
{"type": "java", "version": "1.5", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/testfor article, displayed as testfor)</span></code><!-- /Command -->."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /scoreboard .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/scoreboard article, displayed as scoreboard)</span></code><!-- /Command -->."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /effect .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/effect article, displayed as effect)</span></code><!-- /Command -->."} | ||||||
1.6.1 | Added /spreadplayers .
{"type": "java", "version": "1.6.1", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/spreadplayers article, displayed as spreadplayers)</span></code><!-- /Command -->."} | ||||||
Added gamerule naturalRegeneration .
{"type": "java", "version": "1.6.1", "exp": "", "snap": "", "content": "Added gamerule <code>naturalRegeneration</code>."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added gamerule doDaylightCycle .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added gamerule <code>doDaylightCycle</code>."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | The damage dealt by /kill was changed from 1,000 to 3.4×1038.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "The damage dealt by <!-- Command --><code ><span>/(link to Commands/kill article, displayed as kill)</span></code><!-- /Command --> was changed from 1,000 to 3.4×10<sup>38</sup>."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added clear argument to /effect .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <code>clear</code> argument to <!-- Command --><code ><span>/(link to Commands/effect article, displayed as effect)</span></code><!-- /Command -->."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /playsound .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/playsound article, displayed as playsound)</span></code><!-- /Command -->."} | ||||||
1.7.2 | Added /summon .
{"type": "java", "version": "1.7.2", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/summon article, displayed as summon)</span></code><!-- /Command -->."} | ||||||
Added /achievement .
{"type": "java", "version": "1.7.2", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/achievement article, displayed as achievement)</span></code><!-- /Command -->."} | |||||||
Added dataTag argument to /give .
{"type": "java", "version": "1.7.2", "exp": "", "snap": "", "content": "Added <code>dataTag</code> argument to <!-- Command --><code ><span>/(link to Commands/give article, displayed as give)</span></code><!-- /Command -->."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /setblock , /tellraw , and /testforblock .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/setblock article, displayed as setblock)</span></code><!-- /Command -->, <!-- Command --><code ><span>/(link to Commands/tellraw article, displayed as tellraw)</span></code><!-- /Command -->, and <!-- Command --><code ><span>/(link to Commands/testforblock article, displayed as testforblock)</span></code><!-- /Command -->."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /setidletimeout .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/setidletimeout article, displayed as setidletimeout)</span></code><!-- /Command -->."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /setworldspawn .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/setworldspawn article, displayed as setworldspawn)</span></code><!-- /Command -->."} | ||||||
1.8 | Added /blockdata .
{"type": "java", "version": "1.8", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/blockdata article, displayed as blockdata)</span></code><!-- /Command -->."} | ||||||
Added the @e target selector variable.
{"type": "java", "version": "1.8", "exp": "", "snap": "", "content": "Added the <code>@e</code> (link to #Target selector variables article, displayed as target selector variable)."} | |||||||
Added player|entity argument to /kill .
{"type": "java", "version": "1.8", "exp": "", "snap": "", "content": "Added <code>player|entity</code> argument to <!-- Command --><code ><span>/(link to Commands/kill article, displayed as kill)</span></code><!-- /Command -->."} | |||||||
Added data argument to /clear .
{"type": "java", "version": "1.8", "exp": "", "snap": "", "content": "Added <code>data</code> argument to <!-- Command --><code ><span>/(link to Commands/clear article, displayed as clear)</span></code><!-- /Command -->."} | |||||||
Added dataTag argument to /testfor .
{"type": "java", "version": "1.8", "exp": "", "snap": "", "content": "Added <code>dataTag</code> argument to <!-- Command --><code ><span>/(link to Commands/testfor article, displayed as testfor)</span></code><!-- /Command -->."} | |||||||
/testfor is no longer exclusive to command blocks.
{"type": "java", "version": "1.8", "exp": "", "snap": "", "content": "<!-- Command --><code ><span>/(link to Commands/testfor article, displayed as testfor)</span></code><!-- /Command --> is no longer exclusive to command blocks."} | |||||||
Added insertion attribute to raw JSON text specification.
{"type": "java", "version": "1.8", "exp": "", "snap": "", "content": "Added <code>insertion</code> attribute to (link to #Raw JSON text article, displayed as raw JSON text) specification."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | To fix 44371, /kill now directly kills non-living targets, rather than dealing 3.4×1038 void damage.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "To fix <span class=\"bug plainlinks\" data-id=\"44371-\">(link to Mojira:44371- article, displayed as 44371)</span>, <!-- Command --><code ><span>/(link to Commands/kill article, displayed as kill)</span></code><!-- /Command --> now directly kills non-living targets, rather than dealing 3.4×10<sup>38</sup> void damage."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added rotation arguments to /tp .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added rotation arguments to <!-- Command --><code ><span>/(link to Commands/tp article, displayed as tp)</span></code><!-- /Command -->."} | ||||||
Added dx , dy , and dz to target selector arguments.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <code>dx</code>, <code>dy</code>, and <code>dz</code> to (link to #Target selectors article, displayed as target selector) arguments."} | |||||||
Added /clone and /fill .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/clone article, displayed as clone)</span></code><!-- /Command --> and <!-- Command --><code ><span>/(link to Commands/fill article, displayed as fill)</span></code><!-- /Command -->."} | |||||||
Added gamerule logAdminCommands .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added gamerule <code>logAdminCommands</code>."} | |||||||
NBT data now supports using string IDs rather than numerical IDs.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "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.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Numerical IDs no longer work in other parts of commands, though they still work for NBT data."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /particle .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/particle article, displayed as particle)</span></code><!-- /Command -->."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added spectator to /gamemode and /defaultgamemode .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <code>spectator</code> to <!-- Command --><code ><span>/(link to Commands/gamemode article, displayed as gamemode)</span></code><!-- /Command --> and <!-- Command --><code ><span>/(link to Commands/defaultgamemode article, displayed as defaultgamemode)</span></code><!-- /Command -->."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added hideParticles argument to /effect .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <code>hideParticles</code> argument to <!-- Command --><code ><span>/(link to Commands/effect article, displayed as effect)</span></code><!-- /Command -->."} | ||||||
Added /trigger .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/trigger article, displayed as trigger)</span></code><!-- /Command -->."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /execute and /testforblocks .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/execute article, displayed as execute)</span></code><!-- /Command --> and <!-- Command --><code ><span>/(link to Commands/testforblocks article, displayed as testforblocks)</span></code><!-- /Command -->."} | ||||||
/testfor can now test for partial NBT tag matches.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "<!-- Command --><code ><span>/(link to Commands/testfor article, displayed as testfor)</span></code><!-- /Command --> can now test for partial NBT tag matches."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Commands run using /execute now pass their success value back to the command block running them.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Commands run using <!-- Command --><code ><span>/(link to Commands/execute article, displayed as execute)</span></code><!-- /Command --> now pass their success value back to the command block running them."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added gamerule showDeathMessages .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added gamerule <code>showDeathMessages</code>."} | ||||||
Added force option to /clone .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <code>force</code> option to <!-- Command --><code ><span>/(link to Commands/clone article, displayed as clone)</span></code><!-- /Command -->."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /worldborder .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/worldborder article, displayed as worldborder)</span></code><!-- /Command -->."} | ||||||
Added gamerule randomTickSpeed .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added gamerule <code>randomTickSpeed</code>."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /worldborder damage and /worldborder warning .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/worldborder article, displayed as worldborder) damage</span></code><!-- /Command --> and <!-- Command --><code ><span>/(link to Commands/worldborder article, displayed as worldborder) warning</span></code><!-- /Command -->."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /title .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/title article, displayed as title)</span></code><!-- /Command -->."} | ||||||
Added selector attribute to raw JSON text specification.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <code>selector</code> attribute to (link to #Raw JSON text article, displayed as raw JSON text) specification."} | |||||||
Added move option to /clone .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <code>move</code> option to <!-- Command --><code ><span>/(link to Commands/clone article, displayed as clone)</span></code><!-- /Command -->."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /worldborder add .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/worldborder article, displayed as worldborder) add</span></code><!-- /Command -->."} | ||||||
Added /replaceitem .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/replaceitem article, displayed as replaceitem)</span></code><!-- /Command -->."} | |||||||
Added gamerule sendCommandFeedback
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added gamerule <code>sendCommandFeedback</code>"} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /stats .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/stats article, displayed as stats)</span></code><!-- /Command -->."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /worldborder get .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/worldborder article, displayed as worldborder) get</span></code><!-- /Command -->."} | ||||||
Added force argument to /particle .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <code>force</code> argument to <!-- Command --><code ><span>/(link to Commands/particle article, displayed as particle)</span></code><!-- /Command -->."} | |||||||
Added /time query .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/time article, displayed as time)</span></code><!-- /Command --> <code>query</code>."} | |||||||
Added the ability to create dummy gamerules.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added the ability to create dummy gamerules."} | |||||||
Added QueryResults to /stats .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <code>QueryResults</code> to <!-- Command --><code ><span>/(link to Commands/stats article, displayed as stats)</span></code><!-- /Command -->."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | /summon can now spawn lightning.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "<!-- Command --><code ><span>/(link to Commands/summon article, displayed as summon)</span></code><!-- /Command --> can now spawn (link to lightning article, displayed as lightning)."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | /debug can be run in single player.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "<!-- Command --><code ><span>/(link to Commands/debug article, displayed as debug)</span></code><!-- /Command --> can be run in single player."} | ||||||
Added chunk argument to /debug .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <code>chunk</code> argument to <!-- Command --><code ><span>/(link to Commands/debug article, displayed as debug)</span></code><!-- /Command -->."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /entitydata .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/entitydata article, displayed as entitydata)</span></code><!-- /Command -->."} | ||||||
/give can no longer make illegal stacks.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "<!-- Command --><code ><span>/(link to Commands/give article, displayed as give)</span></code><!-- /Command --> can no longer make illegal stacks."} | |||||||
1.8.1 | Added the game rule doEntityDrops .
{"type": "java", "version": "1.8.1", "exp": "", "snap": "", "content": "Added the game rule <code>doEntityDrops</code>."} | ||||||
The game rule doTileDrops no longer affects entities.
{"type": "java", "version": "1.8.1", "exp": "", "snap": "", "content": "The game rule <code>doTileDrops</code> no longer affects entities."} | |||||||
1.9 | Added gamerule spectatorsGenerateChunks .
{"type": "java", "version": "1.9", "exp": "", "snap": "", "content": "Added gamerule <code>spectatorsGenerateChunks</code>."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | /gamemode now displays in chat the gamemode the player switched to.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "<!-- Command --><code ><span>/(link to Commands/gamemode article, displayed as gamemode)</span></code><!-- /Command --> now displays in chat the gamemode the player switched to."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | /playsound now accepts Tab to complete.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "<!-- Command --><code ><span>/(link to Commands/playsound article, displayed as playsound)</span></code><!-- /Command --> now accepts Tab to complete."} | ||||||
Added player and params tag to the /particle
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added ''player'' and ''params'' tag to the <!-- Command --><code ><span>/(link to Commands/particle article, displayed as particle)</span></code><!-- /Command -->"} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | /time query now accepts day as a value.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "<!-- Command --><code ><span>/(link to Commands/time article, displayed as time) query</span></code><!-- /Command --> now accepts <code>day</code> as a value."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added gamerule spawnRadius .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added gamerule <code>spawnRadius</code>."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | The m selector now accepts the standard literal gamemode values and abbreviations, such as a and adventure , and these may be negated as well.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "The <code>m</code> selector now accepts the standard literal gamemode values and abbreviations, such as <code>a</code> and <code>adventure</code>, and these may be negated as well."} | ||||||
/playsound now requires a source parameter, specifying what is the sound's category for volume purposes.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "<!-- Command --><code ><span>/(link to Commands/playsound article, displayed as playsound)</span></code><!-- /Command --> now requires a ''source'' parameter, specifying what is the sound's category for volume purposes."} | |||||||
Running /help in a command block will now randomly use one of various different humorous phrases as the previous output.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Running <!-- Command --><code ><span>/(link to Commands/help article, displayed as help)</span></code><!-- /Command --> in a command block will now randomly use one of various different humorous phrases as the previous output."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | /achievement no longer affects statistics.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "<!-- Command --><code ><span>/(link to Commands/achievement article, displayed as achievement)</span></code><!-- /Command --> no longer affects statistics."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added gamerule disableElytraMovementCheck .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added gamerule <code>disableElytraMovementCheck</code>."} | ||||||
1.9.3 | /tp will no longer teleport the player to a y-coordinate outside the range -512 to 512.
{"type": "java", "version": "1.9.3", "exp": "", "snap": "", "content": "<!-- Command --><code ><span>/(link to Commands/tp article, displayed as tp)</span></code><!-- /Command --> will no longer teleport the player to a y-coordinate outside the range -512 to 512."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /stopsound .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/stopsound article, displayed as stopsound)</span></code><!-- /Command -->."} | ||||||
1.10 | The y-coordinate range of /tp is increased to -4096 to 4096.
{"type": "java", "version": "1.10", "exp": "", "snap": "", "content": "The y-coordinate range of <!-- Command --><code ><span>/(link to Commands/tp article, displayed as tp)</span></code><!-- /Command --> is increased to -4096 to 4096."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /teleport , which is like /tp , except that the target parameter is mandatory, the 'teleport to other player' usage is unavailable, and the use of relative coordinates is relative to the executor of the command, rather than relative to the target.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/teleport article, displayed as teleport)</span></code><!-- /Command -->, which is like <!-- Command --><code ><span>/(link to Commands/tp article, displayed as tp)</span></code><!-- /Command -->, except that the target parameter is mandatory, the 'teleport to other player' usage is unavailable, and the use of relative coordinates is relative to the executor of the command, rather than relative to the target."} | ||||||
1.11 | Added block state support to /execute , /fill , /setblock and /testforblock .
{"type": "java", "version": "1.11", "exp": "", "snap": "", "content": "Added (link to block state article, displayed as block state) support to <!-- Command --><code ><span>/(link to Commands/execute article, displayed as execute)</span></code><!-- /Command -->, <!-- Command --><code ><span>/(link to Commands/fill article, displayed as fill)</span></code><!-- /Command -->, <!-- Command --><code ><span>/(link to Commands/setblock article, displayed as setblock)</span></code><!-- /Command --> and <!-- Command --><code ><span>/(link to Commands/testforblock article, displayed as testforblock)</span></code><!-- /Command -->."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added ability for /title to display text in the action bar position.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added ability for <!-- Command --><code ><span>/(link to Commands/title article, displayed as title)</span></code><!-- /Command --> to display text in the action bar position."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added gamerules doWeatherCycle and maxEntityCramming .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added gamerules <code>doWeatherCycle</code> and <code>maxEntityCramming</code>."} | ||||||
Removed implicit target selectors (for example, @e[167,28,454] ).
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Removed implicit target selectors (for example, <code>@e[167,28,454]</code>)."} | |||||||
Invalid target selectors (such as @e[Type=creeper] , @e[asdf=nonexistent] , and @e[malformed] ) now generate an error instead of being silently ignored.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Invalid target selectors (such as <code>@e[Type=creeper]</code>, <code>@e[asdf=nonexistent]</code>, and <code>@e[malformed]</code>) now generate an error instead of being silently ignored."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /locate .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/locate article, displayed as locate)</span></code><!-- /Command -->."} | ||||||
1.12 | Added /recipe and /advancement .
{"type": "java", "version": "1.12", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/recipe article, displayed as recipe)</span></code><!-- /Command --> and <!-- Command --><code ><span>/(link to Commands/advancement article, displayed as advancement)</span></code><!-- /Command -->."} | ||||||
Added gamerule doLimitedCrafting .
{"type": "java", "version": "1.12", "exp": "", "snap": "", "content": "Added gamerule <code>doLimitedCrafting</code>."} | |||||||
Removed /achievement .
{"type": "java", "version": "1.12", "exp": "", "snap": "", "content": "Removed <!-- Command --><code ><span>/(link to Commands/achievement article, displayed as achievement)</span></code><!-- /Command -->."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added gamerule maxCommandChainLength .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added gamerule <code>maxCommandChainLength</code>."} | ||||||
Added the @s target selector variable
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added the <code>@s</code> (link to #Target selector variables article, displayed as target selector variable)"} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added gamerule announceAdvancements .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added gamerule <code>announceAdvancements</code>."} | ||||||
Added /reload .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/reload article, displayed as reload)</span></code><!-- /Command -->."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added gamerule gameLoopFunction .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added gamerule <code>gameLoopFunction</code>."} | ||||||
Added /function .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/function article, displayed as function)</span></code><!-- /Command -->."} | |||||||
1.13 | A new library named Brigadier is now used to parse commands. Different components of commands are displayed in different colors, and errors will be 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.
{"type": "java", "version": "1.13", "exp": "", "snap": "", "content": "A new library named Brigadier is now used to parse commands. Different components of commands are displayed in different colors, and errors will be 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."} | ||||||
An nbt argument in target selectors.
{"type": "java", "version": "1.13", "exp": "", "snap": "", "content": "An <code>nbt</code> argument in target selectors."} | |||||||
Changed the syntax for several commands.[more information needed]
{"type": "java", "version": "1.13", "exp": "", "snap": "", "content": "Changed the syntax for several commands.<sup class=\"noprint nowrap Inline-Template \" title=\"\">[<i>[https://minecraft.wiki/w/Talk:Commands<span title=\"Which specifically, if separate from those listed below?\" style=\"border-bottom: 1px dotted\">more information needed</span>]</i>]</sup>(link to Category:Information needed article, displayed as Category:Information needed)"} | |||||||
Added /tag and /team .
{"type": "java", "version": "1.13", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/tag article, displayed as tag)</span></code><!-- /Command --> and <!-- Command --><code ><span>/(link to Commands/team article, displayed as team)</span></code><!-- /Command -->."} | |||||||
Removed /enchant , /stats , /testfor , /testforblock , /testforblocks and /toggledownfall .
{"type": "java", "version": "1.13", "exp": "", "snap": "", "content": "Removed <!-- Command --><code ><span>/(link to Commands/enchant article, displayed as enchant)</span></code><!-- /Command -->, <!-- Command --><code ><span>/(link to Commands/stats article, displayed as stats)</span></code><!-- /Command -->, <!-- Command --><code ><span>/(link to Commands/testfor article, displayed as testfor)</span></code><!-- /Command -->, <!-- Command --><code ><span>/(link to Commands/testforblock article, displayed as testforblock)</span></code><!-- /Command -->, <!-- Command --><code ><span>/(link to Commands/testforblocks article, displayed as testforblocks)</span></code><!-- /Command --> and <!-- Command --><code ><span>/(link to Commands/toggledownfall article, displayed as toggledownfall)</span></code><!-- /Command -->."} | |||||||
The syntax of /execute has been split off.
{"type": "java", "version": "1.13", "exp": "", "snap": "", "content": "The syntax of <!-- Command --><code ><span>/(link to Commands/execute article, displayed as execute)</span></code><!-- /Command --> has been split off."} | |||||||
/gamerule no longer accepts unknown values ("custom gamerules").
{"type": "java", "version": "1.13", "exp": "", "snap": "", "content": "<!-- Command --><code ><span>/(link to Commands/gamerule article, displayed as gamerule)</span></code><!-- /Command --> no longer accepts unknown values (\"custom gamerules\")."} | |||||||
Values to /gamerule are now type checked.
{"type": "java", "version": "1.13", "exp": "", "snap": "", "content": "Values to <!-- Command --><code ><span>/(link to Commands/gamerule article, displayed as gamerule)</span></code><!-- /Command --> are now type checked."} | |||||||
/publish now accepts an optional port argument.
{"type": "java", "version": "1.13", "exp": "", "snap": "", "content": "<!-- Command --><code ><span>/(link to Commands/publish article, displayed as publish)</span></code><!-- /Command --> now accepts an optional <code>port</code> argument."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /data .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/data article, displayed as data)</span></code><!-- /Command -->."} | ||||||
Removed /entitydata .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Removed <!-- Command --><code ><span>/(link to Commands/entitydata article, displayed as entitydata)</span></code><!-- /Command -->."} | |||||||
Reworked /execute store .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Reworked <!-- Command --><code ><span>/(link to Commands/execute article, displayed as execute) store</span></code><!-- /Command -->."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /datapack .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/datapack article, displayed as datapack)</span></code><!-- /Command -->."} | ||||||
The player now has the option to toggle automatic command suggestions.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "The player now has the option to toggle automatic command suggestions."} | |||||||
The command UI has a new prototype, and now works in multiplayer.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "The command UI has a new prototype, and now works in multiplayer."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Removed /blockdata .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Removed <!-- Command --><code ><span>/(link to Commands/blockdata article, displayed as blockdata)</span></code><!-- /Command -->."} | ||||||
Particle names have been changed for the command /particle .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Particle names have been changed for the command <!-- Command --><code ><span>/(link to Commands/particle article, displayed as particle)</span></code><!-- /Command -->."} | |||||||
Added an option in chat to toggle automatic command suggestions.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added an option in chat to toggle automatic command suggestions."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Tweaked the command suggestion UI.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Tweaked the command suggestion UI."} | ||||||
Reworked tab-completion for coordinates.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Reworked tab-completion for coordinates."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Removed the gameLoopFunction /gamerule .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Removed the <code>gameLoopFunction</code> <!-- Command --><code ><span>/(link to Commands/gamerule article, displayed as gamerule)</span></code><!-- /Command -->."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Local coordinates can now be specified in commands using ^ .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Local coordinates can now be specified in commands using <code>^</code>."} | ||||||
Tab-completing when not targeting a block will suggest ~ ~ ~ .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Tab-completing when not targeting a block will suggest <code>~ ~ ~</code>."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added facing to /teleport , which will make the target entity face an entity or a location.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <code>facing</code> to <!-- Command --><code ><span>/(link to Commands/teleport article, displayed as teleport)</span></code><!-- /Command -->, which will make the target entity face an entity or a location."} | ||||||
Added the options noon and midnight to /time set .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added the options <code>noon</code> and <code>midnight</code> to <!-- Command --><code ><span>/(link to Commands/time article, displayed as time) set</span></code><!-- /Command -->."} | |||||||
Changed all custom names (blocks, items, entities, block entities) to translatable text components.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Changed all custom names (blocks, items, entities, block entities) to translatable text components."} | |||||||
Thrower and Owner nbt keys of item entities are no longer strings but are instead compounds with two longs named L and M .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "<code>Thrower</code> and <code>Owner</code> nbt keys of item entities are no longer strings but are instead compounds with two longs named <code>L</code> and <code>M</code>."} | |||||||
owner nbt keys of snowballs, eggs and ender pearls are no longer strings but are instead compounds with two longs named L and M .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "<code>owner</code> nbt keys of snowballs, eggs and ender pearls are no longer strings but are instead compounds with two longs named <code>L</code> and <code>M</code>."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Errors during a command are now a nicer error message (with a tool tip for more info).
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Errors during a command are now a nicer error message (with a tool tip for more info)."} | ||||||
/teleport has been simplified a bit, and players can now teleport to entities in other dimensions.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "<!-- Command --><code ><span>/(link to Commands/teleport article, displayed as teleport)</span></code><!-- /Command --> has been simplified a bit, and players can now teleport to entities in other dimensions."} | |||||||
Added new sub-commands to /execute to allow for more control over commands.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added new sub-commands to <!-- Command --><code ><span>/(link to Commands/execute article, displayed as execute)</span></code><!-- /Command --> to allow for more control over commands."} | |||||||
Server commands now run from world spawn in the Overworld, instead of at 0,0,0 .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Server commands now run from world spawn in the Overworld, instead of at <code>0,0,0</code>."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Improved performance of command parsing and command execution.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Improved performance of command parsing and command execution."} | ||||||
Added commands to the profiler (/debug).
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added commands to the profiler (/debug)."} | |||||||
/data get with a path now works on non-numeric values.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "<!-- Command --><code ><span>/(link to Commands/data article, displayed as data) get</span></code><!-- /Command --> with a <code>path</code> now works on non-numeric values."} | |||||||
Added the /particle <name> <pos> shortcut.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added the <!-- Command --><code ><span>/(link to Commands/particle article, displayed as particle) <name> <pos></span></code><!-- /Command --> shortcut."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /bossbar
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/bossbar article, displayed as bossbar)</span></code><!-- /Command -->"} | ||||||
New /execute store subcommand.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "New <!-- Command --><code ><span>/(link to Commands/execute article, displayed as execute) store</span></code><!-- /Command --> subcommand."} | |||||||
Added basic entity selector suggestions in the command UI.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added basic entity selector suggestions in the command UI."} | |||||||
A warning is now logged for ambiguous commands.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "A warning is now logged for ambiguous commands."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Re-added /enchant .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Re-added <!-- Command --><code ><span>/(link to Commands/enchant article, displayed as enchant)</span></code><!-- /Command -->."} | ||||||
Added command suggestions for entity selectors.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added command suggestions for entity selectors."} | |||||||
Whitespaces are now allowed in entity selectors & blockstate arguments.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Whitespaces are now allowed in entity selectors & blockstate arguments."} | |||||||
/locate now accepts different structure names for all structures previously grouped under Temple : Desert_Pyramid , Igloo , Jungle_Pyramid , and Swamp_Hut .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "<!-- Command --><code ><span>/(link to Commands/locate article, displayed as locate)</span></code><!-- /Command --> now accepts different structure names for all structures previously grouped under <code>Temple</code>: <code>Desert_Pyramid</code>, <code>Igloo</code>, <code>Jungle_Pyramid</code>, and <code>Swamp_Hut</code>."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added a clickable teleport link to the /locate command output.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added a clickable teleport link to the <!-- Command --><code ><span>/(link to Commands/locate article, displayed as locate)</span></code><!-- /Command --> command output."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | The output of the /seed command can now be copied.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "The output of the <!-- Command --><code ><span>/(link to Commands/seed article, displayed as seed)</span></code><!-- /Command --> command can now be copied."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Teams now have a prefix and a suffix.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Teams now have a prefix and a suffix."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /scoreboard objectives modify <objective> displayname <displayName> .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/scoreboard article, displayed as scoreboard) objectives modify ''<objective>'' displayname ''<displayName>''</span></code><!-- /Command -->."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /team modify <team> displayName .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/team article, displayed as team) modify ''<team>'' displayName</span></code><!-- /Command -->."} | ||||||
Added /scoreboard objectives modify <objective> rendertype hearts , which makes health bars display as hearts, like this: .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/scoreboard article, displayed as scoreboard) objectives modify ''<objective>'' rendertype ''hearts''</span></code><!-- /Command -->, which makes health bars display as hearts, like this: <span class=\"iconbar pixel-image nowrap\" style=\"--icon-offset:-2px;\" title=\"6 hearts\">(link to File:Heart (icon).png article, displayed as 18px|link=|alt=♥)(link to File:Heart (icon).png article, displayed as 18px|link=|alt=♥)(link to File:Heart (icon).png article, displayed as 18px|link=|alt=♥)(link to File:Heart (icon).png article, displayed as 18px|link=|alt=♥)(link to File:Heart (icon).png article, displayed as 18px|link=|alt=♥)(link to File:Heart (icon).png article, displayed as 18px|link=|alt=♥)</span>."} | |||||||
Added /scoreboard objectives modify <objective> rendertype integer , which makes health bars display as yellow numbers.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/scoreboard article, displayed as scoreboard) objectives modify ''<objective>'' rendertype ''integer''</span></code><!-- /Command -->, which makes health bars display as yellow numbers."} | |||||||
Team names & objective names are now text components, not raw strings.
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Team names & objective names are now text components, not raw strings."} | |||||||
/team option is now /team modify .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "<!-- Command --><code ><span>/(link to Commands/team article, displayed as team) option</span></code><!-- /Command --> is now <!-- Command --><code ><span>/(link to Commands/team article, displayed as team) modify</span></code><!-- /Command -->."} | |||||||
1.13.1 | Added /chunk .
{"type": "java", "version": "1.13.1", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/chunk article, displayed as chunk)</span></code><!-- /Command -->."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Renamed /chunk to /forceload .
{"type": "java", "version": "", "exp": "", "snap": "", "content": "Renamed <!-- Command --><code ><span>/(link to Commands/chunk article, displayed as chunk)</span></code><!-- /Command --> to <!-- Command --><code ><span>/(link to Commands/forceload article, displayed as forceload)</span></code><!-- /Command -->."} | ||||||
September 26, 2018 | Brigadier open-sourced under the MIT license. (Source code previously was available on the library site, with no license specified).
{"type": "java", "version": "September 26, 2018", "exp": "", "snap": "", "content": "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)."} | ||||||
[hide]Upcoming Java Edition | |||||||
1.14 | Added /drop and /schedule .
{"type": "java upcoming", "version": "1.14", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/drop article, displayed as drop)</span></code><!-- /Command --> and <!-- Command --><code ><span>/(link to Commands/schedule article, displayed as schedule)</span></code><!-- /Command -->."} | ||||||
/replaceitem can now be used on item frames.
{"type": "java upcoming", "version": "1.14", "exp": "", "snap": "", "content": "<!-- Command --><code ><span>/(link to Commands/replaceitem article, displayed as replaceitem)</span></code><!-- /Command --> can now be used on (link to item frame article, displayed as item frames)."} | |||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | /drop renamed to /loot and reworked.
{"type": "java upcoming", "version": "", "exp": "", "snap": "", "content": "<!-- Command --><code ><span>/(link to Commands/drop article, displayed as drop)</span></code><!-- /Command --> renamed to <!-- Command --><code ><span>/(link to Commands/loot article, displayed as loot)</span></code><!-- /Command --> and reworked."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Added /teammsg .
{"type": "java upcoming", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/teammsg article, displayed as teammsg)</span></code><!-- /Command -->."} | ||||||
[hide]Pocket Edition Alpha | |||||||
0.7.4 | Added support for commands, though none are implemented yet.
{"type": "pocket Alpha", "version": "0.7.4", "exp": "", "snap": "", "content": "Added support for commands, though none are implemented yet."} | ||||||
0.16.0 | Added /clearfixedinv , /clone , /deop , /execute , /fill , /gamemode , /give , /help (with alias /? ), /kill , /list , /op , /say , /setblock , /setfixedinvslot , /setworldspawn , /spawnpoint , /summon , /tell (with aliases /msg and /w ), /testforblock , /testforblocks , /time , /toggledownfall , /tp (with alias /teleport ), /weather , /wsserver and /xp .
{"type": "pocket Alpha", "version": "0.16.0", "exp": "", "snap": "", "content": "(values exceeds 1000 characters...)"} | ||||||
Functionality of most commands is equivalent to Java Edition 1.10 usage. Differences include: no support for datatags, /clone cannot use forced cloneMode, /gamemode can only use Creative and Survival modes, the player target is optional in /give , and the entity target is optional in /execute .
{"type": "pocket Alpha", "version": "0.16.0", "exp": "", "snap": "", "content": "Functionality of most commands is equivalent to Java Edition 1.10 usage. Differences include: no support for datatags, <!-- Command --><code ><span>/(link to Commands/clone article, displayed as clone)</span></code><!-- /Command --> cannot use <code>forced</code> cloneMode, <!-- Command --><code ><span>/(link to Commands/gamemode article, displayed as gamemode)</span></code><!-- /Command --> can only use Creative and Survival modes, the player target is optional in <!-- Command --><code ><span>/(link to Commands/give article, displayed as give)</span></code><!-- /Command -->, and the entity target is optional in <!-- Command --><code ><span>/(link to Commands/execute article, displayed as execute)</span></code><!-- /Command -->."} | |||||||
Alpha | Removed /clearfixedinv and /setfixedinvslot , along with other Education Edition -related items.
{"type": "pocket Alpha", "version": "", "exp": "", "snap": "", "content": "Removed <!-- Command --><code ><span>/(link to Commands/clearfixedinv article, displayed as clearfixedinv)</span></code><!-- /Command --> and <!-- Command --><code ><span>/(link to Commands/setfixedinvslot article, displayed as setfixedinvslot)</span></code><!-- /Command -->, along with other (link to Education Edition article, displayed as Education Edition) -related items."} | ||||||
Alpha | Added /enchant .
{"type": "pocket Alpha", "version": "", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/enchant article, displayed as enchant)</span></code><!-- /Command -->."} | ||||||
[hide]Pocket Edition | |||||||
1.0 | Added /locate and /connect .
{"type": "pocket", "version": "1.0", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/locate article, displayed as locate)</span></code><!-- /Command --> and <!-- Command --><code ><span>/(link to Commands/connect article, displayed as connect)</span></code><!-- /Command -->."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Removed /locate .
{"type": "pocket", "version": "", "exp": "", "snap": "", "content": "Removed <!-- Command --><code ><span>/(link to Commands/locate article, displayed as locate)</span></code><!-- /Command -->."} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Re-added /locate . Only works for strongholds.
{"type": "pocket", "version": "", "exp": "", "snap": "", "content": "Re-added <!-- Command --><code ><span>/(link to Commands/locate article, displayed as locate)</span></code><!-- /Command -->. Only works for strongholds."} | ||||||
1.0.3 | Added /transferserver .
{"type": "pocket", "version": "1.0.3", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/transferserver article, displayed as transferserver)</span></code><!-- /Command -->."} | ||||||
1.0.5 | Added /clear , /difficulty , /effect , /gamerule , /me , /particle , /playsound , /replaceitem , /spreadplayers , /stopsound , /testfor and /title .
{"type": "pocket", "version": "1.0.5", "exp": "", "snap": "", "content": "(values exceeds 1000 characters...)"} | ||||||
Lua error in Module:Version_link at line 117: attempt to concatenate local 'text' (a nil value). | Removed /particle .
{"type": "pocket", "version": "", "exp": "", "snap": "", "content": "Removed <!-- Command --><code ><span>/(link to Commands/particle article, displayed as particle)</span></code><!-- /Command -->."} | ||||||
The amplifier on /effect can no longer have negative values.
{"type": "pocket", "version": "", "exp": "", "snap": "", "content": "The <code>amplifier</code> on <!-- Command --><code ><span>/(link to Commands/effect article, displayed as effect)</span></code><!-- /Command --> can no longer have negative values."} | |||||||
1.1 | The canplaceon and candestroy are now supported for /replaceitem .
{"type": "pocket", "version": "1.1", "exp": "", "snap": "", "content": "The <code>canplaceon</code> and <code>candestroy</code> are now supported for <!-- Command --><code ><span>/(link to Commands/replaceitem article, displayed as replaceitem)</span></code><!-- /Command -->."} | ||||||
/locate can now find other structures.
{"type": "pocket", "version": "1.1", "exp": "", "snap": "", "content": "<!-- Command --><code ><span>/(link to Commands/locate article, displayed as locate)</span></code><!-- /Command --> can now find other structures."} | |||||||
Added the dodaylightcycle , doentitydrops , dofiretick , domobspawning , domobloot , dotiledrops , doweathercycle , keepinventory and mobgriefing gamerules.
{"type": "pocket", "version": "1.1", "exp": "", "snap": "", "content": "Added the <code>dodaylightcycle</code>, <code>doentitydrops</code>, <code>dofiretick</code>, <code>domobspawning</code>, <code>domobloot</code>, <code>dotiledrops</code>, <code>doweathercycle</code>, <code>keepinventory</code> and <code>mobgriefing</code> gamerules."} | |||||||
1.1 | Added /setmaxplayers .
{"type": "pocket", "version": "1.1", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/setmaxplayers article, displayed as setmaxplayers)</span></code><!-- /Command -->."} | ||||||
[hide]Bedrock Edition | |||||||
1.2 | Added /tickingarea .
{"type": "bedrock", "version": "1.2", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/tickingarea article, displayed as tickingarea)</span></code><!-- /Command -->."} | ||||||
1.6 | Added the doinsomnia gamerule.
{"type": "bedrock", "version": "1.6", "exp": "", "snap": "", "content": "Added the <code>doinsomnia</code> gamerule."} | ||||||
1.7 | Added /scoreboard .
{"type": "bedrock", "version": "1.7", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/scoreboard article, displayed as scoreboard)</span></code><!-- /Command -->."} | ||||||
Added the commandblocksenabled gamerule.
{"type": "bedrock", "version": "1.7", "exp": "", "snap": "", "content": "Added the <code>commandblocksenabled</code> gamerule."} | |||||||
1.8 | Readded /particle .
{"type": "bedrock", "version": "1.8", "exp": "", "snap": "", "content": "Readded <!-- Command --><code ><span>/(link to Commands/particle article, displayed as particle)</span></code><!-- /Command -->."} | ||||||
Added the randomTickSpeed gamerule.
{"type": "bedrock", "version": "1.8", "exp": "", "snap": "", "content": "Added the <code>randomTickSpeed</code> gamerule."} | |||||||
Added /reload .
{"type": "bedrock", "version": "1.8", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/reload article, displayed as reload)</span></code><!-- /Command -->."} | |||||||
Added /function .
{"type": "bedrock", "version": "1.8", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/function article, displayed as function)</span></code><!-- /Command -->."} | |||||||
[hide]Upcoming Bedrock Edition | |||||||
1.9 | Added /tellraw .
{"type": "bedrock upcoming", "version": "1.9", "exp": "", "snap": "", "content": "Added <!-- Command --><code ><span>/(link to Commands/tellraw article, displayed as tellraw)</span></code><!-- /Command -->."} | ||||||
Added the showdeathmessages gamerule.
{"type": "bedrock upcoming", "version": "1.9", "exp": "", "snap": "", "content": "Added the <code>showdeathmessages</code> gamerule."} |
Issues
Issues relating to "Commands" are maintained on the bug tracker. Issues should be reported and viewed there.
See also
[hide] | |||
---|---|---|---|
Versions | |||
Development |
| ||
Technical | |||
Game customization |
[hide] | |||||||
---|---|---|---|---|---|---|---|
Editions |
| ||||||
Development |
| ||||||
Technical |
| ||||||
Multiplayer | |||||||
Exclusive features |
| ||||||
Removed |