Minecraft:Bedrock Edition 1.20.40
More actions
1.20.40 is a minor update to Template:BE released on October 24, 2023,<ref>Template:Cite</ref><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.
- Added the following
options:gfx_moveStickX, defaults to0.15.gfx_moveStickY, defaults to0.6.gfx_moveStickScale, defaults to1.gfx_touchButton1X, defaults to0.925.gfx_touchButton1Y, defaults to0.4.gfx_touchButton1Scale, defaults to1.gfx_touchButton1Opacity, defaults to1.gfx_touchButton2X, defaults to0.825.gfx_touchButton2Y, defaults to0.5.gfx_touchButton2Scale, defaults to1.gfx_touchButton2Opacity, defaults to1.gfx_touchButton3X, defaults to0.925.gfx_touchButton3Y, defaults to0.6.gfx_touchButton3Scale, defaults to1.gfx_touchButton3Opacity, defaults to1.gfx_touchButton4X, defaults to0.825.gfx_touchButton4Y, defaults to0.7.gfx_touchButton4Scale, defaults to1.gfx_touchButton4Opacity, defaults to1.gfx_touchButton5X, defaults to0.925.gfx_touchButton5Y, defaults to0.8.gfx_touchButton5Scale, defaults to1.gfx_touchButton5Opacity, defaults to1.gfx_touchDpadX, defaults to0.135.gfx_touchDpadY, defaults to0.775.gfx_touchDpadScale, defaults to1.gfx_touchDpadOpacity, defaults to1.gfx_classicButton1X, defaults to0.9.gfx_classicButton1Y, defaults to0.6.gfx_classicButton1Scale, defaults to1.gfx_classicButton1Opacity, defaults to1.gfx_classicButton2X, defaults to0.9.gfx_classicButton2Y, defaults to0.75.gfx_classicButton2Scale, defaults to1.gfx_classicButton2Opacity, defaults to1.gfx_classicButton3X, defaults to0.9.gfx_classicButton3Y, defaults to0.9.gfx_classicButton3Scale, defaults to1.gfx_classicButton3Opacity, defaults to1.
Changes
Blocks
- Updated the sound that’s played when Minecraft:wither skeleton Minecraft:skulls are placed on top.
- No longer drops Minecraft:XP when mined with Minecraft:Silk Touch.
Minecraft:Sculk Sensor and Minecraft:Calibrated Sculk Sensor
- Can now detect closing the inventory of a Minecraft:boat with chest, a bamboo raft with chest, or a Minecraft:minecart with chest.
- Minecraft:Mobs no longer receive Minecraft:fall damage when falling into a 1 block deep water pool.
- The ambient sounds for entering exiting water is now played only when an Minecraft:entity is submerged below eye-level in water, matching Template:JE.
- The splash sound for entering water has been updated to match Template:JE.<ref>Template:Bug</ref>
Command format
- The sound for picking up items is now played when using the Minecraft:command.
Minecraft:Chest, Minecraft:Ender Chest, Minecraft:Stonecutter, and Minecraft:Trapped Chest
- Now they use the
minecraft:cardinal_directionMinecraft:block state instead offacing_direction.minecraft:cardinal_directionuses four string values["east", "north", "south", "west"].
Gameplay
- The
spawnradiusgame rule is now set to10by default to match Template:JE.
General
- The "Respawn radius" advanced option is now set to
10by default instead of5.
Items
- Now emit sounds when filling it from Minecraft:water.
- Pouring liquid from a bottle into a Minecraft:cauldron emits the appropriate Minecraft:sound.
- Filling a bottle from a cauldron now emits the appropriate sound.
- Drinking from a bottle now emits the appropriate sound.
- Updated structure icons on explorer maps sold by Minecraft:cartographers.
- Now have a range of 256 blocks.
Mobs
- Now plays a Minecraft:sound when begging for food.
Minecraft:Guardian and Minecraft:Elder Guardian
- Makes flopping Minecraft:sounds again when on land.
Minecraft:Iron Golem and Minecraft:Snow Golem
- Now have a crumbling-like Minecraft:particle effect when they are created.
- Minecraft:Cartographers no longer offer exploration maps as a trade item when not in the overworld.
- Now target Minecraft:players within a 16 block distance.
- The Minecraft:boss bar on the HUD is now same color as Template:JE.
- Now have their own unique Minecraft:sounds.
- Curing time is now randomized between 3 and 5 minutes, to match Template:JE.
Non-mob entities
Minecraft:Boat and Minecraft:Boat with Chest
- Falling from a great height while riding it no longer deals Minecraft:fall damage.
Experimental
These additions and changes are accessible by enabling the "Villager Trade Rebalancing", "Beta APIs", "Molang Features", and "Experimental Cameras" experimental toggles.
Changes
Gameplay
- Added seven new maps which cartographers can sell, depending on the biome they come from.
- Jungle and swamp villages do not generate naturally. Thus, players must breed villagers or cure zombie villagers in these biomes to access their trades.
- Village maps points to a village in specific biome. Jungle explorer map points to a jungle pyramid. Swamp explorer map points to a swamp hut.
Available new tradable maps Desert Jungle Plains Savanna Snow Swamp Taiga Group 1 Savanna Village Map Savanna Village Map Savanna Village Map Desert Village Map Plains Village Map Snowy Village Map Plains Village Map Group 2 Plains Village Map Desert Village Map Taiga Village Map Plains Village Map Taiga Village Map Taiga Village Map Snowy Village Map Group 3 Jungle Explorer Map Swamp Explorer Map – Jungle Explorer Map Swamp Explorer Map Jungle Explorer Map Swamp Explorer Map
- Changed trades of armorers, change summary:
- Buying diamond armor now also requires a small amount of diamonds.
- Most master-level armorers buy iron blocks and pay 4 emeralds for them.
- Chainmail armor is exclusively sold by jungle and swamp armorers.
- The savanna armorer sells cursed diamond armor at reduced prices.
- The taiga armorer can swap one piece of diamond armor for another.
Current version of trades for jungle armorers Level Item wanted Default quantity Price multiplier Item given Quantity Trades until disabled XP to villager Novice Template:ItemLink 15 0.05 Template:ItemLink 1 12 2 Template:ItemLink 5 0.05 Template:ItemLink 1 12 2 Apprentice Template:ItemLink 4 0.05 Template:ItemLink 1 12 5 Template:ItemLink 5 0.05 Template:ItemLink 1 12 5 Template:ItemLink 7 0.05 Template:ItemLink 1 12 5 Template:ItemLink 9 0.05 Template:ItemLink 1 12 5 Journeyman Template:ItemLink 1 0.05 Template:ItemLink 1 12 20 Template:ItemLink 5 0.05 Template:ItemLink 1 12 10 Template:ItemLink 36 0.2 Template:ItemLink 1 12 10 Expert Template:ItemLink 8 0.05 Template:ItemLink (Unbreaking I) 1 3 15 Template:ItemLink 9 0.05 Template:ItemLink (Unbreaking I) 1 3 15 Template:ItemLink 11 0.05 Template:ItemLink (Unbreaking I) 1 3 15 Template:ItemLink 13 0.05 Template:ItemLink (Unbreaking I) 1 3 15 Master Template:ItemLink 9 0.05 Template:ItemLink (Projectile Protection I) 1 3 30 Template:ItemLink 8 0.05 Template:ItemLink (Feather Falling I) 1 3 30 Template:BlockLink 1 0.05 Template:ItemLink 4 12 30
World generation
- Increases the chance of generating enchanted books with Minecraft:Mending.
- Increases the chance of generating enchanted books with Minecraft:Unbreaking (level I to III).
- Increases the chance of generating enchanted books with Minecraft:Unbreaking (level I to III).
- Increases the chance of generating enchanted books with Minecraft:Efficiency (level I to V).
- Increases the chance of generating enchanted books with Minecraft:Quick Charge (level I to III).
Technical
- Changed the names of the
CameraSetOptionsoptions to not include the word 'Script'. - Added the
chat(message: string)method. - Changed
getto returnItemType | undefined. - Changed source on
ItemDefinitionTriggeredAfterEventto be optional. - Added the following methods to
Player:above(steps?: number): Block | undefinedbelow(steps?: number): Block | undefinednorth(steps?: number): Block | undefinedeast(steps?: number): Block | undefinedsouth(steps?: number): Block | undefinedwest(steps?: number): Block | undefinedoffset(offset: Vector3): Block | undefinedcenter(): Vector3bottomCenter(): Vector3- Made
getItemStackfunction returnItemStackorundefined. playMusic(trackId: string, musicOptions?: MusicOptions): voidqueueMusic(trackId: string, musicOptions?: MusicOptions): voidstopMusic(): void
BlockStates- Made get function return
BlockStateTypeorundefined.
- Made get function return
- Updated
ExplosionAfterEventandExplosionBeforeEvent.getUpdatedBlocks()will now returnBlock[].setUpdatesBlocks(blocks: Block[])now takes in aBlock[].
- Dynamic Properties
- Property registration is no longer required and
propertyRegistryhas been removed from theworldInitializeevent. - Removed limits on the count and size of properties that can set on an entity or the world.
- Default values have been removed.
getPropertywill now always return undefined for unset properties. - String dynamic property values are now restricted to a length of
32767bytes. - Removed function
removeDynamicProperty. - Added function
getDynamicPropertyIds- Returns an array of all dynamic property ids on an entity/world used by the Minecraft:behavior pack. - Added function
getDynamicPropertyTotalByteCount- Returns the total number of bytes used by all dynamic properties on an entity/world by the behavior pack. - Added function
clearDynamicProperties- Removes all dynamic properties added by this behavior pack from an entity/world. - Dynamic property numbers are now stored with double precision (
64bits)
- Property registration is no longer required and
- Adding
PlayerInteractWithBlockandPlayerInteractWithEntitybefore & after events. - Adding
PlayerDimensionChangeBeforeEventandPlayerDimensionChangeAfterEvent. - Released
World.getMoonPhase,MoonPhase, andMoonPhaseCountv1.6.0. - 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. - Added
matchesfunction called on an entity, which takes inEntityQueryOptionsand returns true if the entity matches and false otherwise. - Moved
getRotationfromBetato1.6.0. - Move
setRotationfrombetato1.6.0. - Added
PlayerLeaveBeforeEvent- This event fires when a player leaves the server, before the Player object is removed. - Releasing
PlayerDimensionChangeAfterEventbetato1.6.0.
- Added a content error when attempting to load a damage sensor with an invalid "cause" value.
- Allow single value parsing for
minecraft:iconitem component. - The camel mob dash component can now be applied to rideable mobs other than horse, donkey, and mule using
minecraft:dash. - Trade items now have a
filtersproperty to determine if a trade should be considered. - Trade items no longer support the
biomeproperty to check villager biome types, theis_mark_variantfilter can be used in thefiltersproperty instead to check the villager biome type. - Deprecated
minecraft:weaponcomponent starting in version 1.20.40. - Deprecated
minecraft:on_usecomponent starting in version 1.20.40. - Deprecated
minecraft:on_use_oncomponent starting in version 1.20.40. - 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.- Unlocked
behavior.random_search_and_dig. target_blocksfield added. List of blocks that the mob can dig on. Default iftarget_blocksisn't added is dirt, grass, podzol, dirt with roots, moss, mud, and muddy mangrove roots.item_tablefield added. Path to a loot table that specifies what the mob can dig up.item_tabletakes precedence overitems.- Content errors added if the behavior has trouble reading or finding
item_tableand if unable to get an item fromitems. on_item_foundevent now fires on item found AND digging finished. Before the event firing caused the digging to stop early.
- Updated to version 1.20.40.
- Added a new
query.is_in_lavaquery function to Molang, to know if a mob is currently in Minecraft:lava.
Fixes
Template:Fixes Others
- Fixed an issue where text to speech did not say how to open chat or emotes.
- Text-to-speech message for popup title/description is now played properly.
- Clicking off the game window will not unselect a friend.
- Fixed a bug where the tooltip for the v-sync setting was showing without being hovered.
- Fixed a bug where "PBR" was not included in HUD while in level using "Deferred Technical Preview".
- The seven new explorer maps from cartographers can now also point to structures in already explored chunks.
- Fixed a crash that could occur when running in the archold room in the spellrune marketplace map.
- Fixed an issue where particles were not consistently lit while in the "Deferred Technical Preview".
- Camels can no longer dash while in lava or water.
- 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.
- Lightweight mobs and entities wearing leather boots once again sink into the top layer of Powder Snow when falling from a height of more than two and a half blocks.
- Splash particles are now emitted at an actor's waist instead of above their head
- Fixed a crash related to tessellation of water blocks.
- Placing invalid items into offhand slot will no longer cause them to drop.
- Fixed a bug where the sniffer ended digging as soon as item was created, not at the end of the specified dig duration.
- Fixed a bug that prevented summon NPC commands from working if the users did not have worldbuilder permissions where the base version of the world was before Minecraft:1.19.80.
- High emissive values (> 0.25) no longer obscure surface detail in the "Deferred Technical Preview".
- Fixed several crashes that could occur during gameplay.
Notes
References
Template:Navbox Bedrock Edition versions
Minecraft:de:Bedrock Edition 1.20.40 Minecraft:es:Bedrock Edition 1.20.40 Minecraft:ko:Bedrock Edition 1.20.40 Minecraft:pt:Edição Bedrock 1.20.40 Minecraft:ru:1.20.40 (Bedrock Edition) Minecraft:uk:1.20.40 (Bedrock Edition) Minecraft:zh:基岩版1.20.40