Java Edition 1.18.2 Pre-release 1

1.18.2 Pre-release 1 (known as 1.18.2-pre1 in the launcher) is the first pre-release for Java Edition 1.18.2, released on February 18, 2022, which fixes bugs.

Mobs

 * Dolphins
 * Now pick the closest structure more accurately, regardless of structure type.

World generation

 * Bastion remnant
 * Bounding boxes are now slightly more accurate to the shape of the structure.

Command format

 * and
 * Now support tags, using prefix to distinguish from normal IDs.
 * The command parameter is now a configured structure rather than a structure type.
 * For instance, it is now possible to use or.
 * The old usage of is now done via tags –  is now.

General

 * Data packs
 * Increased data pack version from  to.
 * It is now possible to add custom structures in experimental datapacks: the game now generates and stores data-driven configured structures.
 * Experimental datapacks can add new structure sets.
 * The field in location predicates now references a configured feature.
 * The loot table function  field is now a configured feature tag id.
 * The loot table function no longer automatically sets the display name of the map.
 * A lot of the cave generation is now configurable through data packs.
 * A new registry was added for Density functions (caves are created by combining those together).
 * Noise settings got a new field (and lost a couple of flags), see  folder in the worldgen report.
 * Noise router wires data-driven parts of the cave generation with the rest of the code.


 * General
 * Added a warning for users running Minecraft in a 32-bit environment, because support for the 32-bit environment will end soon.