⛏️ Minecraft Console Commands
1101 entries — copy-paste ready. Updated for latest version.
/give — Give Items
Give any item to a player with optional NBT data and count.
/give <player> <item> [count]
/tp — Teleport
Teleport players to coordinates or other players.
/tp <target> <destination|x y z>
/summon — Summon Entity
Spawn any mob or entity at coordinates.
/summon <entity> [x y z] [nbt]
/enchant — Enchant Item
Add any enchantment to held item at any level.
/enchant <player> <enchantment> [level]
/effect — Status Effects
Apply potion effects to players or entities.
/effect <give|clear> <player> <effect> [seconds] [amplifier]...
/kill — Kill Entity
Instantly kill player or entity. Works on any mob.
/kill <target>
/fill — Fill Blocks
Fill a region with blocks. Replace or hollow options available.
/fill <x1 y1 z1> <x2 y2 z2> <block> [mode]
/clone — Clone Region
Copy blocks from one region to another.
/clone <x1 y1 z1> <x2 y2 z2> <x y z> [maskMode]
/locate — Find Structure
Find coordinates of nearest structure.
/locate structure <structure_type>
/setblock — Place Block
Place or replace a single block at coordinates.
/setblock <x> <y> <z> <block> [mode]
/spawnpoint — Set Spawn Point
Set player spawn location. Overrides bed spawn.
/spawnpoint <player> <x> <y> <z>
/clear — Clear Inventory
Remove items from player inventory.
/clear <player> [item]
/ban — Ban Player
Ban player from server. Adds to banlist.
/ban <player> [reason]
/whitelist — Whitelist Control
Enable/disable/manage server whitelist.
/whitelist <add|remove|on|off|list> [player]
/scoreboard — Scoreboard System
Create and manage scoreboard objectives for tracking stats.
/scoreboard objectives add <name> <criteria> [displayName]
/gamemode adventure
Adventure mode — no block breaking, but can interact with items.
/gamemode adventure
/execute — Execute Command
Run commands from entity positions with conditions.
/execute <as|at|positioned|if|unless> <entity> <command>
/playsound — Play Sound
Play any game sound at any location.
/playsound <sound> <category> <target> [x y z]
/title — Screen Title
Display text on player screen — title, subtitle, actionbar.
/title <player> <title|subtitle|actionbar> <text>
/particle — Spawn Particles
Spawn particle effects at any location.
/particle <name> <x y z> <dx dy dz> <speed> <count>
/bossbar — Boss Bar
Create and manage boss health bars on screen.
/bossbar <add|remove|set> <id> <...>
/spectate — Spectator Mode
Enter spectator mode or spectate a specific entity.
/spectate <target>
/ride — Ride Entity
Make one entity ride another. Stack mobs!
/ride <rider> mount <vehicle>
/damage — Deal Damage
Deal exact amount of damage to entity. Bypasses armor.
/damage <target> <amount> <type>
Added /execute (if|unless) data. (18w43a)
Added /execute (if|unless) data.
18w43a
Added /execute (if|unless) predicate. (19w38a)
Added /execute (if|unless) predicate.
19w38a
Added /execute (if|unless) biome. (22w46a)
Added /execute (if|unless) biome.
22w46a
Added /execute on. (23w03a)
Added /execute on.
23w03a
Added /execute (if|unless) function. (23w31a)
Added /execute (if|unless) function.
23w31a
Added new /execute syntax to closer resemble that of Java Edition. (beta 1.19.10.20)
Added new /execute syntax to closer resemble that of Java Edition.
beta 1.19.10.20
The new /execute syntax is no longer behind the "Upcoming Creator Features" experimental toggle. (beta 1.19.50.23)
The new /execute syntax is no longer behind the "Upcoming Creator Features" experimental toggle.
beta 1.19.50.23
Removed data: int argument from /execute <if|unless> block. (beta 1.19.70.21)
Removed data: int argument from /execute <if|unless> block.
beta 1.19.70.21
..0
less than or equal to 0.
..0
0..
more than or equal to 0.
0..
0..1
between 0 and 1, inclusive.)
0..1
/help <command: CommandName> (the arguments are not specified correctly)
N/A
the arguments are not specified correctly
/help [page: int] (the arguments are not specified correctly)
/help [page: int] — ID: the arguments are not specified correctly
the arguments are not specified correctly
/help <command> (<command> is invalid)
Failed
<command> is invalid
any (Otherwise)
Successful
Otherwise
any (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (1)
N/A
1
Running /help in a command block no longer shows a humorous phrase as the output. (17w45a)
Running /help in a command block no longer shows a humorous phrase as the output.
17w45a
Added /help. (build 1)
Added /help.
build 1
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
if <entity> fails to resolve to one or more online players (Failed)
if <entity> fails to resolve to one or more online players — ID: Failed
Failed
there's no advancement/criterion added to/remove from any player (Error)
there's no advancement/criterion added to/remove from any player — ID: Error
Error
... only <advancement> <criterion> (the <criterion> is invalid for the <advancement>)
... only <advancement> <criterion> — ID: the <criterion> is invalid for the <advancement>
the <criterion> is invalid for the <advancement>
any (Otherwise)
Successful
Otherwise
any (Java Edition)
On error
Java Edition
On fail (0)
0
0
On success (1)
1
1
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
<targets> fails to resolve to a player, an armor stand, or a mob (Failed)
<targets> fails to resolve to a player, an armor stand, or a mob — ID: Failed
Failed
... modifier add ... (a modifier with the specified uuid is already present)
... modifier add ... — ID: a modifier with the specified uuid is already present
a modifier with the specified uuid is already present
... modifier remove ...modifier value get ... (the modifier with the specified uuid doesn't exist)
... modifier remove ...modifier value get ... — ID: the modifier with the specified uuid doesn't exist
the modifier with the specified uuid doesn't exist
any (Otherwise)
Successful
Otherwise
any (Java Edition)
On fail
Java Edition
... get [<scale>] (On success)
1
On success
... base get [<scale>] (On success)
1
On success
... modifier value get <uuid> [<scale>] (On success)
1
On success
... base set ...... modifier add ...... modifier remove ... (On success)
1
On success
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
the target selector fails to resolve to one or more online players (Failed)
the target selector fails to resolve to one or more online players — ID: Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (N/A)
1
N/A
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
does not add any new IP address to blacklist (Failed)
does not add any new IP address to blacklist — ID: Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (N/A)
1
N/A
any (Java Edition)
On success
Java Edition
java edition classic: Java Edition Indev
Java Edition Indev
Java Edition Indev
java edition classic: Java Edition Alpha
Java Edition Alpha
Java Edition Alpha
java edition classic: Added /ban-ip and /banlist.
Added /ban-ip and /banlist.
Added /ban-ip and /banlist.
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
/bossbar set .../bossbar remove .../bossbar get (the specified boss bar doesn't exist)
Failed
the specified boss bar doesn't exist
/bossbar add ... (a boss bar with specified id have already existed)
/bossbar add ... — ID: a boss bar with specified id have already existed
a boss bar with specified id have already existed
/bossbar set ... (the boss bar's property have already been the same as the specified value)
/bossbar set ... — ID: the boss bar's property have already been the same as the specified value
the boss bar's property have already been the same as the sp...
any (Otherwise)
Successful
Otherwise
any (Java Edition)
On fail
Java Edition
/bossbar add .../bossbar list/bossbar remove ... (On success)
1
On success
/bossbar get <id> max/bossbar set <id> max (On success)
1
On success
/bossbar get <id> value/bossbar set <id> value (On success)
1
On success
/bossbar get <id> players/bossbar set <id> players (On success)
1
On success
/bossbar get <id> visible (On success)
1
On success
/bossbar set <id> color/bossbar set <id> name/bossbar set <id> style/bossbar set <id> visible (On success)
1
On success
/camera is now behind the "Experimental Cameras" experimental toggle. (beta 1.20.0.22)
/camera is now behind the "Experimental Cameras" experimental toggle.
beta 1.20.0.22
/camera is now available without using the "Experimental Cameras" experimental toggle. (beta 1.20.20.22)
/camera is now available without using the "Experimental Cameras" experimental toggle.
beta 1.20.20.22
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
the intensity number is less than 0 or above 4 (Failed)
the intensity number is less than 0 or above 4 — ID: Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Bedrock Edition)
On fail
Bedrock Edition
On success (1)
On success — ID: 1
1
1.16.210 (beta 1.16.210.54)
1.16.210 — ID: beta 1.16.210.54
beta 1.16.210.54
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
<targets> or player: target is not specified when the command's executor is not a player. (Failed)
Failed
Failed
player: target is not in player type (N/A)
player: target is not in player type — ID: N/A
N/A
<targets> or player: target fails to resolve to one or more online players (Failed)
<targets> or player: target fails to resolve to one or more online players — ID: Failed
Failed
If data: int is lower than -1. (N/A)
If data: int is lower than -1. — ID: N/A
N/A
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (the number of players who have the specified items.)
N/A
the number of players who have the specified items.
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
player: target is not of player type (Failed)
player: target is not of player type — ID: Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Bedrock Edition)
On fail
Bedrock Edition
On success (the number of players whose spawnpoints are removed)
On success — ID: the number of players whose spawnpoints are removed
the number of players whose spawnpoints are removed
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
one or both specified regions are unloaded or out of the world (Failed)
Failed
Failed
the volume of the source region is greater than commandModificationBlockLimit gamerule value (N/A)
the volume of the source region is greater than commandModificationBlockLimit gamerule value — ID: N/A
N/A
the volume of the source region is greater than 524288(equivalent to 8 chunks) (N/A)
Failed
N/A
/clone ... normal ... (the source and destination region overlap)
Failed
the source and destination region overlap
/clone ... move ... (the source and destination region overlap)
Successful
the source and destination region overlap
/clone ... filtered ... (there is no specified block in the source region)
Failed
there is no specified block in the source region
/clone ... filtered ... (tileData: int is lower than -1 or higher than 6553)
N/A
tileData: int is lower than -1 or higher than 6553
/clone ... replace ... (all the blocks in the source region are barriers[1])
Failed
all the blocks in the source region are barriers[1]
/clone ... masked ... (there is no non-air and non-barrier block[1] in the source region)
/clone ... masked ... — ID: there is no non-air and non-barrier block[1] in the source region
there is no non-air and non-barrier block[1] in the ...
/clone ... filtered ... (the specified block is barrier[1])
/clone ... filtered ... — ID: the specified block is barrier[1]
the specified block is barrier[1]
/clone ... masked ... (there is no non-air block in the source region)
N/A
there is no non-air block in the source region
any (Otherwise)
Successful
Otherwise
any (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (1)
N/A
1
all (Any damage)
Any damage
Any damage
anvil (Caused by a falling anvil. Reduced damage to targets wearing a helmet.)
Caused by a falling anvil. Reduced damage to targets wearing a helmet.
Caused by a falling anvil. Reduced damage to targets wearing...
block-explosion (Caused the explosion of a block)
Caused the explosion of a block
Caused the explosion of a block
charging ([more information needed])
[more information needed]
[more information needed]
contact (Caused by contact with a damage-inflicting block (e.g. cactus and sweet berry bushes).)
Caused by contact with a damage-inflicting block (e.g. cactus and sweet berry bushes).
Caused by contact with a damage-inflicting block (e.g. cactu...
drowning (Caused by drowning or rain.)
Caused by drowning or rain.
Caused by drowning or rain.
entity-attack (Caused by melee attack from a mob.)
Caused by melee attack from a mob.
Caused by melee attack from a mob.
entity-explosion (Caused by the explosion of a mob.)
Caused by the explosion of a mob.
Caused by the explosion of a mob.
fall (Caused by falling from higher ground, or teleporting by ender pearl.)
Caused by falling from higher ground, or teleporting by ender pearl.
Caused by falling from higher ground, or teleporting by ende...
falling_block ([more information needed])
[more information needed]
[more information needed]
fire (Caused by standing in fire or lit campfire.)
Caused by standing in fire or lit campfire.
Caused by standing in fire or lit campfire.
fire_tick (Caused by being on fire)
Caused by being on fire
Caused by being on fire
fireworks (Caused by a firework rocket.)
Caused by a firework rocket.
Caused by a firework rocket.
fire (Caused by standing in fire or lit campfire.)
Caused by standing in fire or lit campfire.
Caused by standing in fire or lit campfire.
fly_into_wall (Caused by collide with block when flying with an elytra.)
Caused by collide with block when flying with an elytra.
Caused by collide with block when flying with an elytra.
freezing (Caused by standing in powder snow.)
Caused by standing in powder snow.
Caused by standing in powder snow.
lava (Caused by lava.)
Caused by lava.
Caused by lava.
lightning (Caused by lightning.)
Caused by lightning.
Caused by lightning.
magic (Caused by potions, dragon breath, evocation fangs or guardians.)
Caused by potions, dragon breath, evocation fangs or guardians.
Caused by potions, dragon breath, evocation fangs or guardia...
magma (Caused by magma block.)
Caused by magma block.
Caused by magma block.
override (Override this entity's health value.)
Override this entity's health value.
Override this entity's health value.
piston (Caused by piston.)
Caused by piston.
Caused by piston.
projectile (Caused by projectile, such as arrows.)
Caused by projectile, such as arrows.
Caused by projectile, such as arrows.
stalactite (Caused by stalactite.)
Caused by stalactite.
Caused by stalactite.
stalagmite (Caused by stalagmite.)
Caused by stalagmite.
Caused by stalagmite.
starve (Caused by hunger.)
Caused by hunger.
Caused by hunger.
suffocation (Caused by suffocation.)
Caused by suffocation.
Caused by suffocation.
suicide (Caused by /kill.)
Caused by /kill.
Caused by /kill.
temperature (Snow golem damaged by biome temperature.)
Snow golem damaged by biome temperature.
Snow golem damaged by biome temperature.
thorns (Caused by thorns.)
Caused by thorns.
Caused by thorns.
void (Caused by void.)
Caused by void.
Caused by void.
wither (Caused by wither.)
Caused by wither.
Caused by wither.
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
amount: int is lower than 0 (Failed)
amount: int is lower than 0 — ID: Failed
Failed
/... entity ... (if damager: target targeting multiple targets)
/... entity ... — ID: if damager: target targeting multiple targets
if damager: target targeting multiple targets
any (Otherwise)
Successful
Otherwise
any (Bedrock Edition)
On fail
Bedrock Edition
On success (the number of entities who are considered to have successfully took the damage.)
On success — ID: the number of entities who are considered to have successfully took the damage.
the number of entities who are considered to have successful...
Pre-release 2 (Striders and blazes now have a weakness to freezing damage.)
Pre-release 2 — ID: Striders and blazes now have a weakness to freezing damage.
Striders and blazes now have a weakness to freezing damage.
1.18.10 (beta 1.18.10.26)
Added /damage.
beta 1.18.10.26
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
<targetPos> is unloaded or out of the world (Failed)
<targetPos> is unloaded or out of the world — ID: Failed
Failed
/data get ... (more than one tag is got)
/data get ... — ID: more than one tag is got
more than one tag is got
/data get ... <path> (<path> does not exist)
/data get ... <path> — ID: <path> does not exist
<path> does not exist
/data get ... <path> <scale> (the obtained tag is not a numeric tag)
/data get ... <path> <scale> — ID: the obtained tag is not a numeric tag
the obtained tag is not a numeric tag
/data merge .../data remove .../data modify ... (nothing is changed)
/data merge .../data remove .../data modify ... — ID: nothing is changed
nothing is changed
/data remove .../data modify ... set ... (<path> is the root compound tag)
/data remove .../data modify ... set ... — ID: <path> is the root compound tag
<path> is the root compound tag
/data modify ... (from|string) block ... (<sourcePos> is unloaded or out of the world)
/data modify ... (from|string) block ... — ID: <sourcePos> is unloaded or out of the world
<sourcePos> is unloaded or out of the world
/data modify ... (from|string) entity ... (<sourceEntity> fails to resolve to an entity (named player must be online))
/data modify ... (from|string) entity ... — ID: <sourceEntity> fails to resolve to an entity (named player must be onlin
<sourceEntity> fails to resolve to an entity (named player m...
/data modify ... (from|string) ... <sourcePath> (<sourcePath> does not exist)
/data modify ... (from|string) ... <sourcePath> — ID: <sourcePath> does not exist
<sourcePath> does not exist
/data modify ... string ... <sourcePath> <start> <end> (<sourcePath> isn't a string or numeric tag (will be converted to a string))
/data modify ... string ... <sourcePath> <start> <end> — ID: <sourcePath> isn't a string or numeric tag (will be convert
<sourcePath> isn't a string or numeric tag (will be converte...
/data modify ... append .../data modify ... insert <index> .../data modify ... prepend ... (the target tag isn't a list or array)
/data modify ... append .../data modify ... insert <index> .../data modify ... prepend ... — ID: the target tag isn't a
the target tag isn't a list or array
/data modify ... insert <index> ... (the index is invalid)
/data modify ... insert <index> ... — ID: the index is invalid
the index is invalid
/data modify ... merge ... (the target path does not specify a compound tag)
/data modify ... merge ... — ID: the target path does not specify a compound tag
the target path does not specify a compound tag
any (Otherwise)
Successful
Otherwise
any (Java Edition)
On fail
Java Edition
/data get ... (On success)
1
On success
/data get ... <path> (a numeric tag is got)
1
a numeric tag is got
a list or array tag is got (1)
1
1
a string tag is got (1)
1
1
a compound tag is got (1)
1
1
/data get ... <path> <scale> (On success)
1
On success
/data merge ... (On success)
1
On success
/data remove ... (On success)
1
On success
/data modify ... append .../data modify ... insert <index> .../data modify ... prepend ... (On success)
1
On success
/data modify ... set ... (On success)
1
On success
/data modify ... merge ... (On success)
1
On success
Using /data get (block|entity|storage) with a path now works on non-numeric values. (Using /data get (block|entity|storage) with a path now works on non-numeric values.)
Using /data get (block|entity|storage) with a path now works on non-numeric values. — ID: Using /data get (block|entity|
Using /data get (block|entity|storage) with a path now works...
18w43a (18w43a)
18w43a — ID: 18w43a
18w43a
19w38a (19w38a)
19w38a — ID: 19w38a
19w38a
23w03a (23w03a)
23w03a — ID: 23w03a
23w03a
Pre-release 1 (Pre-release 1)
Pre-release 1 — ID: Pre-release 1
Pre-release 1
Now invalid <start> or <end> in string source result in command failure instead of unhandaled error.[3] (Now invalid <start> or <end> in string source result in command failure instead of unhandaled error.[3])
Now invalid <start> or <end> in string source result in command failure instead of unhandaled error.[3] — ID: No
Now invalid <start> or <end> in string source result in comm...
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
/datapack enable .../datapack disable ... (<name> is not a valid data pack)
Failed
<name> is not a valid data pack
/datapack enable <name> ... (pack <name> requires enabling a feature flag that is not enabled via data pack when creating world)
/datapack enable <name> ... — ID: pack <name> requires enabling a feature flag that is not enabled via data pack when cr
pack <name> requires enabling a feature flag that is not ena...
/datapack enable ... <existing> (<existing> is not an existing enabled data pack)
/datapack enable ... <existing> — ID: <existing> is not an existing enabled data pack
<existing> is not an existing enabled data pack
any (Otherwise)
Successful
Otherwise
any (Java Edition)
On fail
Java Edition
/datapack enable .../datapack disable ... (On success)
1
On success
/datapack list [available|enabled] (On success)
1
On success
/debug start (a debug profiling session has already been started)
Failed
a debug profiling session has already been started
/debug stop (there's no debug profiling session running.)
/debug stop — ID: there's no debug profiling session running.
there's no debug profiling session running.
/debug function (the specified functions or function tags do not exist)
/debug function — ID: the specified functions or function tags do not exist
the specified functions or function tags do not exist
any (Otherwise)
Successful
Otherwise
any (Java Edition)
On fail
Java Edition
/debug start (On success)
N/A
On success
/debug stop (On success)
N/A
On success
/debug function (On success)
N/A
On success
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
If in multiplayer, and force-gamemode in the server.properties file is true
Java Edition
Otherwise (1)
1
1
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
<targets> fails to resolve to one or more player profiles (Failed)
N/A
Failed
player: target is not in player type (N/A)
Failed
N/A
All selected players meet one or both of the following conditions: Not an op. Has permission level of 4 or higher.‌[Bedrock Edition only] (Failed)
All selected players meet one or both of the following conditions: Not an op. Has permission level of 4 or higher.‌
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (N/A)
1
N/A
java edition classic: 0.0.15a (Multiplayer Test 3)
0.0.15a (Multiplayer Test 3)
0.0.15a (Multiplayer Test 3)
java edition classic: Java Edition Indev
Java Edition Indev
Java Edition Indev
java edition classic: Java Edition Alpha
Java Edition Alpha
Java Edition Alpha
java edition classic: Pocket Edition Alpha
Pocket Edition Alpha
Pocket Edition Alpha
any (the arguments are not specified correctly)
Failed
the arguments are not specified correctly
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Bedrock Edition)
On fail
Bedrock Edition
On success (1)
On success — ID: 1
1
any (the arguments are not specified correctly)
N/A
the arguments are not specified correctly
the original difficulty is the same as the specified difficulty (Failed)
Successful
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
/difficulty ... (On success)
1
On success
/difficulty (On success)
1
On success
any (Bedrock Edition)
On fail
Bedrock Edition
On success (1)
N/A
1
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
<targets> or player: target fails to resolve to one or more entities (named player must be online) (Failed)
<targets> or player: target fails to resolve to one or more entities (named player must be online) — ID: Failed
Failed
/effect give ... (All the selected entities meets one or more of the following conditions: the entity is immune to the specified effect. the entity already has a status effect with the same id and the same "hideParticles" value, but the new effect doesn't have a higher amplifier or a longer duration. the entity already has a status effect with the same id and the same "hideParticles" value, and the new effect has a lower amplifier and a longer duration.)
Successful
All the selected entities meets one or more of the following...
/effect clear (<targets> is not specified when the command's executor is not a player)
N/A
<targets> is not specified when the command's executor is no...
/effect clear ... (there's no effect removed from any entity)
/effect clear ... — ID: there's no effect removed from any entity
there's no effect removed from any entity
/effect ... clear (there's no effect removed from any entity)
N/A
there's no effect removed from any entity
any (Otherwise)
Successful
Otherwise
any (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (the number of entities that are given or revoked effect(s).)
N/A
the number of entities that are given or revoked effect(s).
Added clear argument to /effect. (pre)
Added clear argument to /effect.
pre
Added hideParticles argument to /effect (14w06a)
Added hideParticles argument to /effect
14w06a
The /effect clear command now defaults to the executor if no target argument is given. (19w41a)
The /effect clear command now defaults to the executor if no target argument is given.
19w41a
When a stronger effect overwrites a weaker effect, the weaker effect now are hidden.[1] (Pre-Release 1)
When a stronger effect overwrites a weaker effect, the weaker effect now are hidden.[1]
Pre-Release 1
<effect> now accepts a resource argument, instead of mob_effect. (22w42a)
<effect> now accepts a resource argument, instead of mob_effect.
22w42a
Added infinite mode to give an effect with infinite duration. (23w05a)
Added infinite mode to give an effect with infinite duration.
23w05a
Added /effect. (alpha 1.0.5.0)
Added /effect.
alpha 1.0.5.0
Duration is now capped at 1,000,000 seconds . (beta 1.16.200.52)
Duration is now capped at 1,000,000 seconds .
beta 1.16.200.52
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
<targets> or player: target fails to resolve to one or more entities (named player must be online) (Failed)
Failed
Failed
level: int is lower than 1 (N/A)
level: int is lower than 1 — ID: N/A
N/A
<level> or level: int is greater than the maximum level for the specified enchantment (Failed)
<level> or level: int is greater than the maximum level for the specified enchantment — ID: Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (the number of players whose items are successfully enchanted.)
N/A
the number of players whose items are successfully enchanted...
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
target: target fails to resolve to one or more entities (named players must be online) (Failed)
target: target fails to resolve to one or more entities (named players must be online) — ID: Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Bedrock Edition)
On fail
Bedrock Edition
On success (the number of types of entities that is executed entity event)
On success — ID: the number of types of entities that is executed entity event
the number of types of entities that is executed entity even...
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
/... add .../... set ... (<targets> fails to resolve to one or more online players)
Failed
<targets> fails to resolve to one or more online players
/... query ... (<targets> fails to resolve to one or more online players)
/... query ... — ID: <targets> fails to resolve to one or more online players
<targets> fails to resolve to one or more online players
/... set ... (<amount> is greater than the current capacity of xp bar for any player)
/... set ... — ID: <amount> is greater than the current capacity of xp bar for any player
<amount> is greater than the current capacity of xp bar for ...
any (player: target is not in player type)
N/A
player: target is not in player type
any (Otherwise)
Successful
Otherwise
any (Java Edition)
On fail
Java Edition
/... query ... (On success)
1
On success
/... add .../... set ... (On success)
1
On success
any (Bedrock Edition)
On fail
Bedrock Edition
On success (the number of players who are given or taken experience.)
N/A
the number of players who are given or taken experience.
/xp is now usable in singleplayer. (12w16a)
/xp is now usable in singleplayer.
12w16a
Added L notation for levels. Levels can be subtracted, but points cannot, failing with the message "Cannot give player negative experience points". (12w39a)
Added L notation for levels. Levels can be subtracted, but points cannot, failing with the message "Cannot give player
12w39a
Added /experience and made /xp alias it. (17w45a)
Added /experience and made /xp alias it.
17w45a
Added /xp. (build 1)
Added /xp.
build 1
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
one or both sepicified positions are unloaded or out of the world (Failed)
Failed
Failed
/fill ... hollow/fill ... keep/fill ... outline/fill ... replace ... (no block is changed)
Failed
no block is changed
/fill ... destroy (there is no block changed in the fill region)
/fill ... destroy — ID: there is no block changed in the fill region
there is no block changed in the fill region
any (Otherwise)
Successful
Otherwise
any (Java Edition)
On fail
Java Edition
/fill ... hollow/fill ... keep/fill ... outline/fill ... replace ... (On success)
1
On success
/fill ... destroy (On success)
1
On success
any (Bedrock Edition)
On fail
Bedrock Edition
On success (1)
N/A
1
destroy
Replaces all blocks (including air) in the fill region with the specified block, dropping the existing blocks (including
destroy
hollow
Replaces only the blocks on the outer edge of the fill region with the specified block. Inner blocks are changed to air,
hollow
keep
Replaces only the air blocks in the fill region with the specified block.
keep
outline
Replaces only the blocks on the outer edge of the fill region with the specified block. Inner blocks are not affected. I
outline
replace
Replaces all blocks (including air) in the fill region with the specified block, without dropping blocks or block conten
replace
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
the specified region are unloaded or out of the world (Failed)
the specified region are unloaded or out of the world — ID: Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (1)
1
1
1.19.4 (23w03a)
1.19.4 — ID: 23w03a
23w03a
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
victim: target is not in player type (Failed)
victim: target is not in player type — ID: Failed
Failed
fog ... push ... (if the specified fog setting does not exist.)
fog ... push ... — ID: if the specified fog setting does not exist.
if the specified fog setting does not exist.
fog ... <mode: delete> ... (if there's no element with the specified userProvidedId in the fog "stack" of all targeted players)
fog ... <mode: delete> ... — ID: if there's no element with the specified userProvidedId in the fog "stack" of all targe
if there's no element with the specified userProvidedId in t...
any (Otherwise)
Successful
Otherwise
any (Bedrock Edition)
On fail
Bedrock Edition
On success (1[verify])
On success — ID: 1[verify]
1[verify]
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
/forceload add ... (more than 256 chunks are specified)
Failed
more than 256 chunks are specified
/forceload add ... (all specified chunks have already been forced to be loaded)
/forceload add ... — ID: all specified chunks have already been forced to be loaded
all specified chunks have already been forced to be loaded
/forceload remove <from> [<to>] (none of specified chunks have been forced to be loaded)
/forceload remove <from> [<to>] — ID: none of specified chunks have been forced to be loaded
none of specified chunks have been forced to be loaded
/forceload query <pos> (the specified chunk hasn't been forced to be loaded)
/forceload query <pos> — ID: the specified chunk hasn't been forced to be loaded
the specified chunk hasn't been forced to be loaded
any (Otherwise)
Successful
Otherwise
any (Java Edition)
On fail
Java Edition
/forceload add ... (On success)
1
On success
/forceload remove <from> [<to>] (On success)
1
On success
/forceload remove all (On success)
1
On success
/forceload query (On success)
1
On success
/forceload query <pos> (On success)
1
On success
pre4 (pre4)
pre4 — ID: pre4
pre4
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
the specified functions or function tags do not exist (Failed)
Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
On success when executed in a function (N/A)
On success when executed in a function
N/A
Bedrock Edition (On fail)
Bedrock Edition
On fail
On success (1)
On success
1
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
gameMode: int is not a valid game mode id. (N/A)
Failed
N/A
<target> or player: target fails to resolve to one or more online players (Failed)
<target> or player: target fails to resolve to one or more online players — ID: Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (the number of targeted players.)
N/A
the number of targeted players.
/gamemode is now usable in singleplayer. (12w16a)
/gamemode is now usable in singleplayer.
12w16a
Added spectator to /gamemode. (14w05a)
Added spectator to /gamemode.
14w05a
/gamemode now displays in the chat the game mode the player switches to. (15w43a)
/gamemode now displays in the chat the game mode the player switches to.
15w43a
Removed abbreviated forms and numeric IDs. (17w45a)
Removed abbreviated forms and numeric IDs.
17w45a
Now this command accepts a gamemode argument, instead of literal subcommands. (22w45a)
Now this command accepts a gamemode argument, instead of literal subcommands.
22w45a
Added /gamemode. (build 1)
Added /gamemode.
build 1
Added adventure to /gamemode. (alpha 1.1.0.0)
Added adventure to /gamemode.
alpha 1.1.0.0
Added 6 to access Spectator mode. (beta 1.18.30.20)
Added 6 to access Spectator mode.
beta 1.18.30.20
The Spectator game mode can no longer be entered via /gamemode 6. (beta 1.19.30.20)
The Spectator game mode can no longer be entered via /gamemode 6.
beta 1.19.30.20
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On success
Java Edition
Bedrock Edition (On success)
1
On success
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
player: target is not of player type (N/A)
Failed
N/A
<targets> or player: target fails to resolve to one or more online players (Failed)
<targets> or player: target fails to resolve to one or more online players — ID: Failed
Failed
<count> is larger than 100 stack worth items (N/A)
<count> is larger than 100 stack worth items — ID: N/A
N/A
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (the number of players who are given item(s))
N/A
the number of players who are given item(s)
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
/item modify .../item ... from ... (the specified <modifier> doesn't exist)
Failed
the specified <modifier> doesn't exist
/item modify block .../item replace block ... (<pos> is unloaded or out of the world)
/item modify block .../item replace block ... — ID: <pos> is unloaded or out of the world
<pos> is unloaded or out of the world
/item modify entity .../item replace entity ... (<targets> fails to resolve to one or more entities (named player must be online))
/item modify entity .../item replace entity ... — ID: <targets> fails to resolve to one or more entities (named player m
<targets> fails to resolve to one or more entities (named pl...
/... with <item> <count> (<count> exceeds the stack limit of the specified item)
/... with <item> <count> — ID: <count> exceeds the stack limit of the specified item
<count> exceeds the stack limit of the specified item
/... from block ... (<sourcePos> is unloaded or out of the world)
/... from block ... — ID: <sourcePos> is unloaded or out of the world
<sourcePos> is unloaded or out of the world
/... from entity ... (<sourceTarget> fails to resolve to a single entity (named player must be online))
/... from entity ... — ID: <sourceTarget> fails to resolve to a single entity (named player must be online)
<sourceTarget> fails to resolve to a single entity (named pl...
any (Otherwise)
Successful
Otherwise
any (Java Edition)
On fail
Java Edition
/item (modify|replace) block ... (On success)
1
On success
/item (modify|replace) entity ... (On success)
1
On success
/jfr start (a jfr profiler has already been started)
Failed
a jfr profiler has already been started
/jfr stop (there's no jfr profiler running.)
/jfr stop — ID: there's no jfr profiler running.
there's no jfr profiler running.
any (Otherwise)
Successful
Otherwise
any (Java Edition)
On fail
Java Edition
On success (N/A)
1
N/A
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
name: target is not in player type (N/A)
Failed
N/A
<targets> or player: target fails to resolve to one or more online players (Failed)
<targets> or player: target fails to resolve to one or more online players — ID: Failed
Failed
the player is the host of the world. (N/A)
the player is the host of the world. — ID: N/A
N/A
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (N/A)
1
N/A
Bedrock Edition (On fail)
0
On fail
On success (the number of targeted players[needs testing in Bedrock Edition])
N/A
the number of targeted players[needs testing i...
java edition classic: Java Edition Indev
Java Edition Indev
Java Edition Indev
java edition classic: Java Edition Alpha
Java Edition Alpha
Java Edition Alpha
java edition classic: Bedrock Edition
Bedrock Edition
Bedrock Edition
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
<targets> or target: target is not specified when the command's executor is not an entity (Failed)
Failed
Failed
all the targets are creative-mode players. (Successful)
all the targets are creative-mode players. — ID: Successful
Successful
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (the number of entities that are killed)
N/A
the number of entities that are killed
any (Java Edition)
On success
Java Edition
Bedrock Edition (On success)
1
On success
armorer (armorer)
armorer — ID: armorer
armorer
bee_nest (bee_nest)
bee_nest — ID: bee_nest
bee_nest
beehive (beehive)
beehive — ID: beehive
beehive
butcher (butcher)
butcher — ID: butcher
butcher
cartographer (cartographer)
cartographer — ID: cartographer
cartographer
cleric (cleric)
cleric — ID: cleric
cleric
farmer (farmer)
farmer — ID: farmer
farmer
fisherman (fisherman)
fisherman — ID: fisherman
fisherman
fletcher (fletcher)
fletcher — ID: fletcher
fletcher
home (home)
home — ID: home
home
leatherworker (leatherworker)
leatherworker — ID: leatherworker
leatherworker
librarian (librarian)
librarian — ID: librarian
librarian
lightning_rod (lightning_rod)
lightning_rod — ID: lightning_rod
lightning_rod
lodestone (lodestone)
lodestone — ID: lodestone
lodestone
mason (mason)
mason — ID: mason
mason
meeting (meeting)
meeting — ID: meeting
meeting
nether_portal (nether_portal)
nether_portal — ID: nether_portal
nether_portal
shepherd (shepherd)
shepherd — ID: shepherd
shepherd
toolsmith (toolsmith)
toolsmith — ID: toolsmith
toolsmith
weaponsmith (weaponsmith)
weaponsmith — ID: weaponsmith
weaponsmith
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
locate structure ... (the specified resource location or tag is not a valid structure or structure tag)
Failed
the specified resource location or tag is not a valid struct...
the requested structure doesn't generate in this dimension (Failed)
the requested structure doesn't generate in this dimension — ID: Failed
Failed
locate biome ... (unable to locate the requested biome within a square of 12801×12801 blocks[needs testing in Bedrock Edition])
locate biome ... — ID: unable to locate the requested biome within a square of 12801×12801 blocks[needs testing
unable to locate the requested biome within a square of 1280...
locate poi ... (unable to locate the requested poi within a ball with a radius of 256 blocks.)
N/A
unable to locate the requested poi within a ball with a rad...
any (Otherwise)
Successful
Otherwise
any (Java Edition)
On fail
Java Edition
locate structure ...locate poi ... (On success)
1
On success
locate biome ... (On success)
1
On success
any (Bedrock Edition)
On fail
Bedrock Edition
On success (1)
N/A
1
/locate now accepts Pillager_Outpost. (/locate now accepts Pillager_Outpost.)
/locate now accepts Pillager_Outpost.
/locate now accepts Pillager_Outpost.
Nether fossils can now be located. (Nether fossils can now be located.)
Nether fossils can now be located.
Nether fossils can now be located.
/locate now uses a namespace ID parameter instead of hard coded values. (/locate now uses a namespace ID parameter instead of hard coded values.)
/locate now uses a namespace ID parameter instead of hard coded values.
/locate now uses a namespace ID parameter instead of hard co...
/locatebiome has been merged with /locate. (/locatebiome has been merged with /locate.)
/locatebiome has been merged with /locate.
/locatebiome has been merged with /locate.
Added /locate. (Added /locate.)
Added /locate.
Added /locate.
/locate can now find other structures. (/locate can now find other structures.)
/locate can now find other structures.
/locate can now find other structures.
/locate can now find biomes. (/locate can now find biomes.)
/locate can now find biomes.
/locate can now find biomes.
The original command /locate <feature:structure> is no longer used. (The original command /locate <feature:structure> is no longer used.)
The original command /locate <feature:structure> is no longer used.
The original command /locate <feature:structure> is no longe...
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
/... fish .../... mine ... (<pos> or position: x y z is unloaded or out of the world)
Failed
<pos> or position: x y z is unloaded or out of the world
/... mainhand/... offhand (the executor is not a living entity)
N/A
the executor is not a living entity
the executor is not an entity (Failed)
the executor is not an entity — ID: Failed
Failed
/... kill ... (<target> or entity: target fails to resolve to a single entity (named player must be online))
/... kill ... — ID: <target> or entity: target fails to resolve to a single entity (named player must be online)
<target> or entity: target fails to resolve to a single enti...
the target is not a living entity (N/A)
the target is not a living entity — ID: N/A
N/A
the target has no loot table (N/A)
Failed
N/A
/... loot ... (the loot_table: string is not a valid loot table)
/... loot ... — ID: the loot_table: string is not a valid loot table
the loot_table: string is not a valid loot table
/loot replace entity ... (<entities> or entity: target fails to resolve to one or more entities (named player must be online))
Failed
<entities> or entity: target fails to resolve to one or more...
/loot replace entity ... (When one or more item stacks are got, all the targeted entities meet one or more of the following conditions: This entity dosen't have the specified slot. slotId: int(or <slot>) plus count: int(or <cound>) exceeds the size of the greatest valid slot number with the specified slot type this entity has.)
Successful
When one or more item stacks are got, all the targeted entit...
/loot give ... (<players> or player: target fails to resolve to one or more online players)
Failed
<players> or player: target fails to resolve to one or more ...
/loot insert .../loot replace block ... (<targetPos> or position: x y z is unloaded or out of the world)
/loot insert .../loot replace block ... — ID: <targetPos> or position: x y z is unloaded or out of the world
<targetPos> or position: x y z is unloaded or out of the wor...
/loot replace block ... (the block does not have the specified slot)
/loot replace block ... — ID: the block does not have the specified slot
the block does not have the specified slot
/loot replace block <targetPos> <slot> .../loot replace block ... <slotId: int> ... (the number of item stacks got from loot plus the <slot> id is bigger than the number of all slots in the specified container)
Error
the number of item stacks got from loot plus the <slot> id i...
/loot replace block <targetPos> <slot> <count> .../loot replace block ... <slotId: int> <count: int> ... (the <count> plus the <slot> id is bigger than the number of all slots in the specified container)
Failed
the <count> plus the <slot> id is bigger than the number of ...
any (Otherwise)
Successful
Otherwise
any (Java Edition)
On fail
Java Edition
/loot spawn ... (On success)
1
On success
/loot give ... (On success)
1
On success
/loot insert ... (On success)
1
On success
/loot replace block ... (On success)
1
On success
On error (0)
unchanged
0
/loot replace entity ... (On success)
1
On success
On error (0)
unchanged
0
any (Bedrock Edition)
On fail
Bedrock Edition
loot give ... (On success)
[needs testing]
On success
loot spawn ...loot insert ... (On success)
1
On success
loot replace entity ... (On success)
When zero item stack is got, return 1. When one or more item stacks are got, return the number of entities that do not m
On success
beta 1.18.0.21 (beta 1.18.0.21)
beta 1.18.0.21 — ID: beta 1.18.0.21
beta 1.18.0.21
Removed /loot. (Removed /loot.)
Removed /loot. — ID: Removed /loot.
Removed /loot.
beta 1.18.10.21 (beta 1.18.10.21)
beta 1.18.10.21 — ID: beta 1.18.10.21
beta 1.18.10.21
Added /loot spawn ... kill ... (Added /loot spawn ... kill ...)
Added /loot spawn ... kill ... — ID: Added /loot spawn ... kill ...
Added /loot spawn ... kill ...
beta 1.18.20.21 (beta 1.18.20.21)
beta 1.18.20.21 — ID: beta 1.18.20.21
beta 1.18.20.21
beta 1.18.30.20 (beta 1.18.30.20)
beta 1.18.30.20 — ID: beta 1.18.30.20
beta 1.18.30.20
beta 1.19.0.30 (beta 1.19.0.30)
beta 1.19.0.30 — ID: beta 1.19.0.30
beta 1.19.0.30
beta 1.19.40.20 (beta 1.19.40.20)
beta 1.19.40.20 — ID: beta 1.19.40.20
beta 1.19.40.20
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On success
Java Edition
Bedrock Edition (On success)
1
On success
java edition classic: Java Edition
Java Edition
Java Edition
java edition classic: Pocket Edition
Pocket Edition
Pocket Edition
any (Bedrock Edition)
On fail
Bedrock Edition
On success (1)
On success — ID: 1
1
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
player: target is not of player type (N/A)
Failed
N/A
<targets> or player: target fails to resolve to one or more online players (Failed)
<targets> or player: target fails to resolve to one or more online players — ID: Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (the number of targeted players)
N/A
the number of targeted players
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
/music play ... (the fade seconds is higher than 10 or lower than 0)
Failed
the fade seconds is higher than 10 or lower than 0
/music queue ... (the current played music is set to loop)
/music queue ... — ID: the current played music is set to loop
the current played music is set to loop
/music stop ... (no music is playing)
/music stop ... — ID: no music is playing
no music is playing
/music volume ... (the volume is higher than 1 or lower than 0)
/music volume ... — ID: the volume is higher than 1 or lower than 0
the volume is higher than 1 or lower than 0
any (Otherwise)
Successful
Otherwise
any (Bedrock Edition)
On fail
Bedrock Edition
On success (1)
On success — ID: 1
1
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
<targets> fails to resolve to one or more player profiles (Failed)
N/A
Failed
player: target is not in player type (N/A)
Failed
N/A
all specified players are already op or higher. (Failed)
all specified players are already op or higher. — ID: Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (N/A)
1
N/A
java edition classic: 0.0.15a (Multiplayer Test 3)
0.0.15a (Multiplayer Test 3)
0.0.15a (Multiplayer Test 3)
java edition classic: Java Edition Indev
Java Edition Indev
Java Edition Indev
java edition classic: Java Edition Alpha
Java Edition Alpha
Java Edition Alpha
java edition classic: Pocket Edition Alpha
Pocket Edition Alpha
Pocket Edition Alpha
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
target selector fails to resolve to one or more online players (Failed)
target selector fails to resolve to one or more online players — ID: Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (N/A)
1
N/A
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
<string> fails to resolve as a IP (Failed)
<string> fails to resolve as a IP — ID: Failed
Failed
Otherwise (Remove the IP address(es) from the banlist,allowing anyone to connect to the server from that IP address.)
Otherwise — ID: Remove the IP address(es) from the banlist,allowing anyone to connect to the server from that IP address
Remove the IP address(es) from the banlist,allowing anyone t...
any (Java Edition)
On fail
Java Edition
On success (1)
1
1
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
<targets> fails to resolve to one or more online players (Failed)
N/A
Failed
all the targeted players are not less than 32.0 (in normal mode) / 512.0 (in force mode) blocks away from the particle(s) (Successful)
all the targeted players are not less than 32.0 (in normal mode) / 512.0 (in force mode) blocks away from the particle(s
Successful
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (1)
N/A
1
/perf start (a perf profiling session has already been started)
Failed
a perf profiling session has already been started
/perf stop (there's no perf profiling session running.)
/perf stop — ID: there's no perf profiling session running.
there's no perf profiling session running.
any (Otherwise)
Successful
Otherwise
any (Java Edition)
On fail
Java Edition
On success (N/A)
1
N/A
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
/place feature .../place template ... (chunks to place in is unloaded or out of the world)
Failed
chunks to place in is unloaded or out of the world
/place jigsaw ... (chunks to place in is unloaded or out of world[1])
Successful
chunks to place in is unloaded or out of world[1]
/place jigsaw ... <max_depth> (execution position is out of horizontal world boundary[1])
Error
execution position is out of horizontal world boundary[1...
/place jigsaw ... <max_depth> <position> (specified <position> is unloaded or out of world)
Failed
specified <position> is unloaded or out of world
/place structure ... (chunks to place in is unloaded or out of horizontal world boundary[1])
/place structure ... — ID: chunks to place in is unloaded or out of horizontal world boundary[1]
chunks to place in is unloaded or out of horizontal world bo...
/place structure <structure> <pos> (specified <pos> is unloaded or out of world)
/place structure <structure> <pos> — ID: specified <pos> is unloaded or out of world
specified <pos> is unloaded or out of world
/place feature ... (there's no configured feature with the provided ID)
/place feature ... — ID: there's no configured feature with the provided ID
there's no configured feature with the provided ID
/place jigsaw ... (there's no structure pool with the provided ID)
/place jigsaw ... — ID: there's no structure pool with the provided ID
there's no structure pool with the provided ID
the specified start pool has no element[2] (Error)
the specified start pool has no element[2] — ID: Error
Error
try to generate an empty element (empty_pool_element) in start pool (Failed)
try to generate an empty element (empty_pool_element) in start pool — ID: Failed
Failed
/place structure ... (there is no structure with the provided ID)
/place structure ... — ID: there is no structure with the provided ID
there is no structure with the provided ID
/place template ... (there is no template with the provided id)
/place template ... — ID: there is no template with the provided id
there is no template with the provided id
any (Otherwise)
Successful
Otherwise
any (Java Edition)
On fail
Java Edition
On success (1)
1
1
On error (0)
unchanged
0
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
if entity: target fails to resolve to one or more online entities (named players must be online) (Failed)
if entity: target fails to resolve to one or more online entities (named players must be online) — ID: Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Bedrock Edition)
On fail
Bedrock Edition
On success (1)
On success — ID: 1
1
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
player: target is not in player type (N/A)
Failed
N/A
<targets> or player: target fails to resolve to one or more online players (Failed)
<targets> or player: target fails to resolve to one or more online players — ID: Failed
Failed
one of the specified players cannot hear the sound[needs testing] (N/A)
one of the specified players cannot hear the sound[needs testing] — ID: N/A
N/A
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (the number of targeted players)
N/A
the number of targeted players
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
the world is already published to LAN (Failed)
the world is already published to LAN — ID: Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (N/A)
1
N/A
any (Incorrectly specified arguments)
Unparseable
Incorrectly specified arguments
random (value|roll) ... (<range>range is less than 2 or greater than 2147483646)
Failed
<range>range is less than 2 or greater than 2147483646
any (Otherwise)
Successful
Otherwise
/random reset ... (when successful)
1
when successful
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
<target> fails to resolve to one or more online players (Failed)
<target> fails to resolve to one or more online players — ID: Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (1)
1
1
any (Java Edition)
On success
Java Edition
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
amount: int is lower than 1 or higher than 64. (Failed)
amount: int is lower than 1 or higher than 64. — ID: Failed
Failed
/replaceitem block ... (the specified block is not a container)
/replaceitem block ... — ID: the specified block is not a container
the specified block is not a container
/replaceitem entity ... (<targets> or target: target fails to resolve to one or more entities (named players must be online))
/replaceitem entity ... — ID: <targets> or target: target fails to resolve to one or more entities (named players must b
<targets> or target: target fails to resolve to one or more ...
/replaceitem ... keep (an item occupies the specified slot in keep mode)
/replaceitem ... keep — ID: an item occupies the specified slot in keep mode
an item occupies the specified slot in keep mode
any (Otherwise)
Successful
Otherwise
any (Bedrock Edition)
On fail
Bedrock Edition
/replaceitem block ... (On success)
1
On success
/replaceitem entity ... (On success)
the number of entities whose items are successfully replaced
On success
destroy
Directly replaces items ignoring the original items in the specified slot.
destroy
keep
Does not replace items if an item occupies that slot.
keep
The command in <command> fails (The command in <command> fails)
Failed
The command in <command> fails
Otherwise (Otherwise)
Stops execution of the function to which it belongs and gives the specified return value to /function
Otherwise
return run <command> (On fail)
1
On fail
On success (1)
1
1
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
<target>, or vehicle fails to resolve to an entity (named players must be online) (Failed)
N/A
Failed
/ride ... mount ... (<target> is already riding on an entity)
/ride ... mount ... — ID: <target> is already riding on an entity
<target> is already riding on an entity
/ride ... dismount (<target> is not riding on an entity)
/ride ... dismount — ID: <target> is not riding on an entity
<target> is not riding on an entity
riders: target, rides: target, or ride: target fails to resolve to one or more entities (named players must be online) (N/A)
Failed
N/A
/... start_riding ... (more than one entity is targeted by ride: target)
/... start_riding ... — ID: more than one entity is targeted by ride: target
more than one entity is targeted by ride: target
/... stop_riding (none of <riders: target> is riding on other entity.)
/... stop_riding — ID: none of <riders: target> is riding on other entity.
none of <riders: target> is riding on other entity.
/... evict_riders (none of <rides: target> is ridden by other entities.)
/... evict_riders — ID: none of <rides: target> is ridden by other entities.
none of <rides: target> is ridden by other entities.
/... summon_rider ... (all <rides: target> are already full or not rideable for the riders.)
/... summon_rider ... — ID: all <rides: target> are already full or not rideable for the riders.
all <rides: target> are already full or not rideable for the...
/... summon_ride ... (all summoned entities are not rideable for <riders: target>.)
/... summon_ride ... — ID: all summoned entities are not rideable for <riders: target>.
all summoned entities are not rideable for <riders: target>.
any (Otherwise)
Successful
Otherwise
any (Java Edition)
On fail
Java Edition
On success (1)
1
1
any (Bedrock Edition)
On fail
Bedrock Edition
/... start_riding ... (On success)
the number of entities that get riding on the targeted ride
On success
/... stop_riding ... (On success)
the number of entities that get dismounted
On success
/... evict_riders ... (On success)
the number of entities that successfully evict their riders
On success
/... summon_rider ... (On success)
the number of summoned entities that successfully ride on their linked rides
On success
/... summon_ride ... (On success)
the number of summoned entities that are successfully ridden by their linked riders
On success
Added /ride. (Added /ride.)
Added /ride.
Added /ride.
any (if an error occurs (such as the data storage device being full, or another copy of Minecraft has the map open))
Failed
if an error occurs (such as the data storage device being fu...
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (N/A)
1
N/A
any (if automatic saving have already been turned off)
Failed
if automatic saving have already been turned off
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (N/A)
1
N/A
any (if automatic saving have not been turned off)
Failed
if automatic saving have not been turned off
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (N/A)
1
N/A
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On success
Java Edition
Bedrock Edition (On fail)
0
On fail
On success (1)
N/A
1
java edition classic: 0.0.16a_01
0.0.16a_01
0.0.16a_01
java edition classic: Pocket Edition Alpha
Pocket Edition Alpha
Pocket Edition Alpha
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
the specified functions/function tags do not exist (Failed)
Failed
Failed
/schedule function ... (<time> is 0)
N/A
<time> is 0
/schedule clear ... (schedule for <function> can't be found)
/schedule clear ... — ID: schedule for <function> can't be found
schedule for <function> can't be found
/schedule on_area_loaded add <from: x y z> <to: x y z> .../schedule on_area_loaded add circle ... (more than 2,147,483,647 chunks are specified)
N/A
more than 2,147,483,647 chunks are specified
/schedule on_area_loaded add circle ... (radius: int is lower than 0)
/schedule on_area_loaded add circle ... — ID: radius: int is lower than 0
radius: int is lower than 0
any (Otherwise)
Successful
Otherwise
any (Java Edition)
On fail
Java Edition
/schedule function ... (On success)
1
On success
/schedule clear ... (On success)
1
On success
Bedrock Edition (On fail)
0
On fail
On success (1)
N/A
1
... list (there's no objective in scoreboard system)
Successful
there's no objective in scoreboard system
Otherwise (Successful)
Otherwise — ID: Successful
Successful
... list (Java Edition)
On success
Java Edition
Bedrock Edition (On fail)
0
On fail
On success (the number of objectives in scoreboard system)
N/A
the number of objectives in scoreboard system
... add ... (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
<objective> already exists (Failed)
Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
... add ... (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (1)
N/A
1
... remove ... (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
<objective> doesn't exist (Failed)
Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
... remove ... (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (1)
N/A
1
... setdisplay ... (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
... setdisplay <slot> <objective>... setdisplay ... [objective: string] (<objective> doesn't exist)
Failed
<objective> doesn't exist
<objective> already displays in the specified slot (Successful)
<objective> already displays in the specified slot — ID: Successful
Successful
... setdisplay <slot>... setdisplay <list|sidebar|belowname> (the slot is already empty)
... setdisplay <slot>... setdisplay <list|sidebar|belowname> — ID: the slot is already empty
the slot is already empty
any (Otherwise)
Successful
Otherwise
... setdisplay ... (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (1)
N/A
1
... modify <objective> displayname ... (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
<objective> doesn't exist (Failed)
<objective> doesn't exist — ID: Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
... modify <objective> displayname ... (Java Edition)
On fail
Java Edition
On success (1)
1
1
... modify <objective> rendertype ... (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
<objective> doesn't exist (Failed)
<objective> doesn't exist — ID: Failed
Failed
any (Otherwise)
Successful
Otherwise
... modify <objective> displayname ... (Java Edition)
On fail
Java Edition
On success (1)
1
1
... list [<target>] (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
... list (there's no score holder being tracked by the scoreboard system)
Successful
there's no score holder being tracked by the scoreboard syst...
... list <targets> (<targets> fails to resolve to a single score holder)
Failed
<targets> fails to resolve to a single score holder
... list [playername: target] (playername: target fails to resolve to one or more score holders)
N/A
playername: target fails to resolve to one or more score hol...
... list <targets>... list [playername: target] (the specified score holder isn't tracked by any objectives)
Successful
the specified score holder isn't tracked by any objectives
any (Otherwise)
Successful
Otherwise
... list (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (the number of score holders)
N/A
the number of score holders
... list <targets>... list [playername: target] (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (the total number of tracking objectives of each score holder)
N/A
the total number of tracking objectives of each score holder
... get ... (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
the objective doesn't exist (Failed)
the objective doesn't exist — ID: Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
... get ... (Java Edition)
On fail
Java Edition
On success (1)
1
1
... set ... (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
the objective doesn't exist (Failed)
Failed
Failed
the objective isn't writable (N/A)
the objective isn't writable — ID: N/A
N/A
Otherwise (Successful)
Otherwise — ID: Successful
Successful
... set ... (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (1)
N/A
1
... add ... (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
the objective doesn't exist (Failed)
Failed
Failed
the objective isn't writable (N/A)
the objective isn't writable — ID: N/A
N/A
Otherwise (Successful)
Otherwise — ID: Successful
Successful
... add ... (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (1)
N/A
1
... remove ... (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
... remove ... (the objective doesn't exist)
Failed
the objective doesn't exist
the objective isn't writable (N/A)
the objective isn't writable — ID: N/A
N/A
Otherwise (Successful)
Otherwise — ID: Successful
Successful
... remove ... (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (1)
N/A
1
... random ... (the arguments are not specified correctly)
Failed
the arguments are not specified correctly
Otherwise (Successful)
Otherwise — ID: Successful
Successful
... random ... (Bedrock Edition)
On fail
Bedrock Edition
On success (1)
N/A
1
... reset ... (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
<targets> or player: target fails to resolve to one or more score holders (Failed)
Failed
Failed
... reset ... [<objective>]... reset ... [<objective: string>] (the objective doesn't exist)
... reset ... [<objective>]... reset ... [<objective: string>] — ID: the objective doesn't exist
the objective doesn't exist
... reset <player: target> (all the targets are not tracked by any objective)
N/A
all the targets are not tracked by any objective
... reset <player: target> [<objective: string>] (all the targets are not tracked by the specified objective)
... reset <player: target> [<objective: string>] — ID: all the targets are not tracked by the specified objective
all the targets are not tracked by the specified objective
any (Otherwise)
Successful
Otherwise
... reset ... (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (the number of the targets that is tracked by the scoreboard (or the specified objective))
N/A
the number of the targets that is tracked by the scoreboard ...
... test ... (the arguments are not specified correctly)
N/A
the arguments are not specified correctly
... test ... (the objective doesn't exist)
... test ... — ID: the objective doesn't exist
the objective doesn't exist
Otherwise (Successful)
Otherwise — ID: Successful
Successful
... test ... (Bedrock Edition)
On fail
Bedrock Edition
On success (the number of the specified score holders whose score is between min and max)
N/A
the number of the specified score holders whose score is bet...
... enable ... (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
<targets> fails to resolve to one or more score holders (Failed)
<targets> fails to resolve to one or more score holders — ID: Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
... enable ... (Java Edition)
On fail
Java Edition
On success (1)
1
1
... operation ... (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
<targets>, <source>, or player: target, selector: target fails to resolve to one or more score holders (Failed)
Failed
Failed
... operation ... (the source objective or target objective doesn't exist)
... operation ... — ID: the source objective or target objective doesn't exist
the source objective or target objective doesn't exist
the objective isn't writable (N/A)
the objective isn't writable — ID: N/A
N/A
any (Otherwise)
Successful
Otherwise
... operation ... (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (1)
N/A
1
any (Java Edition)
On success
Java Edition
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
specified position is unloaded or out of the world (Failed)
Failed
Failed
try to place block in Debug mode (N/A)
try to place block in Debug mode — ID: N/A
N/A
/setblock ... keep (try to change a non-air block)
Failed
try to change a non-air block
/setblock ... keep/setblock ... replace (try to replace a block with an identical copy (ignoring the block entity))
/setblock ... keep/setblock ... replace — ID: try to replace a block with an identical copy (ignoring the block entity)
try to replace a block with an identical copy (ignoring the ...
try to replace some kinds of redstone components with an unstable block (e.g. replacing one of two adjacent standing redstone torches with a TNT block)[1] (Successful)
try to replace some kinds of redstone components with an unstable block (e.g. replacing one of two adjacent standing red
Successful
any (Otherwise)
Successful
Otherwise
any (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (1)
N/A
1
any (Java Edition)
On success
Java Edition
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On success
Java Edition
Bedrock Edition (On fail)
0
On fail
On success (1)
N/A
1
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
player: target is not in player type (N/A)
Failed
N/A
<targets> or player: target fails to resolve to one or more online players (Failed)
<targets> or player: target fails to resolve to one or more online players — ID: Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (the number of players whose spawnpoints are set)
N/A
the number of players whose spawnpoints are set
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
<target> fails to resolve to an entity (named player must be online) (Failed)
<target> fails to resolve to an entity (named player must be online) — ID: Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (1)
1
1
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
spreadDistance: float is lower than 0.0 (N/A)
Failed
N/A
<targets> or player: target fails to resolve to one or more entities (named players must be online) (Failed)
<targets> or player: target fails to resolve to one or more entities (named players must be online) — ID: Failed
Failed
/spreadplayers ... under ... (there is no enough space under <maxHeight> to spread to)
N/A
there is no enough space under <maxHeight> to spread to
any (Otherwise)
Successful
Otherwise
any (Java Edition)
On fail
Java Edition
/spreadplayers ... true ... (On success)
1
On success
/spreadplayers ... false ... (On success)
1
On success
any (Bedrock Edition)
On fail
Bedrock Edition
On success (1)
N/A
1
any (Java Edition)
On success
Java Edition
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
player: target is not of player type (N/A)
Failed
N/A
<targets> or player: target fails to resolve to one or more online players (Failed)
<targets> or player: target fails to resolve to one or more online players — ID: Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (the number of targeted players)
N/A
the number of targeted players
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
one or both specified regions are unloaded or out of the world (Failed)
one or both specified regions are unloaded or out of the world — ID: Failed
Failed
/structure save ... (the region is greater than 64 * 256 * 64 (the equivalent of 16 chunk sections)
/structure save ... — ID: the region is greater than 64 * 256 * 64 (the equivalent of 16 chunk sections
the region is greater than 64 * 256 * 64 (the equivalent of ...
/structure load .../structure delete ... (the specified structure does not exist)
/structure load .../structure delete ... — ID: the specified structure does not exist
the specified structure does not exist
/structure load ... (integrity: float is lower than 0 or higher than100)
/structure load ... — ID: integrity: float is lower than 0 or higher than100
integrity: float is lower than 0 or higher than100
any (Otherwise)
Successful
Otherwise
any (Bedrock Edition)
On fail
Bedrock Edition
On success (1)
On success — ID: 1
1
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
specified position is unloaded (Failed)
Failed
Failed
trying to summon hostiles in peaceful difficulty. (Successful)
trying to summon hostiles in peaceful difficulty. — ID: Successful
Successful
attempting to summon an entity with a duplicate UUID. (Failed)
N/A
Failed
designated position's <x> or <z> exceeds the range of [-30000000, 30000000), or <y> exceeds the range of [-20000000, 20000000) (Successful)
designated position's <x> or <z> exceeds the range of [-30000000, 30000000), or <y> exceeds the range of [-20000000, 200
Successful
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (1)
N/A
1
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
<targets> or player: target fails to resolve to one or more entities (named players must be online) (Failed)
Failed
Failed
/tag ... add ... (All selected entities meet one or more of the following conditions: it already had the specified tag it already has 1024 tags‌[Java Edition only])
/tag ... add ... — ID: All selected entities meet one or more of the following conditions: it already had the specified
All selected entities meet one or more of the following cond...
/tag ... remove ... (there's no entity whose tag is removed)
/tag ... remove ... — ID: there's no entity whose tag is removed
there's no entity whose tag is removed
/tag ... list ... (there's no entity that has any tag)
Successful
there's no entity that has any tag
any (Otherwise)
Successful
Otherwise
any (Java Edition)
On fail
Java Edition
/tag ... add ... (On success)
1
On success
/tag ... remove ... (On success)
1
On success
/tag ... list (On success)
1
On success
any (Bedrock Edition)
On fail
Bedrock Edition
On success (1)
N/A
1
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
/team list <team>/team remove .../team empty .../team join .../team modify ... (<team> doesn't exist)
Failed
<team> doesn't exist
/team add ... (the named <team> already exists)
/team add ... — ID: the named <team> already exists
the named <team> already exists
/team empty ... (the <team> is already empty)
/team empty ... — ID: the <team> is already empty
the <team> is already empty
/team join ... (<members> is not specified when the command's executor is not an entity)
/team join ... — ID: <members> is not specified when the command's executor is not an entity
<members> is not specified when the command's executor is no...
/team leave ... (<members> fails to resolve to one or more entities)
Failed
<members> fails to resolve to one or more entities
/team modify displayName .../team modify color .../team modify friendlyFire .../team modify seeFriendlyInvisibles .../team modify nametagVisibility .../team modify deathMessageVisibility .../team modify collisionRule ... (the specified value is the same as current value)
/team modify displayName .../team modify color .../team modify friendlyFire .../team modify seeFriendlyInvisibles .../te
the specified value is the same as current value
any (Otherwise)
Successful
Otherwise
any (Java Edition)
On fail
Java Edition
/team list (On success)
1
On success
/team list <team> (On success)
1
On success
/team add .../team remove ... (On success)
1
On success
/team empty ... (On success)
1
On success
/team join (On success)
1
On success
/team join <members> (On success)
1
On success
/team leave ... (On success)
1
On success
/team modify displayName .../team modify color .../team modify friendlyFire .../team modify seeFriendlyInvisibles .../team modify nametagVisibility .../team modify deathMessageVisibility .../team modify collisionRule ... (On success)
1
On success
/team modify prefix .../team modify suffix ... (On success)
1
On success
true
(Default) Enable players inflicting damage on each other when in the same team.
true
false
Disable players inflicting damage on each other when in the same team.
false
true
(Default) Can see invisible players on the same team semi-transparently.
true
false
Cannot see invisible players on the same team.
false
never
Name above player's head cannot be seen by any players.
never
hideForOtherTeams
Name above player's head can be seen only by players in the same team.
hideForOtherTeams
hideForOwnTeam
Name above player's head cannot be seen by all the players in the same team.
hideForOwnTeam
always
(Default) Name above player's head can be seen by all the players.
always
never
Hide death message for all the players.
never
hideForOtherTeams
Hide death message to all the players who are not in the same team.
hideForOtherTeams
hideForOwnTeam
Hide death message to players in the same team.
hideForOwnTeam
always
(Default) Make death message visible to all the players.
always
always
(Default) Normal collision.
always
never
No entities can push entities in this team.
never
pushOtherTeams
Entities in this team can be pushed only by other entities in the same team.
pushOtherTeams
pushOwnTeam
Entities in this team cannot be pushed by another entity in this team.
pushOwnTeam
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
<target> fails to resolve to an entity (named player must be online) (Failed)
<target> fails to resolve to an entity (named player must be online) — ID: Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (1)
1
1
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
<targets> or player: target fails to resolve to one or more entities (named players must be online) (Failed)
Failed
Failed
destinated position's <x> or <z> exceeds the range of [-30000000, 30000000), or <y> exceeds the range of [-20000000, 20000000) (Successful)
destinated position's <x> or <z> exceeds the range of [-30000000, 30000000), or <y> exceeds the range of [-20000000, 200
Successful
checkForBlocks: Boolean is true and the specified position is obscured (N/A)
Failed
N/A
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
/teleport <destination: x y z> ... (On success)
1
On success
/teleport <victim: target> <destination: x y z> ... (On success)
the number of targeted victim entities
On success
/teleport <destination: target> ... (On success)
2
On success
/teleport <victim: target> <destination: target> ... (On success)
the number of victims plus 1
On success
/tp is no longer different from /teleport now, and became an alias of /teleport. (17w45a)
/tp is no longer different from /teleport now, and became an alias of /teleport.
17w45a
/teleport now cannot teleport an entity to a position where <x> or <z> exceeds the range of [-30000000, 30000000), or <y> exceeds the range of [-20000000, 20000000) (20w06a)
/teleport now cannot teleport an entity to a position where <x> or <z> exceeds the range of [-30000000, 30000000), or <y
20w06a
Added /teleport. (build 1)
Added /teleport.
build 1
Players can now teleport to entities in other dimensions, with the "Upcoming Creator Features" experimental toggle enabled. (beta 1.19.40.23)
Players can now teleport to entities in other dimensions, with the "Upcoming Creator Features" experimental toggle enabl
beta 1.19.40.23
Teleporting to entities in other dimension no longer requires the "Upcoming Creator Features" experimental toggle to be enabled. (beta 1.19.50.23)
Teleporting to entities in other dimension no longer requires the "Upcoming Creator Features" experimental toggle to be
beta 1.19.50.23
Rotation in the teleport command is now relative to the executor of the command instead of the target. Old usage of rotations in commands will stay relative to the target mob for backwards compatibility. (beta 1.19.70.20)
Rotation in the teleport command is now relative to the executor of the command instead of the target. Old usage of rota
beta 1.19.70.20
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
player: target is not in player type (N/A)
Failed
N/A
<targets> or player: target fails to resolve to one or more online players (Failed)
<targets> or player: target fails to resolve to one or more online players — ID: Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (1)
N/A
1
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
victim: target fails to resolve to one or more entities (named players must be online) (Failed)
victim: target fails to resolve to one or more entities (named players must be online) — ID: Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Bedrock Edition)
On fail
Bedrock Edition
On success (the number of the specified entities.)
On success — ID: the number of the specified entities.
the number of the specified entities.
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
the specified position is unloaded or out of the world (Failed)
the specified position is unloaded or out of the world — ID: Failed
Failed
any (Otherwise)
Successful
Otherwise
any (Bedrock Edition)
On fail
Bedrock Edition
On success (1)
On success — ID: 1
1
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
one or both specified regions are unloaded or out of the world (Failed)
one or both specified regions are unloaded or out of the world — ID: Failed
Failed
any (Otherwise)
Successful
Otherwise
any (Bedrock Edition)
On fail
Bedrock Edition
On success (1)
On success — ID: 1
1
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
/tickingarea add ... (attempting to add an 11th ticking area)
Failed
attempting to add an 11th ticking area
/tickingarea remove .../tickingarea preload ... (there's no ticking area with the specified name or including the specified coordinates)
/tickingarea remove .../tickingarea preload ... — ID: there's no ticking area with the specified name or including the s
there's no ticking area with the specified name or including...
/tickingarea remove_all/tickingarea list ... (there's no defined ticking area)
/tickingarea remove_all/tickingarea list ... — ID: there's no defined ticking area
there's no defined ticking area
any (Otherwise)
Successful
Otherwise
any (Bedrock Edition)
On fail
Bedrock Edition
On success (1)
On success — ID: 1
1
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
Otherwise (Successful)
Otherwise — ID: Successful
Successful
/time add .../time set ... (Java Edition)
On success
Java Edition
/time query ... (On success)
1
On success
any (Bedrock Edition)
On fail
Bedrock Edition
On success (1)
N/A
1
daytime
the number of game
daytime
gametime
the age of the world in game ticks. (the game time modulo 2147483647)
gametime
day
the number of in-game days passed. (the internal daytime divided by 24000, then modulo 2147483647)
day
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
player: target is not in player type (N/A)
Failed
N/A
<targets> or player: target fails to resolve to one or more online players (Failed)
<targets> or player: target fails to resolve to one or more online players — ID: Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (the number of targeted players)
N/A
the number of targeted players
any (Bedrock Edition)
On success
Bedrock Edition
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
the objective does not exist (Failed)
the objective does not exist — ID: Failed
Failed
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (1)
1
1
any (If the syntax is incorrect)
N/A
If the syntax is incorrect
any (Otherwise)
You can execute components between coordinates.
Otherwise
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
duration: int is lower than 0 or higher than 1000000 (N/A)
Failed
N/A
Otherwise (Successful)
Otherwise — ID: Successful
Successful
any (Java Edition)
On fail
Java Edition
On success (1)
1
1
Bedrock Edition (On fail)
0
On fail
On success (1)
N/A
1
v0.16.0 (build 1)
Added /weather.
build 1
clear
Set the weather to clear.
clear
rain
Set the weather to
rain
thunder
Set the weather to a
thunder
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
/whitelist on (the whitelist is already enabled)
Failed
the whitelist is already enabled
/whitelist off (the whitelist is already disabled)
/whitelist off — ID: the whitelist is already disabled
the whitelist is already disabled
/whitelist add <targets> (there's no new new player profile added to the whitelist)
/whitelist add <targets> — ID: there's no new new player profile added to the whitelist
there's no new new player profile added to the whitelist
/whitelist remove <targets> (all specified profiles is not in the whitelist)
/whitelist remove <targets> — ID: all specified profiles is not in the whitelist
all specified profiles is not in the whitelist
any (Otherwise)
Successful
Otherwise
any (Java Edition)
On fail
Java Edition
/whitelist on/whitelist off/whitelist reload (On success)
N/A
On success
/whitelist list (On success)
N/A
On success
/whitelist add <targets> (On success)
N/A
On success
/whitelist remove <targets> (On success)
N/A
On success
any (the arguments are not specified correctly)
Unparseable
the arguments are not specified correctly
/worldborder add .../worldborder set ... (the size is unchanged)
Failed
the size is unchanged
/worldborder center ... (the center is unchanged)
/worldborder center ... — ID: the center is unchanged
the center is unchanged
/worldborder damage amount ... (the damage amount is unchanged)
/worldborder damage amount ... — ID: the damage amount is unchanged
the damage amount is unchanged
/worldborder damage buffer ... (the damage buffer is unchanged)
/worldborder damage buffer ... — ID: the damage buffer is unchanged
the damage buffer is unchanged
/worldborder warning distance ... (the warning distance is unchanged)
/worldborder warning distance ... — ID: the warning distance is unchanged
the warning distance is unchanged
/worldborder warning time ... (the warning time is unchanged)
/worldborder warning time ... — ID: the warning time is unchanged
the warning time is unchanged
any (Otherwise)
Successful
Otherwise
any (Java Edition)
On fail
Java Edition
/worldborder add ... (On success)
1
On success
/worldborder center ... (On success)
1
On success
/worldborder damage amount ... (On success)
1
On success
/worldborder damage buffer ... (On success)
1
On success
/worldborder get (On success)
1
On success
/worldborder set ... (On success)
1
On success
/worldborder warning distance ... (On success)
1
On success
/worldborder warning time ... (On success)
1
On success
How to Use Minecraft Console Commands
Select any entry above to see full syntax, examples, pros/cons, and related mods that enhance this feature.