Command syntax changes in Java 1.19

Compared with 1.18.2: 1 command added, 2 removed and 2 with a changed syntax. Measured by comparing the command trees that the two game versions generate.

Here on 9Minecraft Commands, we looked at the game files to compare the command trees between Minecraft Java Edition 1.18.2 and 1.19. This update brings the total number of available commands in the game to 76.

In this release, one new command has been added while /locatebiome and /placefeature have been removed. Additionally, two existing commands received syntax updates.

What changed for players

/place
This is a new command added to the 1.19 command tree, while the /placefeature command from 1.18.2 has been removed.
/locate
The old /locate <structure> syntax and the separate /locatebiome command are gone. Players can now use three specific forms under one command: /locate biome <biome>, /locate poi <poi>, and /locate structure <structure>.
/gamerule
A new option has been added to the command tree, allowing players to run /gamerule doWardenSpawning [<value>].

Map makers, datapack creators, and server administrators should review these changes. Anyone maintaining command scripts from 1.18.2 will need to update any uses of /locate, /locatebiome, or /placefeature so their setups continue to work in 1.19.

New commands

/place

Removed commands

/locatebiome/placefeature

/gamerule +1 −0

+ /gamerule doWardenSpawning [<value>]

/locate +3 −1

+ /locate biome <biome>+ /locate poi <poi>+ /locate structure <structure>− /locate <structure>