Command syntax changes in Java 1.14

Compared with 1.13.2: 4 commands added, 0 removed and 3 with a changed syntax. Measured by comparing the command trees that the two game versions generate.

This changelog compares the command trees of Minecraft Java Edition 1.14 and 1.13.2. Version 1.14 brings the total number of commands to 71.

Four new commands have been added to the game, and three existing commands received syntax updates.

What changed for players

/loot
This is a new command added in 1.14.
/schedule
This new command is now available in the 1.14 command tree.
/teammsg
Players can now use this newly added command in 1.14.
/tm
This new command was added alongside /teammsg.
/data
Players can now modify block data by appending from a block or entity, such as /data modify block append from entity []. For getting and merging block data, the argument was replaced with , and the /data remove block form was removed.
/execute
You can now check block or entity data using forms like /execute if data block and /execute if data entity . Additionally, storing byte, double, and float results in blocks now uses instead of , while the forms for int and long were removed.
/locate
Players can now locate a new structure type by running /locate Pillager_Outpost.

Map makers, datapack creators, and server administrators should review these changes, especially the new /data modify and /execute if data options, to update their 1.13.2 command setups for 1.14.

New commands

/loot/schedule/teammsg/tm

/data +34 −4

+ /data get block <targetPos>+ /data get block <targetPos> <path> [<scale>]+ /data merge block <targetPos> <nbt>+ /data modify block <targetPos> <targetPath> append from block <sourcePos> [<sourcePath>]+ /data modify block <targetPos> <targetPath> append from entity <source> [<sourcePath>]+ /data modify block <targetPos> <targetPath> append value <value>+ /data modify block <targetPos> <targetPath> insert <index> from block <sourcePos> [<sourcePath>]+ /data modify block <targetPos> <targetPath> insert <index> from entity <source> [<sourcePath>]+ /data modify block <targetPos> <targetPath> insert <index> value <value>+ /data modify block <targetPos> <targetPath> merge from block <sourcePos> [<sourcePath>]+ /data modify block <targetPos> <targetPath> merge from entity <source> [<sourcePath>]+ /data modify block <targetPos> <targetPath> merge value <value>+ /data modify block <targetPos> <targetPath> prepend from block <sourcePos> [<sourcePath>]+ /data modify block <targetPos> <targetPath> prepend from entity <source> [<sourcePath>]+ /data modify block <targetPos> <targetPath> prepend value <value>+ /data modify block <targetPos> <targetPath> set from block <sourcePos> [<sourcePath>]+ /data modify block <targetPos> <targetPath> set from entity <source> [<sourcePath>]+ /data modify block <targetPos> <targetPath> set value <value>+ /data modify entity <target> <targetPath> append from block <sourcePos> [<sourcePath>]+ /data modify entity <target> <targetPath> append from entity <source> [<sourcePath>]+ /data modify entity <target> <targetPath> append value <value>+ /data modify entity <target> <targetPath> insert <index> from block <sourcePos> [<sourcePath>]+ /data modify entity <target> <targetPath> insert <index> from entity <source> [<sourcePath>]+ /data modify entity <target> <targetPath> insert <index> value <value>+ /data modify entity <target> <targetPath> merge from block <sourcePos> [<sourcePath>]+ /data modify entity <target> <targetPath> merge from entity <source> [<sourcePath>]+ /data modify entity <target> <targetPath> merge value <value>+ /data modify entity <target> <targetPath> prepend from block <sourcePos> [<sourcePath>]+ /data modify entity <target> <targetPath> prepend from entity <source> [<sourcePath>]+ /data modify entity <target> <targetPath> prepend value <value>− /data get block <pos>− /data get block <pos> <path> [<scale>]− /data merge block <pos> <nbt>− /data remove block <pos> <path>

/execute +16 −12

+ /execute if data block <sourcePos> <path> […execute]+ /execute if data entity <source> <path> […execute]+ /execute store result block <targetPos> <path> byte <scale> …execute+ /execute store result block <targetPos> <path> double <scale> …execute+ /execute store result block <targetPos> <path> float <scale> …execute+ /execute store result block <targetPos> <path> int <scale> …execute+ /execute store result block <targetPos> <path> long <scale> …execute+ /execute store result block <targetPos> <path> short <scale> …execute+ /execute store success block <targetPos> <path> byte <scale> …execute+ /execute store success block <targetPos> <path> double <scale> …execute+ /execute store success block <targetPos> <path> float <scale> …execute+ /execute store success block <targetPos> <path> int <scale> …execute+ /execute store success block <targetPos> <path> long <scale> …execute+ /execute store success block <targetPos> <path> short <scale> …execute+ /execute unless data block <sourcePos> <path> […execute]+ /execute unless data entity <source> <path> […execute]− /execute store result block <pos> <path> byte <scale> …execute− /execute store result block <pos> <path> double <scale> …execute− /execute store result block <pos> <path> float <scale> …execute− /execute store result block <pos> <path> int <scale> …execute− /execute store result block <pos> <path> long <scale> …execute− /execute store result block <pos> <path> short <scale> …execute− /execute store success block <pos> <path> byte <scale> …execute− /execute store success block <pos> <path> double <scale> …execute− /execute store success block <pos> <path> float <scale> …execute− /execute store success block <pos> <path> int <scale> …execute− /execute store success block <pos> <path> long <scale> …execute− /execute store success block <pos> <path> short <scale> …execute

/locate +1 −0

+ /locate Pillager_Outpost