{{Infobox version
| edition = bedrock
| type = Preview
| internal = '''Windows, Xbox''': 1.21.21.0<br>'''Android, iOS, iPadOS''': 1.21.0.21
| image = Bedrock 1.21.0.21 PatchNotes.jpeg
| image2 = Bedrock 1.21.0.21.png
| build = 23561338
| editorver = 0.6.0
| versioncode = '''Android''':<br />
952100021 (armeabi-v7a, 34)<br />
962100021 (x86, 34)<br />
972100021 (arm64-v8a, 34)<br />
982100021 (x86_64, 34)<br />
| date = April 10, 2024
| server = 1.21.0.21
| serverdl = '''Server'''<br>[https://minecraft.azureedge.net/bin-win-preview/bedrock-server-1.21.0.21.zip Windows]<br>[https://minecraft.azureedge.net/bin-linux-preview/bedrock-server-1.21.0.21.zip Linux]
| parent = 1.21.0
| prevparent = 1.20.80
| prev = Preview 1.21.0.20
| next = Preview 1.21.0.22
| nextparent = 1.21.1
}}<onlyinclude>
'''Beta 1.21.0.21''' (Android) or '''Preview 1.21.0.21''' (Windows, iOS, iPadOS, Xbox, PlayStation) is the second beta/''Preview'' version for [[Bedrock Edition 1.21.0]], released on April 10, 2024,<ref>{{cite|url=https://feedback.minecraft.net/hc/en-us/articles/25773976236557|title=Minecraft Beta & Preview - 1.21.0.21|website=Minecraft Feedback|date=April 10, 2024}}</ref><ref>{{Mcnet|minecraft-preview-1-21-0-21|Minecraft Preview 1.21.0.21|April 10, 2024|Jay Wells}}</ref> which adds new [[enchantment]]s for the [[mace]] and 5 new [[painting]]s under [[experimental gameplay]], and fixes bugs.

== Changes ==
=== Blocks ===
;[[Coral Block]] and [[Dead Coral Block]]
* The different [[block states]] for the <code>coral_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="12" | {{BlockSprite|coral-blocks}} <code>coral_block</code>
| {{BlockSprite|tube-coral-block}} <code>tube_coral_block</code>
|-
| {{BlockSprite|brain-coral-block}} <code>brain_coral_block</code>
|-
| {{BlockSprite|bubble-coral-block}} <code>bubble_coral_block</code>
|-
| {{BlockSprite|fire-coral-block}} <code>fire_coral_block</code>
|-
| {{BlockSprite|horn-coral-block}} <code>horn_coral_block</code>
|-
| {{BlockSprite|dead-tube-coral-block}} <code>dead_tube_coral_block</code>
|-
| {{BlockSprite|dead-brain-coral-block}} <code>dead_brain_coral_block</code>
|-
| {{BlockSprite|dead-bubble-coral-block}} <code>dead_bubble_coral_block</code>
|-
| {{BlockSprite|dead-fire-coral-block}} <code>dead_fire_coral_block</code>
|-
| {{BlockSprite|dead-horn-coral-block}} <code>dead_horn_coral_block</code>
|}

=== General ===
;[[Accessibility]] features
*Added text-to-speech support for member search results in the Realms Stories Member tab. (''Preview'' Only) 
*The [[Realms Stories]] Opt In screen now enumerates its active buttons with text-to-speech on. (''Preview'' Only)

;[[Controls]]
*Added slide-off persistence to new d-pad touch control scheme.
*Changes positioning and scale of default new touch d-pad control scheme. 
**Also allows for moving the dpad closer to the hotbar when customizing touch controls.

;[[Minecraft Education|Education edition]] toggle
*Chemistry items now appear in the [[Creative inventory]] when the Education edition toggle is on.

=== Technical ===
;[[API]]
*Moved {{cd|typeId}} and {{cd|Block.matches}} from {{cd|beta}} to {{cd|stable}}.
*{{cd|@minecraft/server.BlockType}}
**Moved {{cd|id}} API from {{cd|beta}} to {{cd|stable v1.11.0}}.
*{{cd|@minecraft/server.BlockTypes}}
**Moved {{cd|BlockTypes}} API from {{cd|beta}} to {{cd|stable v1.11.0}}.
**Moved {{cd|typeAPI}} from {{cd|beta}} to {{cd|stable v1.11.0}}.
*{{cd|@minecraft/server.Block}}
**Moved {{cd|type}} API from {{cd|beta}} to {{cd|stable v1.11.0}}.

;Blocks
*Updated block geometry to allow UV rotations.
**This allows to rotate the specified UV rect in 90 degree increments before applying it to a block face.
**Supported from {{cd|minecraft:geometry}} format version <code>1.21.0</code> and up. 
*Added pivot for scale in the Block Transformation Component.
*Added pivot for rotation in the Block Transformation Component.

== Experimental ==
These additions and changes are accessible by enabling the "Update 1.21" and "Beta APIs" experimental toggles.

=== Additions ===
==== Gameplay ====
;[[Effect]]s
*Added [[Raid Omen]].
**Instead of triggering a Raid directly, Bad Omen will transform into a Raid Omen variant with a duration of 30 seconds.
**Once the Raid Omen expires, a Raid will start at the location the player gained the Raid Omen.
**Like any other effect, players can drink a [[Bucket of Milk]] to clear the Raid Omen to prevent the Raid from starting.
*Added activation sounds to [[Bad Omen]], [[Trial Omen]], and [[Raid Omen]].

;[[Enchantments]]
*The [[mace]] now has three brand new enchantments available for use:
**[[Wind Burst]] generates a burst of wind when successfully striking enemies, launching the wielder in the air.
**[[Density]] makes the already heavy mace even heavier, adding additional heft to its smash attack.
**[[Breach]] allows the mace to bypass a portion of an enemy's armor, striking fear into the hearts of even the most protected enemies.

==== Items ====
;[[Painting]]s
*Added five new paintings by the artist [[Sarah Boeving]]:
{| class="wikitable sortable"
! class="unsortable" scope="col"| Picture
! Name !! Size
|-
| style="text-align:center;" | [[File:Meditative (texture) JE1 BE1.png|16px]]
| ''Meditative''   || ''1x1''
|-
| style="text-align:center;" | [[File:Prairie Ride (texture) JE1 BE1.png|16px]]
| ''Prairie Ride'' || ''1x2''
|-
| style="text-align:center;" | [[File:Baroque (texture) JE1 BE1.png|32px]]
| ''Baroque''      || ''2x2''
|-
| style="text-align:center;" | [[File:Humble (texture) JE1 BE1.png|32px]]
| ''Humble''       || ''2x2''
|-
| style="text-align:center;" | [[File:Unpacked (texture) JE1 BE1.png|64px]]
| ''Unpacked''     || ''4x4''
|}

=== Changes ===
==== Blocks ====
;[[Ominous Trial Spawner]]
*Ominous Trial Spawners now show a preview of the item that is about to be dropped.

==== Items ====
;[[Mace]]
*Added a new explosive particle effect when executing a smash attack with the mace to really show the player's power when using it.

==== World generation ====
;[[Trial Chambers]]
*Trial Chambers are now more consistently buried by terrain when found underground.

==== Technical ====
;[[API]]
*API {{cd|get}} will now handle items whose names have changed so that scripts referencing old names will still work as intended.
*Added {{cd|ItemComponentUseOnEvent}} for {{cd|beta}}.
*Updated JavaScript engine:
**{{cd|BigInt}} support.
**{{cd|hasOwn}}.
**Array {{cd|findLast}} and {{cd|at}}.
**Miscellaneous bug fixes.

== Fixes ==
{{fixes|project=MCPE|fixedin=1.21.0.21 Preview
|;old
|174648|Unable to navigate to previously sent messages using keyboard arrow keys [on Xbox]
|179440|Moving block cause crash
|179689|With the new control UI, it is impossible to continuously move and down in water without switching where fingers are touching on the screen
|180142|Armadillos get stuck when constantly receiving damage from environment.
|;previous
|180287|Respawn button appears on the Hardcore mode death screen
|otherissuescount=4}}
; Others
*Fixed a crash that could occur when the player begins losing air.
*Fixed several instances of periods being narrated as "dot" on the Realms Stories "Opt In" screen. (''Preview'' only)
*Fixed some places in documentation generation where elements were accidentally overwritten. This caused a minor amount of documentation to appear or move in the Animations, Blocks, Entities, and Particles files.
*Fixed heightmap textures not rendering correctly in the Deferred Technical Preview.</onlyinclude>

== References ==
{{reflist}}

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

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

[[de:Bedrock Edition beta 1.21.0.21]]
[[es:Bedrock Edition Preview 1.21.0.21]]
[[fr:Édition Bedrock Preview 1.21.0.21]]
[[pt:Edição Bedrock Preview 1.21.0.21]]
[[ru:Preview 1.21.0.21 (Bedrock Edition)]]
[[uk:Preview 1.21.0.21 (Bedrock Edition)]]
[[zh:基岩版1.21.0.21]]
