Java Edition 1.20.2

1.20.2 is an upcoming minor update to, with no set release date which adds 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 damaged while 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.