Java Edition 23w31a

23w31a is the first snapshot for Java Edition 1.20.2, released on August 2, 2023, which adds the Villager Trade Rebalance experimental toggle and fixes bugs.

Command format

 * Syntax:  or
 * Syntax:  or

General

 * Attributes
 * Added the  attribute.
 * Acts similar to, but instead of being the upper bound for  , it is the upper bound for.


 * Experiments
 * Added "Villager Trade Rebalance" experimental toggle.


 * Tag
 * Added the  block tag.
 * Contains every concrete powder.
 * Added the  block tag.
 * Contains  and.
 * Added the  tag.
 * Contains entities that don't override their vehicles movement control.
 * Added the  tag.
 * Causes knockback to not be caused by the damage itself.
 * Used for damage that is caused by events, such as explosions, which apply knockback separately.

Blocks

 * Barrier
 * No longer produce fall particles when entities fall on them.
 * Now won't create particles when player brushes them.
 * Can now be waterlogged.


 * Chorus Flower
 * No longer provides support for hanging or standing blocks.


 * Decorated Pots
 * Now have creative mode tooltips.


 * Diamond Ore
 * Now generated more frequently in the Deepslate layers of the Overworld.


 * Sculk Sensor and Calibrated Sculk Sensor
 * Can now detect following events
 * Turtles clearing away sand
 * Camels standing up or sitting down
 * Camels dashing
 * Witch drinking a potion
 * Added the  game event.
 * It replaces  and


 * Smithing Table
 * Now in the custom recipes, the upgrade material can be sent to the GUI instantly with the shift+left click shortcut.

Mobs

 * Camels, Frogs, Goats and Sniffers
 * Now panic when got damage during attached to leads.


 * Villagers
 * The discount for curing a villager now isn't multiplied if the villager is reinfected and cured again.

Command Format

 * Can now replace items in jukeboxes.
 * Can now remove items in chiseled bookshelves.
 * Can now remove items in chiseled bookshelves.


 * Added  subcommand
 * Added  subcommand

Gameplay

 * Advancements
 * The "Smithing with Style" advancement now grant experience upon completion.

General

 * Data pack
 * The version is now.


 * Pack Metadata
 * Pack metadata now includes an optional field supported_formats which describes a range for pack formats that this pack supports
 * Examples:,  ,
 * field is still required and its format remains unchanged, to allow older game versions to read pack data
 * If  is present, it must contain the value declared in
 * Since this new information is ignored by older versions of the game, they will always see a "normal", single-version pack, without any extended compatibility.


 * Resource pack
 * The version is now.


 * server.properties
 * Added new log-ips option.


 * Other
 * History of used commands is now saved and accessible across worlds.
 * Optimized the way chunks are sent to clients to allow players with low-bandwidth internet connections to play on multiplayer servers.
 * Changed network protocol to allow for more data-driven content in the future.
 * New features have been added to datapacks and resource packs to allow creation of packs that are compatible with multiple versions of game.
 * Added validation for symbolic links in datapacks and resource packs.
 * When hitboxes are displayed through F3+B, entities that have a passenger will display the passenger's attachment point.

Experimental changes
These changes are accessible by enabling the "Villager Trade Rebalance" experimental toggle.

Gameplay

 * Villager
 * Librarians from different biomes now sell different Enchanted Books.
 * Each village biome has one special enchantment that is only available from Master Librarians with full XP, and players must visit all seven village biomes to get the full set of villager enchantments.
 * Jungle and swamp villages do not generate naturally. Players must breed these two secret biome villages that do not generate to access their trades.
 * Some enchantments have been removed from village trading and must be found in other ways.


 * Wandering Trader
 * Wandering Traders now have lower prices and have a higher amount of each item in stock.
 * Wandering Traders now sell the following items: 8 logs (any type), iron pickaxe (enchanted), Potion of Invisibility.
 * They will always have one of the new offers as a special trade.
 * Wandering Traders can now buy many items, instead of only selling: water bottle, water bucket, milk bucket, fermented spider eye, baked potato, hay bale.
 * They will always have two of these buying offers.

Video
Video made by slicedlime: