Command syntax changes in Java 1.19.4

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

Here on 9Minecraft Commands, we compare the command trees from the game files to see what changed between releases. Comparing Minecraft Java Edition 1.19.4 with 1.19.3 shows two new commands and new syntax options for five existing commands.

No command forms were removed in this release, bringing the total number of commands in 1.19.4 to 79.

What changed for players

/damage
This is a brand new command added to the game in 1.19.4.
/ride
This new command is now available in the 1.19.4 command tree.
/clone
Players can now specify a target dimension when cloning blocks, including when using filtered modes like force, move, or normal. For example, you can use /clone to filtered force.
/data
You can now append strings to block data from another block or entity source, with optional start and end bounds for block sources. An example of this new syntax is /data modify block append string block [].
/effect
Effects can now be given with an infinite duration instead of a set number of seconds. You can run /effect give infinite [] to apply a permanent effect.
/execute
New subcommands allow checking if a specific dimension matches or if a position is loaded, as well as changing execution context with on for an attacker, controller, or leasher. For example, you can check a position with /execute if loaded .
/gamerule
Two new gamerules are available to view or modify: /gamerule commandModificationBlockLimit [] and /gamerule doVinesSpread [].

Map makers, datapack creators, and server administrators should review these changes, as the new /damage and /ride commands alongside expanded /execute, /clone, and /data options offer new ways to build command systems.

New commands

/damage/ride

/clone +39 −0

+ /clone <begin> <end> to <targetDimension> <destination>+ /clone <begin> <end> to <targetDimension> <destination> filtered <filter>+ /clone <begin> <end> to <targetDimension> <destination> filtered <filter> force+ /clone <begin> <end> to <targetDimension> <destination> filtered <filter> move+ /clone <begin> <end> to <targetDimension> <destination> filtered <filter> normal+ /clone <begin> <end> to <targetDimension> <destination> masked+ /clone <begin> <end> to <targetDimension> <destination> masked force+ /clone <begin> <end> to <targetDimension> <destination> masked move+ /clone <begin> <end> to <targetDimension> <destination> masked normal+ /clone <begin> <end> to <targetDimension> <destination> replace+ /clone <begin> <end> to <targetDimension> <destination> replace force+ /clone <begin> <end> to <targetDimension> <destination> replace move+ /clone <begin> <end> to <targetDimension> <destination> replace normal+ /clone from <sourceDimension> <begin> <end> <destination>+ /clone from <sourceDimension> <begin> <end> <destination> filtered <filter>+ /clone from <sourceDimension> <begin> <end> <destination> filtered <filter> force+ /clone from <sourceDimension> <begin> <end> <destination> filtered <filter> move+ /clone from <sourceDimension> <begin> <end> <destination> filtered <filter> normal+ /clone from <sourceDimension> <begin> <end> <destination> masked+ /clone from <sourceDimension> <begin> <end> <destination> masked force+ /clone from <sourceDimension> <begin> <end> <destination> masked move+ /clone from <sourceDimension> <begin> <end> <destination> masked normal+ /clone from <sourceDimension> <begin> <end> <destination> replace+ /clone from <sourceDimension> <begin> <end> <destination> replace force+ /clone from <sourceDimension> <begin> <end> <destination> replace move+ /clone from <sourceDimension> <begin> <end> <destination> replace normal+ /clone from <sourceDimension> <begin> <end> to <targetDimension> <destination>+ /clone from <sourceDimension> <begin> <end> to <targetDimension> <destination> filtered <filter>+ /clone from <sourceDimension> <begin> <end> to <targetDimension> <destination> filtered <filter> force+ /clone from <sourceDimension> <begin> <end> to <targetDimension> <destination> filtered <filter> move

/data +135 −0

+ /data modify block <targetPos> <targetPath> append string block <sourcePos>+ /data modify block <targetPos> <targetPath> append string block <sourcePos> <sourcePath>+ /data modify block <targetPos> <targetPath> append string block <sourcePos> <sourcePath> <start> [<end>]+ /data modify block <targetPos> <targetPath> append string entity <source>+ /data modify block <targetPos> <targetPath> append string entity <source> <sourcePath>+ /data modify block <targetPos> <targetPath> append string entity <source> <sourcePath> <start> [<end>]+ /data modify block <targetPos> <targetPath> append string storage <source>+ /data modify block <targetPos> <targetPath> append string storage <source> <sourcePath>+ /data modify block <targetPos> <targetPath> append string storage <source> <sourcePath> <start> [<end>]+ /data modify block <targetPos> <targetPath> insert <index> string block <sourcePos>+ /data modify block <targetPos> <targetPath> insert <index> string block <sourcePos> <sourcePath>+ /data modify block <targetPos> <targetPath> insert <index> string block <sourcePos> <sourcePath> <start> [<end>]+ /data modify block <targetPos> <targetPath> insert <index> string entity <source>+ /data modify block <targetPos> <targetPath> insert <index> string entity <source> <sourcePath>+ /data modify block <targetPos> <targetPath> insert <index> string entity <source> <sourcePath> <start> [<end>]+ /data modify block <targetPos> <targetPath> insert <index> string storage <source>+ /data modify block <targetPos> <targetPath> insert <index> string storage <source> <sourcePath>+ /data modify block <targetPos> <targetPath> insert <index> string storage <source> <sourcePath> <start> [<end>]+ /data modify block <targetPos> <targetPath> merge string block <sourcePos>+ /data modify block <targetPos> <targetPath> merge string block <sourcePos> <sourcePath>+ /data modify block <targetPos> <targetPath> merge string block <sourcePos> <sourcePath> <start> [<end>]+ /data modify block <targetPos> <targetPath> merge string entity <source>+ /data modify block <targetPos> <targetPath> merge string entity <source> <sourcePath>+ /data modify block <targetPos> <targetPath> merge string entity <source> <sourcePath> <start> [<end>]+ /data modify block <targetPos> <targetPath> merge string storage <source>+ /data modify block <targetPos> <targetPath> merge string storage <source> <sourcePath>+ /data modify block <targetPos> <targetPath> merge string storage <source> <sourcePath> <start> [<end>]+ /data modify block <targetPos> <targetPath> prepend string block <sourcePos>+ /data modify block <targetPos> <targetPath> prepend string block <sourcePos> <sourcePath>+ /data modify block <targetPos> <targetPath> prepend string block <sourcePos> <sourcePath> <start> [<end>]

/effect +2 −0

+ /effect give <targets> <effect> infinite+ /effect give <targets> <effect> infinite <amplifier> [<hideParticles>]

/execute +14 −0

+ /execute if dimension <dimension> […execute]+ /execute if loaded <pos> […execute]+ /execute on attacker …execute+ /execute on controller …execute+ /execute on leasher …execute+ /execute on origin …execute+ /execute on owner …execute+ /execute on passengers …execute+ /execute on target …execute+ /execute on vehicle …execute+ /execute positioned over <heightmap> …execute+ /execute summon <entity> …execute+ /execute unless dimension <dimension> […execute]+ /execute unless loaded <pos> […execute]

/gamerule +2 −0

+ /gamerule commandModificationBlockLimit [<value>]+ /gamerule doVinesSpread [<value>]