Minecraft:Bedrock Edition Preview 1.20.40.22
More actions
Beta 1.20.40.22 (Android) or Preview 1.20.40.22 (Windows, iOS, iPadOS, Xbox) is the third beta/Preview version for Minecraft:Bedrock Edition 1.20.40, released on September 20, 2023,<ref>Template:Cite</ref> which brings more parity with Template:JE and fixes bugs.
Additions
General
- Added the ability to customize touch controls.
- Added "Customize Controls" experimental touch option, OFF by default.
- Enables the ability to customize touch controls.
- It can only be done within a world.
- Enables the ability to customize touch controls.
Changes
Gameplay
- The
spawnradiusgame rule is now set to10by default to match Template:JE.
Items
- Now have a range of 256 blocks.
Mobs
Minecraft:Iron Golem and Minecraft:Snow Golem
- Now have a crumbling-like Minecraft:particle effect when they are created.
Experimental
These additions and changes are accessible by enabling the "Beta APIs", "Molang Features", "Experimental Cameras", and "Render Dragon Features for Creators" experimental toggles.
Changes
Technical
- Camera APIs moved from beta to
1.6.0. - Released
Entity.is*API’s from beta to1.6.0:isSleeping.isSneaking.isSprinting.isSwimming.isClimbing.isOnGround.isInWater.isFalling.
- Released player level & XP APIs from beta to
1.6.0:addLevels.addExperience.level.getTotalXP.xpEarnedAtCurrentLevel.totalXpNeededForNextLevel.resetLevel.
- Released
Player.is*API’s from beta to1.6.0:isEmoting.isGliding.isJumping.isFlying.
- Updated all methods besides show on
ActionFormData,MessageFormData, andModalFormDatato be callable in read-only mode. BlockInventoryComponent- container member variable now correctly reflects it can be a
Containerorundefined.
- container member variable now correctly reflects it can be a
- Fixed a versioning bug preventing
@minecraft/server-uimodule from working with@minecraft/serverabove version1.2.0. WeatherTypemoved to1.6.0:- Moved function
setWeatherto1.6.0. - Moved event/property
entityRemovefrom beta to1.6.0. - Moved event/property
entityRemovefrom beta to1.6.0.
- Moved function
- Moved class
EntityRemovedAfterEventfrom beta to1.6.0. - Moved class
EntityRemoveAfterEventSignalfrom beta to1.6.0. - Moved class
EntityRemovedBeforeEventfrom beta to1.6.0. - Moved class
EntityRemoveBeforeEventSignalfrom beta to1.6.0.- Moved event/property
entityLoadfrom beta to1.6.0.
- Moved event/property
- Moved class
EntityLoadAfterEventfrom beta to1.6.0. - Moved class
EntityLoadAfterEventSignalfrom beta to1.6.0.- Moved event/property
entitySpawnfrom beta to1.6.0.
- Moved event/property
- Moved enum
EntityInitializationCausefrom beta to1.6.0. - Moved class
EntitySpawnAfterEventfrom beta to1.6.0. - Moved class
EntitySpawnAfterEventSignalfrom beta to1.6.0.- Moved event/property
playerBreakBlockfrom beta to1.6.0. - Moved event/property
playerBreakBlockfrom beta to1.6.0.
- Moved event/property
- Moved class
PlayerBreakBlockAfterEventfrom beta to1.6.0. - Moved class
PlayerBreakBlockAfterEventSignalfrom beta to1.6.0. - Moved class
PlayerBreakBlockBeforeEventfrom beta to1.6.0. - Moved class
PlayerBreakBlockBeforeEventSignalfrom beta to1.6.0.- Moved event/property
playerPlaceBlockfrom beta to1.6.0.
- Moved event/property
- Moved class
PlayerPlaceBlockAfterEventfrom beta to1.6.0. - Moved class
PlayerPlaceBlockAfterEventSignalfrom beta to1.6.0. - Moved class
BlockEventSignalOptionsfrom beta to1.6.0.- Move
isAir(): booleanfrom beta to1.6.0. - Move
isLiquid(): booleanfrom beta to1.6.0. - Moved
amountfrom beta to1.6.0. - Moved
keepOnDeath: booleanfrom beta to1.6.0. - Moved
lockMode: ItemLockModefrom beta to1.6.0. - Moved
nameTag?: stringfrom beta to1.6.0. - Moved
clone(): ItemStackfrom beta to1.6.0. - Moved
getTags(): string[]from beta to1.6.0. - Moved
hasTag(tag: string): booleanfrom beta to1.6.0. - Moved
setCanDestroy(blockIdentifiers?: string[]): voidfrom beta to1.6.0. - Moved
getCanDestroy(): string[]from beta to 1.6.0. - Moved
setCanPlaceOn(blockIdentifiers?: string[]): voidfrom beta to1.6.0. - Moved
getCanPlaceOn(): string[]from beta to1.6.0. - Moved function
getPropertyto1.6.0. - Moved function
resetPropertyto1.6.0. - Moved function
setPropertyto1.6.0.
- Move
- Added function
getWeather.
- The
behavior.random_look_around_and_sitnow has the fieldcontinue_sitting_on_reload. behavior.is_scentingrenamed to genericbehavior.timer_flag_1.behavior.is_risingrenamed to genericbehavior.timer_flag_2.behavior.is_feeling_happyrenamed to genericbehavior.timer_flag_3.behavior.timer_flag 1: Fires an event when this behavior starts, then waits for a duration before stopping. When stopping due to that timeout or due to being interrupted by another behavior, fires another event.query.timer_flag_1will return1.0on both the client and server when this behavior is running, and0.0otherwise.behavior.timer_flag 2: Fires an event when this behavior starts, then waits for a duration before stopping. When stopping due to that timeout or due to being interrupted by another behavior, fires another event.query.timer_flag_2will return1.0on both the client and server when this behavior is running, and0.0otherwise.behavior.timer_flag 3: Fires an event when this behavior starts, then waits for a duration before stopping. When stopping due to that timeout or due to being interrupted by another behavior, fires another event.query.timer_flag_3will return1.0on both the client and server when this behavior is running, and0.0otherwise.
- Added a new
query.is_in_lavaquery function to Molang, to know if a mob is currently in Minecraft:lava.
Render Dragon Features for Creators
- Disabled the "Deferred Technical Preview" on some Android devices that don’t support the current requirements for compute Minecraft:shaders (
GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS >= 256).
Fixes
Template:Fixes Others
- Fixed an extremely rare bug (~0.000003% chance) that could cause item frames to not drop their item when hit or destroyed.
- Fixed a bug where closing the game while having the portfolio open resulted in a crash.
- Autocompleting text now moves the caret to end of the line.
References
Template:Navbox Bedrock Edition versions Minecraft:de:Bedrock Edition beta 1.20.40.22 Minecraft:es:Bedrock Edition beta 1.20.40.22 Minecraft:ko:Bedrock Edition 프리뷰 1.20.40.22 Minecraft:pt:Edição Bedrock Preview 1.20.40.22 Minecraft:uk:Preview 1.20.40.22 (Bedrock Edition) Minecraft:zh:基岩版1.20.40.22