Minecraft:Java Edition 1.18.2
From SAS Gaming Wiki
More actions
1.18.2 is a minor update to Template:JE, released on February 28, 2022, which adds the Template:Cmd command, makes changes to Minecraft:tags and Minecraft:custom world generation, and fixes bugs.<ref>Template:Mcnet</ref> It is not compatible with 1.18 and 1.18.1 servers. This is the first version released in 2022.
Additions
World generation
Minecraft:Custom world generation
- Added
biomesfield in configured structure files, which is a tag. - Added Template:W 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: Template:Cmd
feature: The namespaced ID of a configured feature to place.pos: The position to use as the origin for the feature placement.- If omitted,
~ ~ ~is used.
- If omitted,
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.
- 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.
- Added Friulian.<ref group=note>Also available for versions since Minecraft:21w37a.</ref>
- Added a JSON file related to the new compliance requirements, located at assets/[namespace]/regional_compliancies.json.
- Added the Template:Code block tag.
- Contains the Template:Code block tag, Minecraft:sweet berry bush, and Minecraft: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.
- 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:
- 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.
- Template:Cd field in these files can accept both biome IDs and biome tags.
- Added following configured structure feature tags:
Changes
Blocks
- No longer gift wrapped around Christmas.
Mobs
- Now pick the closest Minecraft:structure more accurately, regardless of structure type.
- Now require complete darkness to spawn.
- Now only spawn if the block above is a full Minecraft:water block.
World generation
- Bounding boxes are now slightly more accurate to the shape of the structure.
Minecraft:Custom world generation
- Some fields in worldgen structures that previously only lists of element IDs now accept tags.
- Those entries now accept
[id, ...],id(shortcut for[id]), and#tag. - Changed fields are:
feature.glow_lichenconfiguration:can_be_placed_onfeature.spring_featureconfiguration:valid_blocksfeature.simple_random_selectorconfiguration:featuresblock_predicate_type.matching_blocks:blocksblock_predicate_type.matching_fluids:fluidsbiome: inner list infeatures, map value incarversbiome_source.checkerboard:biomes
- Those entries now accept
- Some tag fields now require id to be prepended with
#, however they are not yet accepting element list:dimension_type:infiniburnfeature.geodeconfiguration:blocks.cannot_replace,blocks.invalid_blocksfeature.vegetation_patch,feature.waterlogged_vegetation_patchconfiguration:replaceablefeature.root_systemconfiguration:root_replaceablestructure_processor.protected_blocks:value
- 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
tag:concentric_ringsfor strongholds andtag:random_spreadfor non-stronghold structures.
- A seed of the number zero is no longer handled as a special case.
- Any spaces before/after an inputted seed are trimmed.
- "Redstone Ready" preset's top layer of blocks has increased to height Y=55 instead of Y=-9 in order to prevent Minecraft:slimes from spawning.
- Changed the "Water World" preset, by replacing Minecraft:sand with Minecraft:gravel, and adding additional 64 layers of Minecraft:deepslate above the Minecraft:bedrock layer, in order to fix the Minecraft:ocean monument generation issue in worlds using this preset.
Command format
- Now uses a namespaced ID parameter.
- Now support Minecraft:tags, using Template:Cd 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 Template:Cmd or Template:Cmd.
- The old usage for structure categories is now done via tags.
- For instance, Template:Cmd is now Template:Cmd.
- Now support tags, using Template:Cd prefix to distinguish from normal IDs.
- For instance, it is now possibile to use Template:Cmd.
General
- Increased data pack version from
8to9. - 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 Template:Cd field in location predicates now references a configured feature.
- The Template:Cd loot table function Template:Cd field is now a configured feature tag id.
- The Template:Cd 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 Template:Cd (and lost a couple of flags), see Template:Samp folder in the worldgen report.
- Noise router wires data-driven parts of the cave generation with the rest of the code.
- 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 Template:Cd.
- Template:Cd are the same with data from the former "Multinoise" row.
- Template:Cd is the same with data from the former "Terrain" row.
- Template:Cd are the depth, initial density without jaggedness, and final density value used for terrain generation.
Logging
- Upgrades log4j to 2.17.0.
- Minecraft:Powder snow is no longer part of the Template:Code block tag.
- Minecraft:Snow blocks and powder snow are now part of the Template:Code block tag.
- Removed Minecraft:dirt from the Template:Cd block tag.
- Removed Template:Cd, and added Template:Cd block tags to the Template:Cd block tag.
- A warning message now appears on computers with a 32-bit operating system (or a 32-bit Java runtime on a 64-bit operating system), warning the player that their configuration may prevent them from playing a future version.
- Support for 32-bit operating systems was eventually dropped in 1.20.5.
Fixes
Videos
References
Notes
Template:Navbox Java Edition versions
Minecraft:de:1.18.2 Minecraft:es:Java Edition 1.18.2 Minecraft:fr:Édition Java 1.18.2 Minecraft:ja:Java Edition 1.18.2 Minecraft:pl:Java Edition 1.18.2 Minecraft:pt:Edição Java 1.18.2 Minecraft:ru:1.18.2 (Java Edition) Minecraft:zh:Java版1.18.2