Bedrock Edition beta 1.20.20.21

Beta 1.20.20.21 (Android) or Preview 1.20.20.21 (Windows, iOS, iPadOS, Xbox) is the second beta/Preview version for Bedrock Edition 1.20.20, released on July 12, 2023, which brings more parity from and fixes bugs.

Command format

 * Game rule
 * Added, set to 100 by default.
 * Controls what percentage of players must sleep to skip the night.
 * When set to 0 or a negative value, a single player is sufficient to skip the night, and night is skipped immediately without the falling asleep transition.
 * When set over 100, the night cannot be skipped.

General

 * Options
 * Added "Recipes Unlock" setting on the game settings and the edit world settings, disabled by default.
 * For enable the recipe unlocking system and its features.
 * Added alerts for iOS and iPadOS users who have run out of disk space.

Technical

 * Add-on
 * Move PlacementDirection and PlacementPosition  block traits out of experimental. These traits can be used for blocks with.


 * JSON
 * Released the following components in JSON formats 1.20.20 and higher:
 * item component.
 * item component.
 * item component.
 * item component.
 * item component.
 * Added support for Efficiency enchantment for data driven items using the  component.

Blocks

 * Block Breaking
 * Changed the hardness and blast resistance of most blocks to match.


 * Stained Glass
 * The IDs of  have now been split up into their own IDs.


 * Stained Glass Pane
 * The IDs of  have now been split up into their own IDs.

Command format

 * Now is no longer behind the "Recipe Unlocking" experimental toggle.
 * Now is no longer behind the "Recipe Unlocking" experimental toggle.

Gameplay

 * Recipe book
 * The new recipe unlocking system and its features are no longer behind the "Recipe Unlocking" experimental toggle.
 * Now are behind the "Recipes Unlock" setting.
 * The recipe book search has been updated when playing in Survival, with the following changes:
 * The search will only match the beginning of any word in the item's name. For example, searching for "tor" will now show torch and redstone torch but not the daylight detector.
 * Recipes that haven't been unlocked will show up in search results.

General

 * Experiments
 * Removed the "Recipe Unlocking" experimental toggle.

Technical

 * Bedrock Editor
 * Fixed a bug where "Tool mode" UI failed to refresh upon executing the command.
 * Number input fields will now adjust valid number values to the closest limit if they fall outside of the defined range.
 * Fixed an issue where UI text was exceeding the boundaries of panes and containers, resulting in improper alignment and visual inconsistencies.
 * Selection volumes and gizmos can now be seen through blocks.


 * JSON
 * will now content error when invalid blocks are named in the  and   lists.
 * Removed  from   and replaced with version from.
 * Exposed  and   to script.
 * Removed the  component.
 * Removed the  component.
 * Extra damage hover text now appears on all component items that have an applied Sharpness enchantment.
 * The  component now supports the Quick Charge enchantment with   when   is true.
 * Remove nonfunctional entity slot options from  component, ie. saddle, entity armor, and chest.
 * Custom items with  component auto-equip when dropped from a dispenser, matching parity with vanilla armor items.

Experimental
These additions and changes are accessible by enabling the " Molang Features" and "Beta APIs" experimental toggles.

Technical

 * Molang
 * Renamed  and   to   and.


 * API
 * Moved  to.
 * Moved  to.
 * Moved  to.
 * Moved  to.
 * Moved  to.
 * Moved  to.
 * Moved  to.
 * Moved  to.
 * Moved  method to.
 * Moved  method to.
 * Moved  method to.
 * Moved  method to.
 * Moved  to.
 * Moved  to.
 * Moved  to.
 * Moved  to.
 * Moved  to.
 * Moved  to.
 * Moved  to.
 * Moved  to.
 * Made property  accessible even if entity is not valid.
 * Made property  accessible even if entity is not valid.
 * Changed item event  properties from type   to.


 * JSON
 * Added  and improved   to return the updated score.

Fixes

 * Others
 * Fixed an issue where players would disappear temporarily when joining a game for the first time.
 * Fixed crash in blocks JSON loading on iOS.
 * Fixed a crash that could occur when the game lost focus while entering a world.
 * Fixed an issue where screen narration would read recipe book folder items as the first item in the folder.
 * Fixed held map not being centered when playing on narrow aspect ratio screens.