Compared with 1.16.5: 2 commands added, 1 removed and 2 with a changed syntax. Measured by comparing the command trees that the two game versions generate.
Here is what changed in the command system between Minecraft Java Edition 1.16.5 and 1.17, based on the command trees in the game files. This release brings the total number of commands to 75.
Two new commands are now available, one legacy command was removed, and two existing commands received new syntax forms.
/item/item to use the new command options./perf/perf directly from the command line./replaceitem/replaceitem./debug/debug function <name>. The /debug report syntax form has been removed and can no longer be used./gamerule/gamerule freezeDamage [<value>] and /gamerule playersSleepingPercentage [<value>].Map makers and datapack creators should update any functions that still use /replaceitem or /debug report, while server owners can use the new /gamerule options to adjust sleeping percentages and freeze damage.
+ /debug function <name>− /debug report+ /gamerule freezeDamage [<value>]+ /gamerule playersSleepingPercentage [<value>]