Compared with 1.18.1: 1 command added, 0 removed and 1 with a changed syntax. Measured by comparing the command trees that the two game versions generate.
Welcome to the 9Minecraft Commands update guide for Minecraft Java Edition 1.18.2. By comparing the command trees directly from the game files of 1.18.1 and 1.18.2, we can see all the technical adjustments made in this version.
This release brings the total number of commands in the game to 77, introducing one brand new command and changing how structure arguments work in an existing one.
/placefeature/placefeature directly in the chat or command blocks./locate/locate <structure> form instead of separate subcommands. Specific forms like /locate bastion_remnant, /locate buried_treasure, /locate desert_pyramid, /locate endcity, and /locate fortress have been removed.Map makers, datapack creators, and server owners should check their command blocks and functions. If your creations rely on the older /locate forms for structures like fortresses or end cities, you will need to update them to the new /locate <structure> syntax, and builders can now look into using /placefeature.
+ /locate <structure>− /locate bastion_remnant− /locate buried_treasure− /locate desert_pyramid− /locate endcity− /locate fortress− /locate igloo− /locate jungle_pyramid− /locate mansion− /locate mineshaft− /locate monument− /locate nether_fossil− /locate ocean_ruin− /locate pillager_outpost− /locate ruined_portal− /locate shipwreck− /locate stronghold− /locate swamp_hut− /locate village