{{Infobox version
| edition = bedrock
| type = Preview
| internal = '''Windows, Xbox''': 1.21.2021.0<br>'''ChromeOS, Android, iOS, iPadOS''': 1.21.20.21
| image = Bedrock 1.21.20.21 PatchNotes.jpeg
| image2 = Bedrock 1.21.20.21.png
| image3 = Bedrock 1.21.20.21 (Missing Realms Button lol).png
| build = 25764113
| editorver = 0.6.7
| versioncode = '''Android''':<br />
952102021 (armeabi-v7a, 34)<br />
962102021 (x86, 34)<br />
972102021 (arm64-v8a, 34)<br />
982102021 (x86_64, 34)<br />
| date = June 27, 2024
| server = 1.21.20.21
| serverdl = '''Server'''<br>[https://minecraft.azureedge.net/bin-win-preview/bedrock-server-1.21.20.21.zip Windows]<br>[https://minecraft.azureedge.net/bin-linux-preview/bedrock-server-1.21.20.21.zip Linux]
| parent = 1.21.20
| prevparent = 1.21.3
| prev = Preview 1.21.10.24
| next = Preview 1.21.20.22
| nextparent = 1.21.21
}}<onlyinclude>
'''Beta 1.21.20.21''' (ChromeOS, Android) or '''Preview 1.21.20.21''' (Windows, iOS, iPadOS, Xbox, PlayStation) is the sixth beta/''Preview'' version for [[Bedrock Edition 1.21.20]], released on June 27, 2024,<ref>{{cite|url=https://feedback.minecraft.net/hc/en-us/articles/27935763028237|title=Minecraft Beta & Preview - 1.21.20.21|website=Minecraft Feedback|date=June 27, 2024}}</ref> which fixes bugs.

== Changes ==
=== Blocks ===
;[[Crafter]]
*Its craft and fail sounds now have a random pitch offset.
*Its fail sound now has a max distance of 3 blocks instead of 5.

;[[Copper Bulb]]
*Its break, place and hit sounds are now pitched differently.

;[[Copper Grate]]
*Its break, place and hit sounds are now pitched differently.
*Its step sounds play at a lower volume.

;[[Copper Door]]
*Its "open" sound is now pitched differently.

; [[Dandelion]]
* The ID has been changed from <code>yellow_flower</code> to <code>dandelion</code>.

; [[Light Block]]
* The different [[block states]] for the <code>light_block</code> ID have now been split up into their own IDs.
{|class="mw-collapsible mw-collapsed wikitable"
! [[Bedrock Edition data values|Old ID]]
! [[Bedrock Edition data values|New ID]]
|-
| rowspan="16" | {{BlockSprite|light-block}} <code>light_block</code>
| {{BlockSprite|light-block-0}} <code>light_block_0</code>
|-
| {{BlockSprite|light-block-1}} <code>light_block_1</code>
|-
| {{BlockSprite|light-block-2}} <code>light_block_2</code>
|-
| {{BlockSprite|light-block-3}} <code>light_block_3</code>
|-
| {{BlockSprite|light-block-4}} <code>light_block_4</code>
|-
| {{BlockSprite|light-block-5}} <code>light_block_5</code>
|-
| {{BlockSprite|light-block-6}} <code>light_block_6</code>
|-
| {{BlockSprite|light-block-7}} <code>light_block_7</code>
|-
| {{BlockSprite|light-block-8}} <code>light_block_8</code>
|-
| {{BlockSprite|light-block-9}} <code>light_block_9</code>
|-
| {{BlockSprite|light-block-10}} <code>light_block_10</code>
|-
| {{BlockSprite|light-block-11}} <code>light_block_11</code>
|-
| {{BlockSprite|light-block-12}} <code>light_block_12</code>
|-
| {{BlockSprite|light-block-13}} <code>light_block_13</code>
|-
| {{BlockSprite|light-block-14}} <code>light_block_14</code>
|-
| {{BlockSprite|light-block-15}} <code>light_block_15</code>
|}

;[[Mushroom Block]]s
*The chance of dropping [[mushroom]]s (max of 2) from brown and red mushroom block was increased to match {{el|je}}, from 10% per mushroom to 11.11%.

;[[Mushroom Stem]]
*No longer drops mushrooms when mined.

; [[Sandstone]]s
* The different [[block states]] for the <code>sandstone</code> ID have now been split up into their own IDs.
{|class="mw-collapsible mw-collapsed wikitable"
! [[Bedrock Edition data values|Old ID]]
! [[Bedrock Edition data values|New ID]]
|-
| rowspan="4" | {{BlockSprite|sandstone}} <code>sandstone</code>
| {{BlockSprite|sandstone}} <code>sandstone</code>
|-
| {{BlockSprite|chiseled-sandstone}} <code>chiseled_sandstone</code>
|-
| {{BlockSprite|cut-sandstone}} <code>cut_sandstone</code>
|-
| {{BlockSprite|smooth-sandstone}} <code>smooth_sandstone</code>
|}

;[[Smooth Sandstone]]
* It now has a hardness of 2 and a blast resistance of 6.

;[[Structure Block]]
*From versions 1.21.20, the player ID given to tamed mobs loaded from a structure block will always be the original owner's ID.

;[[Trial Spawner]]
*Its break and place sounds are now pitched differently.

;[[Tuff]], [[Tuff Bricks]], and [[Polished Tuff]]
*Break, place and hit sounds now pitch differently for them.

;[[Vault]]
*Its break and place sounds are now pitched differently.

=== General ===
;[[Realms]] tab
* Added a brand-new Realms tab with new sections:
** List of Realms: Easily view all the Realms you own or have joined.
** Start Playing: Launch your Realm directly from this screen.
** Online Player Count: See how many players are currently online in each Realm.
** Realm Management: Take control of your owned Realms by editing worlds and managing subscriptions.
** Add or Join Realms: Explore new Realms by adding or joining them.
** Realm Stories: View Realm stories.

;[[Bed]] Screen
*Enabled the new version of the Bed Screen. The user can opt-in or opt-out using a feature toggle under Settings-Video Tab. (''Preview'' only)

=== Technical ===
;AI Goals
*Exposed {{cd|minecraft:behavior.swim_up_for_breath}} AI goal component which allows a mob to try to move to a location where it can breathe air once it is close to running out of its breathable supply. 
** In Vanilla, this is used by the Dolphin. Any custom content built off of the Vanilla dolphin at or above version 1.21.20 will need to manually add this component to enable this AI behavior.

;[[API]]
*{{cd|EntityLeashableComponent}}
**Moved class {{cd|EntityLeashableComponent}} from {{cd|beta}} to {{cd|1.13.0}}.

;General
*Updated schema documentation for Filter Groups.

;Graphical
*2 Channel textures in resource packs are now properly supported. When loaded they will always use the first channel to represent all three color channels and the second channel for alpha (I.E A normal texture would be (R, G, B, A) where a 2 channel texture will always be treated as (R, R, R, A)).

== Experimental ==
These additions and changes are accessible by enabling the "Beta APIs" experimental toggle.
=== Changes ===
==== Technical ====
;[[API]]
*{{cd|EntityBreathableComponent}}
**Changed function {{cd|setAirSupply(value: number): void}} to property {{cd|airSupply: number}} in {{cd|beta}}.
**Added property {{cd|readonly}} {{cd|canBreathe: boolean}} to {{cd|beta}}.
*Added {{cd|isHardcore}} to {{cd|1.14.0}} {{cd|beta}}.

;[[Blocks]]
*Added {{cd|item_display_transforms}} control to the block geometry file. This controls the way a block is visually represented in the UI, on the player, and floating on the ground. It exists inside {{cd|minecraft:geometry}}, and requires {{cd|format_version}} {{cd|1.21.20}}.
**Default values example:
<pre>"item_display_transforms": {
"gui" : {
                "translation": [0, 0, 0],
                "rotation": [30, 225, 0],
                "scale": [0.625, 0.625, 0.625]
  },
  "firstperson_righthand": {
                "translation": [0, 0, 0],
                "rotation": [0, 45, 0],
                "scale": [0.4, 0.4, 0.4]
  },
  "firstperson_lefthand": {
    "translation": [0, 0, 0],
    "rotation": [0, -135, 0],
    "scale": [0.4, 0.4, 0.4]
  },
  "thirdperson_righthand": {
    "translation": [0, 2.5, 0],
    "rotation": [75, 45, 0],
    "scale": [0.375, 0.375, 0.375]
  },
  "thirdperson_lefthand": {
    "translation": [0, 2.5, 0],
    "rotation": [75, 45, 0],
    "scale": [0.375, 0.375, 0.375]
  },
  "ground": {
    "translation": [0, 3.0, 0],
    "rotation": [0, 0, 0],
    "scale": [0.25, 0.25, 0.25]
  },
  "fixed": {
    "translation": [0, 0, 0],
    "rotation": [0, 0, 0],
    "scale": [0.5, 0.5, 0.5]
  },
  "head": {
    "translation": [0, 0, 0],
    "rotation": [0, 0, 0],
    "scale": [1, 1, 1]
  }
}</pre>

;Graphical
*The extension {{cd|EXT_texture_cube_map_array}} is now required to run Deferred Technical Preview on Android devices that support GLES 3.1. Some devices will lose support, however most devices should be unaffected.

== Fixes ==
{{fixes|project=MCPE|fixedin=1.21.20.21 Preview
|;old
|69281|Crafting quartz bricks only gives 1 block back instead of 4.
|71123|Incorrect normal drops from mushroom stems, incorrect normal and Silk Touch drops from mushroom pores.
|95523|Zoglins missing sounds.
|98458|Parity: Pufferfish still gives you Nausea II instead of Nausea I.
|114688|Bees do not take damage upon contact with water.
|136077|Waxed oxidized cut copper only gives 1 slab in a stonecutter.
|142173|Turtle helmet effect icon/timer flickering.
|149183|Spawn tamed animals using structure block but you can't interact with them.
|169933|Relic, Otherside, 5, Creator, Creator (Music Box), and Precipice Music Discs are not controlled by the right sliders.
|174200|Custom sky textures are ignored when deferred lighting is enabled.
|178373|Leaving a world with deferred rendering enabled won't render blocks in thumbnail.
|178607|Block transformation component sometimes treats schematic as unit cube.
|179894|Skull charge, flow and guster banner patterns are not mirrored on the backside.
|180344|Game forces players to download resource packs.
|182278|Parity: Lush Caves missing Echo in the Wind music track.
|182290|Flattened monster eggs/infested stones do not have "stone" sound assigned.
|182604|Quartz slab uses smooth quartz texture on the bottom.
|182630|Mobs spawned by ominous trials do not drop picked up gear on death.
|182758|Trial Spawners give no loot upon completion in older worlds.
|otherissuescount=15}}
;Other
*Texture overrides that intended to target all block variants no longer only override the default variant.
*Area Effect Clouds no longer shrink when entered by entities immune to the effect.
*Fixed a recipe bug where {{cd|chiseled_sandstone}} and {{cd|cut_sandstone}} sandstone variants could be used in a furnace to craft {{cd|smooth_sandstone}}. It can now only accept normal {{cd|sandstone}} and no other types of sandstone.
*Fixed Vanilla recipes involving {{cd|red_sandstone_slab}} as an ingredient or result item, they would incorrectly use {{cd|red_sandstone}} instead:
**{{cd|red_sandstone_slab}} can now be crafted again with 3 horizontal {{cd|red_sandstone:0}}.
**{{cd|red_sandstone_slab}} can now be crafted again with 3 horizontal {{cd|red_sandstone:1}}.
**{{cd|red_sandstone:1}} can now be crafted again with 2 vertical {{cd|red_sandstone_slab}}.
*Fixed a bug where the Breeze could get stuck in one place when beneath a roof of blocks while attacking.
*Wind Charges thrown by Players no longer have a chance of dealing more than 1 damage per hit.
*Jumping no longer overrides any previous greater upward velocity, and therefore doesn't cancel momentum from a Wind Burst explosion when both happen at the same time.
*Using Trident with Riptide enchantment now correctly cancels fall damage reduction from Wind Charge.
*Fixed a bug where the fall damage protection from a Wind Charge incorrectly prevented fall damage when landing a second time.
*Players are no longer kicked from the Realm if the owner enters and exits the Realms Settings screen without modifying packs while multiple Add-Ons are applied.
*Navigating away from the Realms Stories Story Feed tab upon reading the first page of stories will remove the unread stories badge as the user has seen the most recent posts.
*Fixed a bug where brand new Realm Events wouldn't display properly the first time the Story Feed is opened.
*Fixed a bug that locks players on an infinite loop after cancelling the process of joining a recently claimed Preview Realm.
*Fixed bug where culling rules for data driven blocks did not rotate with the transformation component.
*Fixed a bug where certain objects from the world would be visible through the gamma calibration menu in the Deferred Technical Preview.</onlyinclude>

== References ==
{{reflist}}

== Navigation ==
{{Navbox Bedrock Edition versions|1.2x}}

[[Category:Bedrock Edition 1.21.20 betas]]
[[Category:Betas released in 2024]]

[[de:Bedrock Edition beta 1.21.20.21]]
[[pt:Edição Bedrock Preview 1.21.20.21]]
[[uk:Preview 1.21.20.21 (Bedrock Edition)]]
[[zh:基岩版1.21.20.21]]
