Java Edition 22w18a

22w18a is the ninth snapshot for Java Edition 1.19, released on May 4, 2022, which adds the command, makes tweaks to allays, and fixes bugs.

Command format

 * A new command which replaces and can place features, jigsaws and structures at a given location, with following syntaxes:
 * Works like the removed.
 * Works as hitting the "generate" button inside the user interface of a jigsaw block: it generates a jigsaw structure starting in a certain template pool at a given jigsaw anchor, then does a given number of levels of expansion from there.
 * Works by placing an entire structure just like it is done in world generarion.
 * : The namespaced ID of a feature to try to place.
 * : The namespaced ID of a structure to try to generate.
 * : The namespaced ID of a template pool to start generating.
 * : The namespaced ID name of a jigsaw to use as the starting anchor.
 * : The maximum number of jigsaw connections to traverse during placement.
 * : The position to use as the origin for the generation. (if omitted, is used)
 * : The namespaced ID of a template pool to start generating.
 * : The namespaced ID name of a jigsaw to use as the starting anchor.
 * : The maximum number of jigsaw connections to traverse during placement.
 * : The position to use as the origin for the generation. (if omitted, is used)

General

 * Loot table
 * Added loot table function, to sets item tags needed for instrument items to a random value selected from a tag, with following parameter:
 * : a tag reference specifying the instrument options to randomly pick from.


 * Tags
 * Added following block tags:
 * Added following banner pattern tags (new type):
 * Defines banner patterns which can be made on loom and do not need a pattern item.
 * Added following instrument tags (new type):
 * Defines banner patterns which can be made on loom and do not need a pattern item.
 * Added following instrument tags (new type):
 * Added following instrument tags (new type):
 * Added following instrument tags (new type):
 * Added following instrument tags (new type):
 * Added following instrument tags (new type):
 * Added following instrument tags (new type):
 * Added following instrument tags (new type):
 * Added following instrument tags (new type):

Blocks

 * Sculk Catalyst
 * No longer spreads sculk upon death of mobs that do not drop experience (such as baby animals).

Mobs

 * Allay
 * Now follow their liked player even if they can't see them.
 * Now will only lose track of a player if they are more than 64 blocks away.

World generation

 * Ancient cities
 * Generation height has changed from Y=-51 to Y=-27.

Command format

 * Merged into the new command.
 * Merged into the new command.

Gameplay

 * Advancements
 * Changed the description for the "Sneak 100" advancement from "Sneak near a Sculk Sensor, Sculk Shrieker or Warden to prevent it from hearing you" to "Sneak near a Sculk Sensor or Warden to prevent it from detecting you".


 * Vibration
 * Vibration listeners such as sculk sensors, sculk shriekers and wardens now listen to the closest vibration instead of the first vibration in the tick.

General

 * Chat
 * Chat from the, , , and commands are now all also cryptographically signed.
 * Servers can now define different chat style formats for clients, which can now be controlled by the server through the registry (found under the worldgen folder in the vanilla report).
 * These are synchronized to clients when they join the server.
 * The translation key or translation format can be defined, like or.
 * Chat can be similarly optionally narrated with a custom translation key or format.
 * The entire message can have formatting applied, such as italics or a specific color (but currently not click or hover events).


 * Data pack
 * The built-in vanilla pack, the report generated by the game, and the vanilla world generation reference pack now store their object keys sorted alphabetically (with the exception of type fields and parent fields, which get listed first).
 * This makes diffing the files easier after changes, and avoids false positive changes from fields moving around.


 * Loot table
 * Removed loot table function.


 * Particles
 * Changed the texture of the sonic boom particle.


 * Tags
 * Removed game event from the  game event tag.


 * General
 * The bundled Java runtime has been upgraded to 17.0.3.

Video
Videos made by slicedlime: