Bedrock Edition Preview 1.21.40.20

Preview 1.21.40.20
Bedrock 1.21.40.20 PatchNotes.jpeg: Infobox image for Preview 1.21.40.20 the version in Minecraft
Bedrock 1.21.40.20.png: Infobox image for Preview 1.21.40.20 the version in Minecraft
Edition

Bedrock Edition

Release date

September 4, 2024

Server version

1.21.40.20

Editor version

0.7.1

Build version

27412328

Internal version

Windows, Xbox: 1.21.4020.0
Android, iOS, iPadOS: 1.21.40.20

Version code

Android:
952104020 (armeabi-v7a, 34)
962104020 (x86, 34)
972104020 (arm64-v8a, 34)
982104020 (x86_64, 34)

Type

Preview

Preview for

1.21.40

Downloads

Server
Windows
Linux

Protocol version

736

Beta 1.21.40.20 (ChromeOS, Android) or Preview 1.21.40.20 (Windows, iOS, iPadOS, Xbox, PlayStation) is the first beta/Preview version for Bedrock Edition 1.21.40, released on September 4, 2024,[1] which brings more parity with Java Edition, and fixes bugs.

Changes

Blocks

Mushroom Block

  • The all-sided pore mushroom block has been removed from the creative inventory.

Mushroom Stem

  • mushroom_stem is now its own block and is no longer a variant of red_mushroom_block and brown_mushroom_block.
  • Mushroom stems used on the composter have had their fill chance adjusted from 85% to 65%.

Heads

  • The different data values for the skull ID have been split up into their own IDs.
Old ID New ID
BlockSprite heads.png: Sprite image for heads in Minecraft skull BlockSprite skeleton-skull.png: Sprite image for skeleton-skull in Minecraft skeleton_skull
BlockSprite wither-skeleton-skull.png: Sprite image for wither-skeleton-skull in Minecraft wither_skeleton_skull
BlockSprite zombie-head.png: Sprite image for zombie-head in Minecraft zombie_head
BlockSprite player-head.png: Sprite image for player-head in Minecraft player_head
BlockSprite creeper-head.png: Sprite image for creeper-head in Minecraft creeper_head
BlockSprite dragon-head.png: Sprite image for dragon-head in Minecraft dragon_head
BlockSprite piglin-head.png: Sprite image for piglin-head in Minecraft piglin_head

Command format

/effect

  • Added infinite duration option to the command:
    • /effect <player: target> <effect: Effect> infinite [amplifier: int] [hideParticles: Boolean]
  • Added specific effect removal option to the command:
    • /effect <player: target> clear <effect: Effect>

General

Realms

  • Added a new Realm Event.

UI

  • Added a new message to explain when a Marketplace Template is not available on a specific platform.

Technical

API

  • BlockLiquidContainerComponents API (water, lava, potion, snow) has been replaced with BlockFluidContainerComponent.
  • Moved isHardcore from beta to 1.15.0.

Commands

  • Added new overloads for the /schedule command which allows you to clear a queued function:
    • /schedule clear <function name> - Clears all queued functions matching the given name.
    • /schedule on_area_loaded clear function <function name> - Clears all queued functions that are scheduled as on_area_load by name.
    • /schedule on_area_loaded clear tickingarea <tickingarea name> [function name] - Clears all queued functions that are scheduled as on_area_load by ticking area name (and optionally also checks function name too).

Components

  • The restriction_type field has been added to the minecraft:home component, allowing to define how an entity is restricted to its home position:
    • Its values are:
      • none, which poses no restriction.
      • random_movement, which restricts randomized movement around the home position.
      • all_movement, which restricts any kind of movement around the home position.
    • The all_movement value is currently in [Beta] and is planned to be fully released at a later date.
    • Entities that have moved too far from their home will always be able to move closer to it if prompted.
    • The radius of the restriction is still specified with restriction_radius.
    • Entities with a format version prior to 1.21.40 will be upgraded to use the new field in a way that preserves their existing behavior.
  • Added the minecraft:dimension_bound component, which prevents entities from changing dimension through portals.
    • In Vanilla content, this is used by the Ender Dragon, the fishing hook, and some projectiles.
  • Added the minecraft:transient component, entities with this component will never be saved. In Vanilla content, this is currently used for the fishing hook.

Entity Components

  • behavior.fire_at_target is no longer usable if it is missing a projectile definition and will now throw a content error if so.

Entity Event Responses

  • Added the execute_event_on_home_block entity event response, which allows the entity to execute an event on the block at its home position:
    • The event field allows to specify the event to execute.
    • For this to work properly, the entity must have a minecraft:home component with a set home position.

General

  • Made the following changes to minecraft:single_block_feature:
    • places_block now supports a list of weighted block specifiers.
    • New randomize_rotation property.
    • New may_not_attach_to placement conditions.
    • Added diagonal as a new option for may_attach_to conditions.
    • File format version increased to 1.21.40.

Molang

  • Molang queries wing_flap_position and wing_flap_speed now work for the chicken.

Resource and Behavior Packs

  • Built-in packs now include archive files for improved load performance on some platforms.

Stability and Performance

  • Increased the size of biome ids in saved chunk data from 8 bit to 16 bit values.

Technical blocks

  • Merged the separate and direct item form of the heads (item.skull).
    • This change is reverted in later versions (the direct item form of heads (item.skull) still exists).

Experimental

These additions and changes are accessible by enabling the "Beta APIs", "Bundles", and "Creator Cameras: New Third Person Presets" experimental toggles.

Changes

Items

Bundle

  • When a Bundle is used in the hotbar, one group of items is emptied at a time instead of everything being emptied at once.

Technical

API

  • Moved EntityBreathableComponent from beta to 1.15.0.
    • Moved breathesAir from beta to 1.15.0.
    • Moved breathesLava from beta to 1.15.0.
    • Moved breathesSolids from beta to 1.15.0.
    • Moved breathesWater from beta to 1.15.0.
    • Moved generatesBubbles from beta to 1.15.0.
    • Moved inhaleTime from beta to 1.15.0.
    • Moved suffocateTime from beta to 1.15.0.
    • Moved totalSupply from beta to 1.15.0.
    • Moved componentId from beta to 1.15.0.
    • Moved getBreatheBlocks() from beta to 1.15.0.
    • Moved getNonBreatheBlocks() from beta to 1.15.0.
  • Moved class BlockLocationIterator from beta to 1.15.0.
  • Moved class InvalidIteratorError from beta to 1.15.0.
  • Moved property BlockVolumeBase.getBlockLocationIterator from beta to 1.15.0.
  • Moved enum BlockVolumeIntersection from beta to 1.15.0.
  • Moved class BlockVolume from beta to 1.15.0.
  • Added the DyeableItemComponent to beta.

Cameras

  • Added minecraft:camera_attach_to_player to minecraft:follow_orbit.
  • Added align_target_and_camera_forward option to the camera preset behavior pack JSON which can be used when the third person camera preset experiment is enabled.
  • 3rd person camera experiment - The radius property of the creator cameras is now constrained to a value between 0.1 and 100.
  • Third person boom camera will now reset to the starting rotation values specified in json when the default parameter is passed in the camera command.
  • Added the entity_offset parameter to the command.

Graphical

  • Removed the dark aura around the moon in the Deferred Technical Preview.

Fixes

47 issues fixed

From released versions before 1.21.40

  • MCPE-28531 – Potion tooltips missing % sign on mobile.
  • MCPE-49126 – No sound when placing cocoa beans.
  • MCPE-57498 – Player body located wrong in pocket UI.
  • MCPE-91187 – Piglins are attracted to powered rails.
  • MCPE-103061 – Enchanted Golden Apple gives wrong effects.
  • MCPE-103592 – Armor GUI still shows when almost broken armor breaks.
  • MCPE-114752 – The message of death by thorns is wrong.
  • MCPE-119761 – Chat messages overlap.
  • MCPE-120971 – Delayed chunk, block, and sound loading.
  • MCPE-121058 – Sound event for pillager is unused due to typo.
  • MCPE-122488 – Polar bears killed by fire/lava does not drop cooked fish.
  • MCPE-128393 – Beehives/nests work as furnace fuel.
  • MCPE-131854 – Vines placed with /setblock are invisible.
  • MCPE-150684 – Dyeing mobs has no sound.
  • MCPE-151765 – Tamed wolves ignoring player while chasing skeletons and won't teleport back soon enough.
  • MCPE-152134 – Spawn point cannot be set at night when monsters are nearby.
  • MCPE-161140 – Item text moves up when pointing to entities, even when the old interact button is not there.
  • MCPE-166008 – Icon ? do not connected with the UI button X in loom and smithing table menu.
  • MCPE-167134 – Controller hints show in villager menu when turned off.
  • MCPE-174398 – Pink Screen Glitch when opening Microsoft Live Account Login Menu.
  • MCPE-177192 – The health bar and the hunger bar are not centered in Classic UI Profile on mobile.
  • MCPE-177299 – Gamerule showrecipemessages is considered a Cheat.
  • MCPE-178148 – [ScriptAPI] Invalid ModalFormData and ActionFormData never resolve the Promise.
  • MCPE-179008 – Creeper doesn't drop a music disc when killed by bogged.
  • MCPE-182876 – Action bars reappear when re-entering a world.
  • MCPE-185268 – Air bubbles are not aligned with hunger bar in HUD.
  • MCPE-185460 – Emptying a bundle into the ground doesn't play sound and animations.
  • MCPE-185504 – When the Clear Hotbar option is enabled, "Take from Bundle" button clears hotbar.
  • MCPE-185868 – Item Display Transforms break when using bone visibility.

Other

  • Bundles now display the bar showing their fullness level when placed in the hotbar.
  • Bundle tooltip placement now takes screen safe area into account.
  • The "Swap" button hint is now shown when hovering an item over another item with a game controller.
  • The "Place" button hint is now shown on all screens when holding an item on the cursor with a game controller.
  • Wind Charges can't be hit and redirected shortly after throwing them.
  • Players hitting the edge of the generated world will keep their velocity. Example: While flying with the elytra, the player will stay floating instead of looing all speed instantly.
  • Wolves, cats, and parrots trying to catch up to their owner now seamlessly resume navigation after teleporting to them.
  • Wolves, cats, and parrots now teleport to their owner when panicking and far enough away.
  • Fixed a bug that would prevent activation of addon for a Realm via Marketplace.
  • Fixed a bug where the close button subpanel in the stonecutter panel was empty instead of hidden while using controller.
  • Bogged now drops poison arrows when killed by mobs tamed by a player.
  • Fixed issue which prevented the new 1.21.30 trade table format from loading in-game.
  • Fixed method ItemStack.getComponents from returning components that are unsupported in the current @minecraft/server version.
  • Fixed bug where the tessellation of redstone dust does not match the powered state of the dust for the following blocks:
    • minecraft:*_slab
    • minecraft:chain
    • minecraft:chorus_flower
    • minecraft:chorus_plant
    • minecraft:farmland
    • minecraft:grass_path
    • minecraft:heavy_core
    • minecraft:jigsaw
    • minecraft:sea_lantern
    • minecraft:sniffer_egg
    • minecraft:structure_block
  • Fixed a bug where extremely fast moving entities would cause the game to crash. Entities can now no longer move more than 16 blocks in a single tick. (For reference, an entity with Speed 255 will move ~11 blocks in a single tick.)
  • Game will no longer crash when loading a world near an End city.
  • Fixed an issue where rider_rotation_lock of minecraft:rideable had no effect when using the minecraft:follow_orbit camera.

References

  1. "Minecraft Beta & Preview - 1.21.40.20" – Minecraft Feedback, September 4, 2024.

Navigation