Datapack Codex

Bedrock Edition Preview 26.40.20

Minecraft Wiki article. Categories: Bedrock_Edition_versions, Bedrock_Edition_26.40_previews, Bedrock_Edition_26.40_betas, Bedrock_Edition_previews_released_in_2026, Bedrock_Edition_betas_released_in_2026, Bedrock_Edition_previews, Bedrock_Edition_betas

📌 Mirrored from Minecraft Wiki

This article is reproduced from Bedrock Edition Preview 26.40.20 on the Minecraft Wiki. Mirrored from revision 3710962. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.

Preview 26.40.20
Bedrock 26.40.20.png: Infobox image for Minecraft version 'Preview 26.40.20'

Beta 26.40.20 (ChromeOS, Android) or Preview 26.40.20 (Windows, iOS, iPadOS, Xbox, PlayStation) is the first beta/Preview for Bedrock Edition 26.40, released on May 31, 2026, for iOS and iPadOS, and on June 2, 2026, for all remaining devices,[1] which fixes bugs.

Changes

Blocks

Potent sulfur

  • Geysers can now erupt through flowing liquids.
  • Potent sulfur is located after sulfur instead of polished sulfur in the Creative inventory.

Sulfur spike

  • Sulfur spikes now have their own dedicated block sounds and events.

Items

Music disc Bounce

  • The "Bounce" music disc can now be found in abandoned mineshafts when the "Villager Trade Rebalancing" experiment is enabled.

Mobs

Chicken

  • Updated hurt and death sounds for one of the chicken sound variants.

Sulfur cube

  • No longer push each other when placed on adjacent blocks.
  • No longer absorbs a block in the player's hand from further distance than 8 blocks.
  • Sulfur cubes with a block absorbed can no longer freeze.

Turtle

General

Accessibility

  • Text field now narrates its content when editing is stopped via keyboard or gamepad.

Realms

  • Realm tags are now on the left side of the information screen.
  • Various adjustments to the Realms Hub Community tab components.
  • When the client is outdated, all Realms Hub features will now be loaded while the player is unable to join.
  • Shrinked focus size of side menu in story comments and report screens to fit the content.
  • Added an icon for the Admin log tab.

Settings

  • Removed the Realms subscriptions from the subscriptions tab.

UI

  • Player names will now show as blue when in a party.
  • Added toast notification when Character Creator fails to initalize on Realm join.
  • Main menu music will now start after the initial loading screen to prevent stuttering.
  • Added a specific error message when adding or editing an external server with an address and port that already exists.
  • The Marketplace Pass accordion is now hidden when the player is in any beta, as well as the "Get More" button on PlayStation, iOS, and Nintendo Switch [sic].

Technical

AI Goals

  • Made schemas for the following goals stricter when parsing and will fail to load an entity json that has invalid data in versions 1.26.40 and newer:
    • minecraft:behavior.beg
      • Int Range field look_time now only accepts an object with min and max values. Other formats will fail to parse.
    • minecraft:behavior.charge_held_item
    • minecraft:behavior.drink_potion
    • minecraft:behavior.eat_block
    • minecraft:behavior.float_wander
    • minecraft:behavior.knockback_roar
    • minecraft:behavior.leap_at_target
      • Float Range field float_duration now only accepts an object with min and max values. Other formats will fail to parse.
    • minecraft:behavior.nap
    • minecraft:behavior.move_to_block
    • minecraft:behavior.ranged_attack
    • minecraft:behavior.silverfish_merge_with_stone
    • minecraft:behavior.silverfish_wake_up_friends
    • minecraft:behavior.snacking
    • minecraft:behavior.squid_dive
    • minecraft:behavior.squid_flee
    • minecraft:behavior.squid_idle
    • minecraft:behavior.squid_move_away_from_ground
    • minecraft:behavior.squid_out_of_water
    • minecraft:behavior.stalk_and_pounce_on_target
    • minecraft:behavior.summon_entity
  • Actor goal minecraft:behavior.ranged_attack takes a float range for attack_interval instead of attack_interval_min and attack_interval_max for versions 1.26.40 and newer.

API

  • Released @minecraft/server version 2.9.0.
  • Added @minecraft/server version 2.10.0-beta.
  • Moved nameplateDepthTested and nameplateRenderDistance from beta to V2.8.0.
  • Moved SoundInstance class from beta to V1.2.0.
  • Moved SoundInstance.stop from beta to V2.9.0.
  • Moved Player.playSound returning a SoundInstance from beta to V1.2.0.
  • Moved Dimension.playSound returning a SoundInstance from beta to V1.11.0.
  • Dimension:
    • Significantly improved block search speed when using BlockVolume for fillBlocks API.

Blocks

  • Added shelf as an item_display_transforms offsets value inside geo.json.
    • This is to give the offsets when placed inside a shelf.
    • Pre 1.26.40 blocks with a fixed value will have that value copied to shelf.
    • New 1.26.40 blocks will be able to define fixed for item frames and self for shelves.

Entity components

  • Added a new require_collision_overlap boolean field to minecraft:pushable_by_entity's presets:
    • Determines whether the collision boxes of two entities must overlap for pushing to occur.
    • For format versions 1.26.40 and higher, this field defaults to true.
    • For format versions below 1.26.40, this field defaults to false.

Item components

  • Item component minecraft:wearable setting slot field to slot.armor.body will not cause assert.

Items

  • Items declared with a format_version of 1.26.30 or higher now require at least one entry under minecraft:item.components. Previously such items would silently fall back to legacy item parsing; they now fail to register with a content error.
  • Custom item definitions in resource packs now reliably override their Vanilla counterparts:
    • A custom definition using an older format_version will now be applied on top of a Vanilla item that ships with format_version 1.16+ (previously the custom data was silently dropped). In Vanilla this only affects minecraft:apple and minecraft:breeze_rod.

Experimental

These additions and changes are accessible by enabling the "Beta APIs", "Upcoming Creator Features", "Experimental Voxel Shape Features", and "Render Dragon Features for Creators" experimental toggles.

Changes

Technical

API

  • Added a new loot function CarryOverBlockEntityDataFunction with a single boolean field dynamic_properties behind beta.
  • Added ItemBlockDynamicPropertiesComponent item component behind beta.
    • It may be retrieved on an item that resulted from a carry_over_block_entity_data loot function.
    • It has two methods, get and totalByteCount which work like their block component counterparts.
  • Added EntityStartSneakingAfterEvent and EntityStartSneakingAfterEventSignal to beta.
  • Added EntityStopSneakingAfterEvent and EntityStopSneakingAfterEventSignal to beta.
  • Added clear() to AllowList in @minecraft/server-admin in beta.
  • Added setVolume, setPitch, fade, and seekTo methods to SoundInstance in beta.
  • Added loopCount option to PlayerSoundOptions and WorldSoundOptions in beta.
  • Infinitely-looping sounds (loopCount: -1) stop automatically when the last SoundInstance reference is dropped; retain the handle to keep the sound playing.
  • Added enum CameraShakeType to beta.
  • Added interface CameraShakeOptions to beta.
  • Added function Camera.addShake to beta.
  • Added function Camera.stopShaking to beta.
  • Added class EntityTamedAfterEvent to beta.
  • Added class EntityTamedAfterEventSignal to beta.
  • Added interface EntityTamedEventFilter to beta.
  • Added property WorldAfterEvents.entityTamed to beta.
  • Added interface BlockQueryOptions to beta.
  • Changed Dimension.getBlocks in beta to accept BlockQueryOptions instead of BlockFilter which adds support for closest, farthest, and location options.
  • SoundInstance in beta now exposes a soundEventId property that reports the sound event the instance was started with.
  • SoundInstance in beta now exposes a recipient property that returns the Player the sound was played for, or undefined for broadcast sounds.
  • SoundInstance in beta now exposes a durationInfo property that returns a SoundDurationInfo when the underlying sound definition includes duration information, otherwise undefined.
  • Added SoundDurationInfo in beta with a duration property, an isActive property, and a getPlaybackPosition() getter that returns the elapsed playback time in seconds.
  • SoundInstance now exposes an id property that returns a unique identifier for the instance.
  • WorldAfterEvents in beta now exposes a soundCompleted signal with a soundInstanceId property that matches the id of the SoundInstance that completed that fires when a tracked sound's declared duration elapses.
  • Added API for minecraft:instrument_sound component.
    • It has a getInstrumentName function to get the assigned instrument given a valid facing direction.
    • It has a playInstrumentSound function to play the instrument sound assinged to a given valid facing direction.
    • The component can be obtained from any block; if a block does not have the component explicitly defined, then a component with the default sounds will be returned.

Blocks

  • When applying a minecraft:sixteen_way_rotation value via console command, autocomplete suggestions will now correctly show numbers 0-15. Sixteen-way placement direction block trait now applies its rotation with the same orientation as existing Cardinal Direction and Facing Direction traits.
  • Added some trait restrictions for blocks with the minecraft:multi_block trait:
    • Cannot also define the minecraft:connection trait.
    • Cannot also define the minecraft:placement_position trait.
    • If the minecraft:placement_direction is defined, only the minecraft:cardinal_direction state is allowed to be enabled.
    • The component minecraft:geometry cannot define n_way_visual_rotation for multi-blocks.
    • Cannot also define the minecraft:block_entity component.

DDUI

  • Fixed the default behavior for close button bellow DDUI custom forms.
    • Default visibility value is false.

Graphical

  • Updated point lights to use a shadow atlas, improving performance and update rate while making them look similar as before.

Items

  • Added a new loot function carry_over_block_entity_data with a single boolean field dynamic_properties defaulted to false.
    • When looting a block with a block-entity and dynamic-properties, it will try to carry its dynamic-properties over to the created item-stack.
    • Requires "Upcoming Creator Features Experiment".

Sounds

  • Added a new minecraft:server_sound_definitions payload to sounds/sound_definitions.json that lets behavior packs declare server-side sound definitions for sounds played from script.
  • Warning: Currently, this causes the game to freeze and close, making it unusable.
    • Each definition can include an optional duration_info with a seconds length and a mode that controls how playback time is tracked.
    • A mode of game_time means the duration is tracked by ticks.
    • A mode of real_time means the duration is tracked by wall-clock time.

Voxel Shapes

  • Added occlusion voxel shapes for one-arm, two-arm, three-arm, four-arm, and full-arm wall connections. These shapes will be applied to all Wall variations when the Voxel Shapes experiment is enabled.
    • These shapes improve face culling so that hidden faces of custom blocks are correctly removed when attached to different Wall geometries: single posts, wall runs, corners, T-junctions, intersections, and wall clusters.

Fixes

36 issues fixed

From released versions before 26.40

  • MCPE-31166 – Playing music discs does not stop background music.
  • MCPE-185730 – Unflattened enchanted golden apple ID is used for rarity in vanilla resources, causing issues changing rarity with flattened ID.
  • MCPE-189683 – Decorated Pot Ghost Block.
  • MCPE-216837 – Parity: minecart entity separation no longer works since 1.21.0.
  • MCPE-221546 – Vibrant Visuals: It takes a long time for water reflections to be rendered correctly after using "/time set midnight".
  • MCPE-234423 – Simultaneously uncrouching and opening a block GUI places a ghost block.
  • MCPE-237155 – Anti-Aliasing resets to 1 when launching the game in fullscreen mode.
  • MCPE-237517 – MER not applied to all model types for custom blocks with component driven rendering.
  • MCPE-237752 – Sulfur cube loses gravity when hit by a mace with Wind Burst and Density enchantments.
  • MCPE-238051 – The skybox in custom dimensions is messed up.
  • MCPE-238162 – Sulfur cube buckets containing named sulfur cubes with blocks don't show the block tooltip.
  • MCPE-238265 – Getting hurt by sweet berry bush does not produce subtitles.
  • MCPE-238275 – Sulfur cubes in buckets preserve momentum and other unwanted data.
  • MCPE-238293 – End crystal beam texture displays incorrectly when respawning or healing the ender dragon.
  • MCPE-238317 – Enchantment glint animation freezes when Texture Streaming is enabled.
  • MCPE-238380 – Texture Streaming causes high resolution textures to appear pixelated in inventory.
  • MCPE-238382 – "Grow" tooltip appears when looking at sea pickles while holding bone meal, even if the bone meal cannot be used.
  • MCPE-238393 – Guardian, elder guardian, and End crystal beams render incorrectly when Texture Streaming is enabled.
  • MCPE-238660 – Sulfur cave water fog green shade still does not match Java.
  • MCPE-238747 – Zombie Nautilus swim subtitle appears as placeholder string.
  • MCPE-238790 – Particles with format version >= 1.20.80 give erroneous content log errors when using a texture file not in the "textures" folder.
  • MCPE-238935 – In the new storage settings screen, there's no option for file storage location.
  • MCPE-239103 – Duplicating cloud-synced worlds may trigger false "Cloud storage is full / almost full" warning.

Other

  • Fixed text field narration restarting label and description on every keypress.
  • Fixed a rare crash that could occur when relaunching the game near an End gateway beam after changing graphics mode.
  • Fixed the spacing in the Realms Hub Side.
  • Fixed an issue in Realms hub admin logs where gamertags of players who are no longer members of the Realm were delayed on loading.
  • Fixed shulker hurt sounds not playing due to mismatched audio file names.
  • Fixed pillager celebrate sound not playing due to a typo in the sound definition (elebrate3 → celebrate3).
  • Fixed normal, aggressive, and worried panda idle sounds referencing non-existent audio files, which could cause missing audio.
  • Fixed a memory leak in the Character Creator that could cause crashes after extended use on memory-constrained platforms.
  • Fixed missing localized text for the Follow Me, Over There, Simple Clap, and Wave emotes.
  • Fixed a bug that caused the New Settings Screen to display a deprecated warning modal when enabling text-to-speech while an unsupported language is selected.
  • Fixed invulnerable timer bypass when changing before hurt event damage below source amount.
  • Fixed the minecraft:shooter component not being able to shoot if no ammunition was defined.
  • Fixed PlayerStartBreakingBlock and PlayerCancelBreakingBlock from firing when a block cannot be broken using an item in Creative.

References

  1. ↑ "Minecraft Beta & Preview - 26.40.20" – Minecraft Feedback, June 2, 2026.

Sources