Java Edition 1.18.2

1.18.2 is a minor update to, released on February 28, 2022, which adds the command, makes changes to tags and custom world generation, and fixes bugs. It is not compatible with 1.18 and 1.18.1 servers.

World generation

 * Custom world generation
 * Added  field in configured structure files, which is a tag.
 * Added function: general-purpose building block that allows user to express almost any function using a cubic spline.

Command format

 * Used to place a configured feature at a given location.
 * Syntax:
 * : The namespaced ID of a configured feature to place.
 * : The position to use as the origin for the feature placement.
 * If omitted,  is used.
 * If omitted,  is used.

General



 * Compliance requirements
 * Added gameplay timers and notices in compliance with gaming laws of South Korea to South Korean users, in order to remind these players to take occasional breaks from gameplay.


 * Debug screen
 * Now contains the chunk position in the region file, and the name of this region file which the player is currently in, at the end of the "Chunk" row.


 * Languages
 * Added Friulian.


 * Resource packs
 * Added a JSON file related to the new compliance requirements, located at assets/[namespace]/regional_compliancies.json.


 * Tags
 * Added the #fall_damage_resetting block tag.
 * Contains the #climbable block tag, sweet berry bush, and cobweb.
 * Tags can now be defined for any types in registry, rather than only blocks, items, fluids, entity types, game events and functions previously.
 * In datapacks, tags of new types are stored in their own folders (but not present in the vanilla datapack currently). The folders' names are based on their names in the registries.json, for example:
 * Tags for potions: /data/[namespace]/tags/potion
 * Tags for biomes: /data/[namespace]/tags/worldgen/biome
 * For tags of blocks, items, fluids, entity types, game events and functions, their locations in datapacks are currently not changed, even if they use plural names which is against the new name format.
 * Added biome tags in vanilla datapacks, as following:
 * Added biome tags to determine which biomes a structure can generate in, stored in tags/worldgen/biome/has_structure.
 * field in these files can accept both biome IDs and biome tags.
 * Added following configured structure feature tags:
 * Added biome tags to determine which biomes a structure can generate in, stored in tags/worldgen/biome/has_structure.
 * field in these files can accept both biome IDs and biome tags.
 * Added following configured structure feature tags:
 * Added biome tags to determine which biomes a structure can generate in, stored in tags/worldgen/biome/has_structure.
 * field in these files can accept both biome IDs and biome tags.
 * Added following configured structure feature tags:
 * Added biome tags to determine which biomes a structure can generate in, stored in tags/worldgen/biome/has_structure.
 * field in these files can accept both biome IDs and biome tags.
 * Added following configured structure feature tags:
 * field in these files can accept both biome IDs and biome tags.
 * Added following configured structure feature tags:

Blocks

 * Ender Chest
 * No longer gift wrapped around Christmas.

Mobs

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


 * Glow Squids
 * Now require complete darkness to spawn.


 * Tropical Fish
 * Now only spawn if the block above is a full water block.

World generation

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


 * Custom world generation
 * Some fields in worldgen structures that previously only lists of element IDs now accept tags.
 * Those entries now accept,   (shortcut for  ) and.
 * Changed fields are:
 * configuration:
 * configuration:
 * configuration:
 * : inner list in, map value in
 * Some tag fields now require id to be prepended with, however they are not yet accepting element list:
 * configuration: ,
 * ,  configuration:
 * configuration:
 * Structure fields in noise settings no longer have separate subfields for strongholds and non-stronghold structures. Instead each structure has a tag field which is :   for strongholds and  :   for non-stronghold structures.
 * configuration: ,
 * ,  configuration:
 * configuration:
 * Structure fields in noise settings no longer have separate subfields for strongholds and non-stronghold structures. Instead each structure has a tag field which is :   for strongholds and  :   for non-stronghold structures.
 * Structure fields in noise settings no longer have separate subfields for strongholds and non-stronghold structures. Instead each structure has a tag field which is :   for strongholds and  :   for non-stronghold structures.


 * Seed
 * A seed of the number zero is no longer handled as a special case.
 * Any spaces before/after an inputted seed will now be trimmed.


 * Superflat
 * "Redstone Ready" preset's top layer of blocks has increased to height Y=55 instead of Y=-9 in order to prevent slimes from spawning.
 * Changed the "Water World" preset, by replacing sand with gravel, and adding additional 64 layers of deepslate above the bedrock layer, in order to fix the ocean monument generation issue in worlds using this preset.

Command format

 * Now uses a namespaced ID parameter.
 * Now support tags, using prefix to distinguish from normal IDs.
 * The parameter is now a configured structure rather than a structure type.
 * For instance, it is now possible to use or.
 * The old usage for structure categories is now done via tags.
 * For instance, is now.
 * For instance, is now.


 * Now support tags, using prefix to distinguish from normal IDs.
 * For instance, it is now possibile to use.
 * For instance, it is now possibile to use.

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 worldgen/noise_settings folder in the worldgen report.
 * Noise router wires data-driven parts of the cave generation with the rest of the code.


 * Debug screen
 * Moved the location of the player within a chunk from "Chunk" row, into the new square brackets at the end of the "Block" row.
 * Merged the "Terrain" and "Multinoise" row into the "NoiseRouter" row, with the format.
 * are the same with data from the former "Multinoise" row.
 * is the same with data from the former "Terrain" row.
 * are currently unknown.


 * Logging
 * Upgrades log4j to 2.17.0.


 * Tags
 * Powder snow is no longer part of the #goats_spawnable_on block tag.
 * Snow blocks and powder snow are now part of the #azalea_root_replaceable block tag.
 * Removed dirt from the block tag.
 * Removed, and added block tags to the  block tag.


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

Videos
Videos made by slicedlime: