minecraft.wiki-mirror/wiki_backup/22w06a.txt
2024-12-24 06:17:34 -05:00

97 lines
5.2 KiB
Text

{{Infobox version
|title=Minecraft 22w06a
|image=22w06a.jpg
|image2=Java Edition 22w06a.png
|edition=Java
|type=Snapshot
|date=February 9, 2022
|jsonhash=3c6e119c0ff307accf31b596f9cd47ffa2ec6305
|clienthash=b863174b1147a6a9d9ab4922d9ced4eee19452ac
|clientmap=c0c33fbe60c9ba2f4a92bc831e52aadb46bb2651
|serverhash=60c757a63f21877f8b053904ac76d04ff3cb76ef
|servermap=e39e107d5387eb76fb1f68deb7a957e01be83369
|parent=1.18.2
|prevparent=1.18.1
|prev=22w05a
|next=22w07a
|nextparent=1.18.2
}}<onlyinclude>
'''22w06a''' is the third [[snapshot]] for [[Java Edition 1.18.2]], released on February 9, 2022,<ref>{{snap|22w06a|February 9, 2022}}</ref> which introduces compliance requirements for players in South Korea, added "Universal Tags", and fixes bugs.
== Additions ==
=== General ===
[[File:Regional compliancies notification 1 hour.png|thumb|Notification of playing greater than 1 hour.]]
[[File:Regional compliancies notification 1 day.png|thumb|Notification of playing greater than 24 hours.]]
; Compliance requirements
* Added gameplay timers and notices in compliance with gaming laws in South Korea, in order to help remind these players to take occasional breaks from gameplay.
; [[Resource pack]]s
* Added a JSON file related to the new compliance requirements, located at <samp>assets/[namespace]/regional_compliancies.json</samp>.
; [[Tag]]s
* 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 <samp>registries.json</samp>, for example:
*** Tags for potions: <samp>/data/[namespace]/tags/potion</samp>
*** Tags for biomes: <samp>/data/[namespace]/tags/worldgen/biome</samp>
** 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.
== Changes ==
=== World generation ===
; [[Custom world generation]]
* Some fields in worldgen structures that previously only lists of element IDs now accept tags.
** Those entries now accept <code>[id, ...]</code>, <code>id</code> (shortcut for <code>[id]</code>) and <code>#tag</code>.
** Changed fields are:
*** <code>feature.glow_lichen</code> configuration: <code>can_be_placed_on</code>
*** <code>feature.spring_feature</code> configuration: <code>valid_blocks</code>
*** <code>feature.simple_random_selector</code> configuration: <code>features</code>
*** <code>block_predicate_type.matching_blocks</code>: <code>blocks</code>
*** <code>block_predicate_type.matching_fluids</code>: <code>fluids</code>
*** <code>biome</code>: inner list in <code>features</code>, map value in <code>carvers</code>
*** <code>biome_source.checkerboard</code>: <code>biomes</code>
* Some tag fields now require id to be prepended with <code>#</code>, however they are not yet accepting element list:
** <code>dimension_type</code>: <code>infiniburn</code>
** <code>feature.geode</code> configuration: <code>blocks.cannot_replace</code>, <code>blocks.invalid_blocks</code>
** <code>feature.vegetation_patch</code>, <code>feature.waterlogged_vegetation_patch</code> configuration: <code>replaceable</code>
** <code>feature.root_system</code> configuration: <code>root_replaceable</code>
** <code>structure_processor.protected_blocks</code>: <code>value</code>
* 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 <code>tag</code>: <code>concentric_rings</code> for strongholds and <code>tag</code>: <code>random_spread</code> for non-stronghold structures.
; [[Superflat]]
* 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.
== Fixes ==
{{fixes|fixedin=22w06a
|;From released versions before 1.18
|105317|Structure blocks do not rotate entities correctly when loading.
|129652|Long names of backed up worlds are cut off in toasts.
|138717|{{cmd|locate}} command does not locate certain structures in Superflat.
|192361|{{cmd|locate stronghold}} does not locate stronghold in Superflat worlds despite them generating.
|232822|Various structures not generating in Superflat worlds.
|;From 1.18
|238696|Using {{cmd|locate stronghold}} or throwing an eye of ender in Superflat, will be able to find strongholds that do not actually exist.
|239708|Superflat world "Water World" preset settings are obsolete for the 1.18 update.
|;From 1.18.1
|245937|Flashing particles when boosting upwards with firework rockets.
|247871|{{code|Cannot invoke "com.mojang.datafixers.util.Either.left()" because "$$6" is null}}.
|248106|Parrot dying while using Riptide enchantment.
}}</onlyinclude>
== Video ==
{{Slicedlime|0HBYFTusfow}}
== References ==
{{Reflist}}
== Navigation ==
{{Navbox Java Edition versions|1.1x}}
[[de:22w06a]]
[[es:Java Edition 22w06a]]
[[fr:Édition Java 22w06a]]
[[ja:Java Edition 22w06a]]
[[ko:Java Edition 22w06a]]
[[pt:Edição Java 22w06a]]
[[ru:22w06a (Java Edition)]]
[[zh:22w06a]]