版本发布

Minecraft 基岩版 Beta & Preview 27.0.20 发布

Cat_A***Lv.4 高级会员 发表于 前天 20:03 IP:天津 162 0
AI 速览2026-12-04 16:28 生成

基岩版 27.0.20 测试版更新日志:辅助功能、藤蔓方块与副手趋同修复

这是 Minecraft 基岩版 Beta & Preview 27.0.20 的完整更新日志,属于 27.0 正式版的首个测试版本,发布于 2026 年 12 月 2 日。内容涵盖辅助功能、方块、玩法、图像、输入、物品、Realms、声音、稳定性与界面等常规修复,并包含大量技术性更新,如 AI 意向、召唤实体行为、脚本 API、实体组件、战利品表与体素形状实验等。适合想尝鲜新特性或开发附加包的玩家与创作者阅读,普通玩家可仅作了解。

  • 测试版可能不稳定,不代表最终版本质量
  • 使用测试版打开存档前务必备份
  • 正式版领域服务器与测试版不兼容
  • 预览版支持 Xbox、PlayStation、Windows 和 iOS
  • Beta 版在 Android 的 Google Play 上可用
本卡片由 AI 阅读本帖后生成,可能存在疏漏,请以帖子正文为准。
|Minecraft 基岩版是指运行在移动平台(Android、iOS)、Windows 10/11、主机(Xbox One、Switch、PlayStation 4/5)上,使用「基岩引擎」(C++语言)开发的 Minecraft 版本。
|测试版是 Minecraft 基岩版的测试机制,主要用于下一个正式版的特性预览。
|然而,测试版主要用于新特性展示,通常存在大量漏洞。因此对于普通玩家建议仅做测试尝鲜用。使用测试版打开存档前请务必备份。适用于正式版的领域服务器与测试版不兼容。
|如果在测试版中遇到旧版存档无法使用的问题,测试版将允许你将存档上传以供开发团队查找问题。
|Minecraft 基岩版 27.0 仍未发布,Beta & Preview 27.0.20 为其第 1 个测试版。
|本文内容按照 CC BY-NC-SA 4.0 协议进行授权,转载本帖时须注明原作者以及本帖地址。

Minecraft Beta & Preview - 27.0.20
Minecraft 基岩版 Beta & Preview 27.0.20


Posted: 2 December 2026
发布于:2026 年 12 月 2 日


INFORMATION ON MINECRAFT PREVIEW AND BETA:
Minecraft 预览版与测试版信息:

  • These work-in-progress versions can be unstable and may not be representative of final version quality
  • 这些开发中版本可能不稳定,并不代表最终版本的质量
  • Minecraft Preview is available on Xbox, PlayStation, Windows, and iOS devices. More information can be found at aka.ms/PreviewFAQ
  • Minecraft 预览版可在 Xbox、PlayStation、Windows 和 iOS 设备上使用。更多信息请访问 aka.ms/PreviewFAQ
  • The beta is available on Android (Google Play). To join or leave the beta, see aka.ms/JoinMCBeta for detailed instructions
  • Beta 版在 Android (Google Play) 设备上可用。要加入或退出测试版,请参阅 aka.ms/JoinMCBeta 了解详细说明

It's time for another Preview and Beta release! For the full list of goodies, browse the changelog below. And as always, we’re keen to get your feedback on these new features at feedback.minecraft.net , and you can report any bugs you find at bugs.mojang.com .
是时候发布新的预览版和测试版了!要查看完整的变更列表,请浏览下面的更新日志。一如既往,我们非常希望在 feedback.minecraft.net 获得您对这些新功能的反馈,您可以在 bugs.mojang.com 报告任何漏洞。

FEATURES AND BUG FIXES
特性和漏洞修复


ACCESSIBILITY
辅助功能

  • Text-to-speech now reads pack information and validation results in the Technical Details and Storage Pack Info windows
  • 文本转语音现在会在“技术细节”和“存储包信息”窗口中朗读包信息和验证结果
  • Identify Block now shows and reads out the localized name of custom entities, the same way it does for custom blocks
  • “识别方块”现在会显示并朗读自定义实体的本地化名称,处理方式与自定义方块相同
  • Changed the narration on multiple text input fields to be more consistent with other text input fields
  • 更改了多个文本输入框的旁白,使其与其他文本输入框更一致


ACCESSIBILITY FEATURES
辅助功能特性

  • Player timeline rows now enumerate correctly
  • 玩家时间线行现在可以正确编号


BLOCKS
方块

  • Fix crash when using rails in redstone contraptions (MCPE-243588 )
  • 修复了在红石装置中使用铁轨时发生的崩溃 (MCPE-243588 )
  • Brittle Ice now starts cracking when the player stands on top while the gamerule "mob_griefing" is disabled
  • 当游戏规则“mob_griefing”被禁用时,玩家站在脆冰上方现在会使其开始开裂
  • Vine block can now be placed on the underside of a block
  • 藤蔓方块现在可以放置在方块的底面
  • Vine block now spread to the face nearest to where the player is looking when placed
  • 放置藤蔓方块时,它现在会蔓延到距玩家视线最近的一面
  • Players can now put Vine block on more than one side of the same block (MCPE-140143 )
  • 玩家现在可以将藤蔓方块放在同一方块的多面上 (MCPE-140143 )
  • Vine blocks changing states now sends neighbor updates
  • 藤蔓方块改变状态时现在会发送相邻方块更新
    • Observers can see Vine blocks grow and faces disappearing
    • 侦测器现在能看到藤蔓方块生长以及面消失
    • Vine blocks without support from above will now die
    • 上方没有支撑的藤蔓方块现在会枯萎



GAMEPLAY
玩法

  • Fixed custom items tagged as hoes or axes not playing the expected use sound or swing animation when tilling soil or stripping logs
  • 修复了标记为锄或斧的自定义物品在耕地或去皮原木时未播放预期使用音效或挥动动画的漏洞
  • Attack and interaction range is now measured to the closest point of a mob's hitbox instead of its feet
  • 攻击和交互范围现在按生物碰撞箱的最近点计算,而不是按脚部计算
    • Fixed attacks and interactions sometimes failing on large mobs, such as Ghasts, when the player is above them
    • 修复了玩家位于大型生物(如恶魂)上方时,攻击和交互有时失败的漏洞
    • Applies to worlds using a base game version of 1.27.0 or later
    • 适用于基础游戏版本为 1.27.0 或更高版本的世界
  • In Survival food items with can_always_eat set to false can no longer be used at full hunger when they also have minecraft:use_modifiers (MCPE-188410 )
  • 在生存模式下,将 can_always_eat 设为 false 的食物物品,如果同时带有 minecraft:use_modifiers,现在不能在饥饿值满时使用 (MCPE-188410 )
  • Ice Balls no longer damage a perched Ender Dragon
  • 冰球现在不会对栖息的末影龙造成伤害
  • Fixed an issue that could cause players to appear dismounted after player load
  • 修复了玩家加载后可能显示为已下马的问题
  • Fixed Droppers sometimes failing to dispense items when their Redstone connection also powers other Redstone devices (MCPE-169220 )
  • 修复了投掷器的红石连接同时为其他红石设备供能时,有时无法喷出物品的漏洞 (MCPE-169220 )


GRAPHICAL
图像

  • Fixed an issue where water in some structures was invisible after placement
  • 修复了某些结构中的水在放置后不可见的问题
  • Fixed rails appearing faded or missing on translucent blocks
  • 修复了铁轨在半透明方块上变暗或缺失的漏洞
  • The spyglass overlay now remains visible while zoomed in with ray tracing enabled
  • 开启光线追踪并放大时,望远镜叠加层现在会保持可见
  • Reduced overly intense reflections on closed Pocket Music Boxes from the "Music on the Move" Add-On (MCPE-244086 )
  • 降低了“Music on the Move”附加包中关闭的便携音乐盒上过于强烈的反射 (MCPE-244086 )
  • Filled Maps now play the off-hand equip animation when swapping between different maps (MCPE-244560 )
  • 在不同地图之间切换时,地图现在会播放副手装备动画 (MCPE-244560 )
  • Eliminates blurriness while Bloom and TAAU upscaling are enabled in Vibrant Visuals
  • 在灵动视效[暂译]中启用泛光和 TAAU 超分时,消除了模糊
  • Improved the definition of full screen effects in first-person view while TAAU is enabled in Vibrant Visuals
  • 在灵动视效[暂译]中启用 TAAU 时,改进了第一人称视角下全屏效果的清晰度
  • Fixed a small graphical issue with handheld item rendering where using animation could be played for the wrong hand while switching items
  • 修复了手持物品渲染的一个图形问题:切换物品时,使用动画可能会在错误的手上播放
  • Fixed held emissive blocks turning into non-emissive blocks when walking near an emissive block in the world in Vibrant Visuals
  • 修复了在灵动视效[暂译]中,玩家靠近世界中的发光方块时,手持的发光方块会变成非发光方块的漏洞


INPUT
输入

  • New presses of the Use button are no longer blocked by a previous action's input delay when using items or interacting with entities, while item cooldowns and inventory-opening restrictions remain unchanged
  • 使用物品或与实体交互时,新的“使用”按键按下不再被上一动作的输入延迟阻挡,物品冷却和打开物品栏的限制保持不变
  • Fixed an issue where a delayed Crossbow charge-completion notification could cause the next Use input to be ignored
  • 修复了延迟的弩蓄力完成通知可能导致下一次“使用”输入被忽略的问题
  • Fixed an issue where held touch buttons could remain pressed after lifting a finger while the controls were hidden
  • 修复了控制隐藏时,按住触摸按钮并在抬起手指后按钮仍可能保持按下状态的问题
  • Pressing any key other than Shift, Ctrl, Alt or Caps Lock in menus now switches the input hints to keyboard
  • 在菜单中按下 Shift、Ctrl、Alt 或 Caps Lock 以外的任意按键,现在会将输入提示切换为键盘


ITEMS
物品

  • Swapping items with the offhand no longer restores an outdated hotbar selection
  • 用副手交换物品时,不再恢复过时的快捷栏选择
  • Picking up dropped items while swapping with the offhand no longer leaves hotbar slots out of sync
  • 与副手交换物品时拾取掉落物,不再使快捷栏槽位失去同步
  • Ice Balls can now be brewed with a Water Bottle to make a Mundane Potion
  • 冰球现在可以与水瓶一起酿造,制成平凡的药水
  • Swapping items of the same type with different names, enchantments, or components now plays the equip animation in either hand
  • 交换同类型但名称、魔咒或组件不同的物品时,现在会在任意一只手上播放装备动画


REALMS
Realms

  • Fixed an issue where available add-ons were listed in a random order in Realm world settings
  • 修复了 Realm 世界设置中可用附加包以随机顺序列出的问题
  • Fixed an issue where an unused Realms subscription could be offered again for setup after it was already used to create a Realm, causing the setup to fail
  • 修复了未使用的 Realms 订阅在已用于创建 Realm 后仍可能再次被提供用于设置,从而导致设置失败的问题
  • Fixed formatting of Realms terms of service on purchase route
  • 修复了购买流程中 Realms 服务条款的格式问题
  • Changing text and narration on slots screen accordion when the world has no active packs
  • 更改了世界没有启用包时槽位屏幕折叠面板的文本和旁白
  • Updated saving server configurations flow
  • 更新了保存服务器配置的流程
  • The upload speed for Realms worlds on Playstation consoles has been improved (MCPE-244057 )
  • 提高了 Playstation 主机上 Realms 世界的上传速度 (MCPE-244057 )


SOUND
声音

  • Correct sound now plays when the Toolsmith is working (MCPE-244134 )
  • 工具匠工作时现在会播放正确的声音 (MCPE-244134 )
  • Lowered the breaking sounds for Ice, Packed ice, Blue ice and Frosted ice
  • 降低了冰、浮冰、蓝冰和霜冰的破坏音效


STABILITY AND PERFORMANCE
性能与稳定性

  • Fixed an intermittent crash when opening the crafting screen
  • 修复了打开合成界面时间歇性发生的崩溃
  • Fixed a crash when exporting structures containing empty subchunks as 3D models (MCPE-241193 )
  • 修复了将包含空子区块的结构导出为 3D 模型时发生的崩溃 (MCPE-241193 )
  • Fixed a crash that could occur with Vibrant Visuals enabled when many entities are visible at once
  • 修复了启用灵动视效[暂译]且同时可见大量实体时可能发生的崩溃
  • Improved game startup time by avoiding redundant localization copies without retaining oversized localization arenas
  • 通过避免冗余的本地化副本,并在不保留过大的本地化区域的情况下,改进了游戏启动时间


USER INTERFACE
用户界面

  • Minecart with Command Block menus now retain previously entered commands and display command output when available (MCPE-170463 )
  • 命令方块矿车的菜单现在会保留之前输入的命令,并在有可用输出时显示命令输出 (MCPE-170463 )
  • Fixed an issue where the closed Friends drawer could be clicked outside the screen safe area (MCPE-191349 )
  • 修复了关闭的好友抽屉在屏幕安全区域外仍可被点击的问题 (MCPE-191349 )
  • Pressing and dragging on a slider's bar now moves the slider handle with the pointer instead of only updating when the mouse button is released (MCPE-229321 )
  • 按住并拖动滑块条时,滑块手柄现在会随指针移动,而不是仅在松开鼠标按键时更新 (MCPE-229321 )
  • Fix for cursor starting at last known position in text field when using gamepad to focus
  • 修复了使用游戏手柄聚焦时,光标从文本框中上次已知位置开始的问题
  • Failed Marketplace downloads now return to a retryable state after the error dialog is dismissed instead of continuing with invalid content data
  • 失败的 Marketplace 下载现在会在错误对话框关闭后返回可重试状态,而不是继续使用无效的内容数据
  • Fixed Add-Ons not being applied when activated from a Marketplace product detail page
  • 修复了从 Marketplace 产品详情页激活附加包时,附加包未生效的漏洞
  • Fixed an issue where mouse clicks along the top edge of some Ore UI buttons were ignored (MCPE-223293 )
  • 修复了沿部分 Ore UI 按钮顶部边缘的鼠标点击被忽略的问题 (MCPE-223293 )
  • Fixed Redstone-related tooltips for several items (MCPE-243149 ) (MCPE-242731 ) (MCPE-242566 )
  • 修复了若干物品与红石相关的提示框 (MCPE-243149 ) (MCPE-242731 ) (MCPE-242566 )
  • Fixed the Gift button disappearing after purchasing a Marketplace item
  • 修复了购买 Marketplace 物品后“礼物”按钮消失的漏洞
  • Fixed some GIF animations appearing partially frozen in Ore UI
  • 修复了部分 GIF 动画在 Ore UI 中显示为部分冻结的漏洞
  • Fixed an issue on Android where buttons and icons in menus could become transparent after signing in to a Microsoft account
  • 修复了 Android 上登录 Microsoft 账户后,菜单中的按钮和图标可能变为透明的问题
  • Cooldown overlays in the hotbar and off-hand slot now appear only for item-use cooldowns, not attack cooldowns
  • 快捷栏和副手槽位中的冷却叠加层现在仅对物品使用冷却显示,不再对攻击冷却显示
  • Fixed tile selection borders being clipped on the Marketplace Pass page when the mc-mpp-ore-ui treatment is enabled
  • 修复了启用 mc-mpp-ore-ui 处理时,Marketplace Pass 页面上的图块选择边框被裁剪的漏洞
  • Recipe book tabs now get hidden if last recipe in a given category is locked using cheat commands
  • 如果某个分类中的最后一个配方被作弊命令锁定,配方书标签页现在会隐藏
  • Clarified which image to use when adjusting Vibrant Visuals brightness (MCPE-243025 )
  • 明确了调整灵动视效[暂译]亮度时应使用哪张图像 (MCPE-243025 )
  • Off-hand Fishing Rod textures now update correctly when the main-hand Fishing Rod is removed while a line is cast (MCPE-244487 )
  • 当鱼线已抛出时移除主手钓鱼竿,副手钓鱼竿的纹理现在会正确更新 (MCPE-244487 )
  • Off-hand item icons now start their pickup animation only when the stack count increases (MCPE-244426 )
  • 副手物品图标现在仅在堆叠数量增加时开始播放拾取动画 (MCPE-244426 )
  • Arrows can now be moved into the off-hand slot using quick move or Shift-click (MCPE-244468 )
  • 箭现在可以通过快速移动或 Shift 点击移入副手槽位 (MCPE-244468 )
  • The displayed item name now refreshes when the main-hand item type changes, including when swapping with the off hand (MCPE-244556 )
  • 当主手物品类型改变时,显示的物品名称现在会刷新,包括与副手交换时 (MCPE-244556 )
  • Double-clicking to collect matching items now includes the off-hand slot in the inventory (MCPE-244555 )
  • 双击收集匹配物品时,现在会将物品栏中的副手槽位也包含在内 (MCPE-244555 )
  • Fixes scroll bar overlapping button images on resource/behavior pack tabs
  • 修复了滚动条与资源包/行为包标签页上的按钮图像重叠的问题
  • Changing Languages now properly updates the bundle text to the new language
  • 更改语言时,组合包文本现在会正确更新为新语言
  • Added player permissions icons for in-game settings screen (MCPE-239484 )
  • 为游戏内设置屏幕加入了玩家权限图标 (MCPE-239484 )
  • Fixed an issue where offline sign-in could fail with error code "Podzol" when attempting to link accounts (MCPE-244224 )
  • 修复了尝试链接账户时,离线登录可能因错误代码“Podzol”而失败的问题 (MCPE-244224 )

TECHNICAL UPDATES
技术性更新


AI GOALS
AI 意向

  • Added turn_speed_vertical and turn_speed_horizontal to minecraft:behavior.look_at_target, minecraft:behavior.look_at_player, minecraft:behavior.look_at_entity, minecraft:behavior.look_at_trading_player, minecraft:behavior.random_look_around and minecraft:behavior.random_look_around_and_sit
  • 为 minecraft:behavior.look_at_target、minecraft:behavior.look_at_player、minecraft:behavior.look_at_entity、minecraft:behavior.look_at_trading_player、minecraft:behavior.random_look_around 和 minecraft:behavior.random_look_around_and_sit 加入了 turn_speed_vertical 和 turn_speed_horizontal


MINECRAFT:BEHAVIOR.SUMMON_ENTITY
minecraft:behavior.summon_entity

  • Added sphere as a value for the shape field of a summon step, which spreads summoned entities over the surface of a sphere
  • 为召唤步骤的 shape 字段加入了 sphere 值,可将召唤的实体分布在一个球面上
  • Added the shape_y_offset, random_offset, randomize_rotation and snap_to_ground_reach fields to summon steps to control where entities are summoned
  • 为召唤步骤加入了 shape_y_offset、random_offset、randomize_rotation 和 snap_to_ground_reach 字段,用于控制实体被召唤的位置
    • snap_to_ground_reach is required when a summon step uses shape_y_offset or the sphere shape
    • 当召唤步骤使用 shape_y_offset 或 sphere 形状时,必须提供 snap_to_ground_reach
  • Added the on_step_start field to summon steps to trigger an event on the summoner when a step starts summoning
  • 为召唤步骤加入了 on_step_start 字段,可在步骤开始召唤时对召唤者触发事件
  • Added the spawn_particle field to summon steps to emit a particle at each summoned entity
  • 为召唤步骤加入了 spawn_particle 字段,可在每个被召唤的实体处发射粒子
  • Added the require_target_to_start and require_target_to_continue fields to control whether summoning can start or continue without a target
  • 加入了 require_target_to_start 和 require_target_to_continue 字段,用于控制没有目标时召唤能否开始或继续
    • Without a target, shapes extend in the direction the summoner faces and the min_activation_range and max_activation_range fields are ignored
    • 没有目标时,形状会沿召唤者面朝的方向延伸,min_activation_range 和 max_activation_range 字段会被忽略
  • Added the look_at_target field to control whether the goal controls where the summoner looks
  • 加入了 look_at_target 字段,用于控制该意向是否控制召唤者的视线方向
  • Added the facing field to summon steps to make summoned entities face toward or away from the summoner or the target, straight up or straight down
  • 为召唤步骤加入了 facing 字段,可使被召唤的实体朝向或背向召唤者或目标,或竖直向上、竖直向下
    • Summoned entities with a minecraft:projectile component are launched in that direction
    • 带有 minecraft:projectile 组件的被召唤实体将朝该方向发射
    • toward_target and away_from_target require require_target_to_start and require_target_to_continue to be true
    • toward_target 和 away_from_target 要求 require_target_to_start 和 require_target_to_continue 为 true
  • From format version 1.27.0, consecutive summon steps without a base_delay summon on the same tick
  • 从格式版本 1.27.0 起,不含 base_delay 的连续召唤步骤会在同一刻执行召唤
    • Earlier format versions keep the one-tick gap between steps
    • 较早的格式版本会在步骤之间保留一刻的间隔
  • From format version 1.27.0, the weight field of a summon choice defaults to 1 and must be a whole number from 1 to 10000000
  • 从格式版本 1.27.0 起,召唤选项的 weight 字段默认值为 1,且必须是 1 到 10000000 之间的整数
    • The weights of all summon choices must add up to at most 2147483647
    • 所有召唤选项的权重之和不得超过 2147483647
    • Earlier format versions multiply their weights by 100 and round them, so fractional weights keep their relative odds instead of being truncated
    • 较早的格式版本会将权重乘以 100 并取整,因此小数权重会保留相对概率,而不是被截断



API
API

  • onPlayerInteract and beforeOnPlayerPlace will only be called from block-permutations that are defined to do so (MCPE-225746 )
  • onPlayerInteract 和 beforeOnPlayerPlace 现在只会从被定义为会这样调用的方块排列中调用 (MCPE-225746 )
  • Released @minecraft/server version 2.13.0
  • 发布了 @minecraft/server 2.13.0 版本
  • Added @minecraft/server version 2.14.0-beta
  • 加入了 @minecraft/server 2.14.0-beta 版本
  • Script modules declaring script_eval now require explicit host approval before execution; Bedrock Dedicated Server hosts can grant approval by setting "allow_eval": true in config/<script-module-uuid>/permissions.json, or in config/default/permissions.json for modules without their own configuration; eval is denied by default, and allowed_modules: ["*"] alone does not grant eval permission
  • 声明 script_eval 的脚本模块现在需要在执行前获得宿主明确批准;基岩版专用服务器宿主可以通过在 config/<script-module-uuid>/permissions.json 中设置 "allow_eval": true 来授予批准,对于没有自己配置的模块,也可以在 config/default/permissions.json 中设置;eval 默认被拒绝,仅设置 allowed_modules: ["*"] 并不能授予 eval 权限
  • Released BlockEntityStorageComponent, BlockEntityStorageInfo, and ItemBlockEntityStorageComponent in @minecraft/server version 2.13.0 to stable
  • 在 @minecraft/server 的 2.13.0 版本中将 BlockEntityStorageComponent、BlockEntityStorageInfo 和 ItemBlockEntityStorageComponent 发布为稳定版
  • Updated the Editor status bar and Script API to support customization, with per-item popup menus for display options and a status bar options menu for changing item visibility and order
  • 更新了编辑器状态栏和脚本 API 以支持自定义,包括用于显示选项的逐项弹出菜单,以及用于更改项目可见性和顺序的状态栏选项菜单


@MINECRAFT/SERVER
@minecraft/server

  • Released world.afterEvents.portalActivate, PortalActivateAfterEventSignal, and PortalActivateAfterEvent with its player, dimension, and location properties in version 2.13.0, while portalType and PortalType remain in beta
  • 在 2.13.0 版本中发布了 world.afterEvents.portalActivate、PortalActivateAfterEventSignal 和 PortalActivateAfterEvent 及其 player、dimension 和 location 属性,而 portalType 和 PortalType 仍处于测试阶段


DDUI
数据驱动用户界面

  • Released CustomFormOptions with topCloseButtonVisibility property to version 2.5.0 of @minecraft/server-ui
  • 在 @minecraft/server-ui 2.5.0 版本中发布了带有 topCloseButtonVisibility 属性的 CustomFormOptions


ENTITY
实体

  • Added Entity.getItemInHandSlot to scripts version 2.13.0 to retrieve a copy of the item in a hand slot, returning undefined when the slot is empty
  • 在脚本版本 2.13.0 中加入了 Entity.getItemInHandSlot,用于获取手部槽位中物品的副本,当槽位为空时返回 undefined
  • Added Entity.setItemInHandSlot to scripts version 2.13.0 to replace the item in a hand slot, or clear the slot when the item is omitted or undefined
  • 在脚本版本 2.13.0 中加入了 Entity.setItemInHandSlot,用于替换手部槽位中的物品,或在省略物品或物品为 undefined 时清空该槽位
  • Added Entity.isHoldingItem to scripts version 2.13.0 to check whether an item in either hand matches a supplied predicate, checking non-empty hands in mainhand then offhand order and stopping at the first match
  • 在脚本版本 2.13.0 中加入了 Entity.isHoldingItem,用于检查任意一只手中的物品是否匹配提供的谓词,按主手、副手顺序检查非空手,并在首次匹配时停止


HANDSLOT
手部槽位

  • Added the HandSlot enum with Mainhand and Offhand values to scripts version 2.13.0
  • 在脚本版本 2.13.0 中加入了带有 Mainhand 和 Offhand 值的 HandSlot 枚举


ITEM EVENTS
物品事件

  • Added beta property handSlot to ItemUseBeforeEvent, ItemUseAfterEvent, ItemStartUseAfterEvent and ItemCompleteUseAfterEvent to identify the hand used
  • 为 ItemUseBeforeEvent、ItemUseAfterEvent、ItemStartUseAfterEvent 和 ItemCompleteUseAfterEvent 加入了测试属性 handSlot,用于识别使用的手
  • Added optional beta property handSlot to ItemReleaseUseAfterEvent and ItemStopUseAfterEvent, which is undefined when no item was being used
  • 为 ItemReleaseUseAfterEvent 和 ItemStopUseAfterEvent 加入了可选的测试属性 handSlot,当没有物品正在使用时该属性为 undefined
  • Added beta property handSlot to ItemComponentUseEvent and ItemComponentUseOnEvent to identify the hand that triggered the custom component event
  • 为 ItemComponentUseEvent 和 ItemComponentUseOnEvent 加入了测试属性 handSlot,用于识别触发自定义组件事件的手


LOOT TABLES
战利品表

  • The carry_over_block_entity_data loot function, including its dynamic_properties and entity_storage options, no longer requires the Upcoming Creator Features experiment
  • carry_over_block_entity_data 战利品函数(包括其 dynamic_properties 和 entity_storage 选项)不再需要“即将推出的创作者功能”


MOLANGVARIABLEMAP
MolangVariableMap

  • Fixed variable names with a v. prefix or uppercase letters being rejected or ignored by Molang
  • 修复了带有 v. 前缀或大写字母的变量名被 Molang 拒绝或忽略的漏洞


PLAYER INTERACTION EVENTS
玩家交互事件

  • Added beta property handSlot to PlayerInteractWithBlockBeforeEvent, PlayerInteractWithBlockAfterEvent, PlayerInteractWithEntityBeforeEvent and PlayerInteractWithEntityAfterEvent to identify the hand used
  • 为 PlayerInteractWithBlockBeforeEvent、PlayerInteractWithBlockAfterEvent、PlayerInteractWithEntityBeforeEvent 和 PlayerInteractWithEntityAfterEvent 加入了测试属性 handSlot,用于识别使用的手
  • Added beta property handSlot to PlayerPlaceBlockBeforeEvent and PlayerPlaceBlockAfterEvent to identify the hand used to place the block
  • 为 PlayerPlaceBlockBeforeEvent 和 PlayerPlaceBlockAfterEvent 加入了测试属性 handSlot,用于识别放置方块所用的手
  • Added beta property handSlot to BlockComponentPlayerInteractEvent to identify the hand used to interact with the block
  • 为 BlockComponentPlayerInteractEvent 加入了测试属性 handSlot,用于识别与方块交互所用的手
  • Added beta property handSlot to BlockComponentPlayerPlaceBeforeEvent to identify the hand used to place the block
  • 为 BlockComponentPlayerPlaceBeforeEvent 加入了测试属性 handSlot,用于识别放置方块所用的手


PLAYERDIMENSIONCHANGEAFTEREVENT
PlayerDimensionChangeAfterEvent

  • Moved the source property from beta to 2.13.0
  • 将 source 属性从测试版移至 2.13.0


PLAYERDIMENSIONCHANGESOURCE
PlayerDimensionChangeSource

  • Moved the PlayerDimensionChangeSource enum and its values Portal, TeleportCommand, PlayerRespawn, and Unknown from beta to 2.13.0
  • 将 PlayerDimensionChangeSource 枚举及其值 Portal、TeleportCommand、PlayerRespawn 和 Unknown 从测试版移至 2.13.0


PLAYERSWINGSTARTAFTEREVENT
PLAYERSWINGSTARTAFTEREVENT

  • heldItemStack now reports the item in the swinging hand, and the heldItemOption filter in PlayerSwingEventOptions now checks the swinging hand
  • heldItemStack 现在会报告挥动手中的物品,PlayerSwingEventOptions 中的 heldItemOption 筛选器现在会检查挥动的手
  • Added beta property handSlot to identify the hand used to swing
  • 加入了 beta 属性 handSlot,用于识别挥动所用的手


SERVER-UI
服务器 UI

  • Released version 2.5.0 and added 2.6.0 beta of @minecraft/server-ui
  • 发布了 @minecraft/server-ui 2.5.0 版本,并加入了 2.6.0 测试版


BLOCK COMPONENTS
方块组件

  • Fixed block culling rules with cull_against_full_and_opaque set to false still hiding faces next to full opaque blocks (MCPE-240757 )
  • 修复了将 cull_against_full_and_opaque 设为 false 的方块剔除规则仍会隐藏完整不透明方块相邻面的漏洞 (MCPE-240757 )
  • The entity_storage field of minecraft:block_entity no longer requires the Upcoming Creator Features experiment
  • minecraft:block_entity 的 entity_storage 字段不再需要“即将推出的创作者功能”


BLOCKS
方块

  • Fixed issue where an Unknown Block would trigger an assert
  • 修复了未知方块会触发断言的问题


COMMANDS
命令

  • Fixed a syntax error when a message or string argument starts with an even number of periods followed by a number
  • 修复了消息或字符串参数以偶数个句点后跟数字开头时的语法错误


EDITOR
编辑器

  • Three-point select functions better in void worlds and sparse skies
  • 三点选择在虚空世界和稀疏天空下表现更好
  • An in-progress/non-finalized three-point selection is colored a darker orange to indicate incompleteness
  • 进行中/未完成的三点选择会显示为更深的橙色,以表示尚未完成
  • The mouse cursor preview is not rendered while three-point select is active
  • 三点选择激活时不会渲染鼠标光标预览
  • Fixed an issue where CTRL+D / Clear would not work sometimes after creating selections
  • 修复了创建选择后 CTRL+D /“清除”有时不起作用的问题
  • Fixed an issue where the Position & Size vector labels in the selection tool were not in-sync with the selection volume in the world
  • 修复了选择工具中的“位置与大小”向量文本与世界中的选择体积不同步的问题
  • Fixed a bug where players could not change personal game mode, use /gamemode, or update game mode abilities when switching game modes in a Test World
  • 修复了在测试世界中切换游戏模式时,玩家无法更改个人游戏模式、使用 /gamemode 或更新游戏模式能力的漏洞
  • Fixed a bug where player dynamic properties set during an Editor extension's shutdown or IDisposable teardown were not saved
  • 修复了在编辑器扩展关闭或 IDisposable 清理期间设置的玩家动态属性未保存的漏洞
  • Changed some Primitives Tool log strings to be localized
  • 将部分图元工具日志字符串更改为可本地化
  • Fixed a bug where the Locator Bar remained visible in Tool Mode during multiplayer sessions
  • 修复了多人游戏会话中工具模式下定位条仍然可见的漏洞
  • Fixed a bug where the Navigation tool's Delete Stored Location confirmation pop-up had a wide gap between the message and the buttons
  • 修复了导航工具的“删除已存储位置”确认弹窗中消息与按钮之间间距过大的漏洞
  • Fixed issue where where Vibrant Visuals settings rendered as raw number and text fields instead of their intended controls: number timeline, color timeline, slider, color, vector3
  • 修复了灵动视效[暂译]设置显示为原始数字和文本字段,而不是其预期控件的问题:数字时间线、颜色时间线、滑块、颜色、vector3
  • Fixed a bug that caused the Guide Planes Y position slider to stop moving after a few keyboard steps
  • 修复了参考平面 Y 位置滑块在几次键盘操作后停止移动的漏洞
  • Fixed tooltip description text for "Drawing Distance Scaling" toggle in Annotation Management panel
  • 修复了注释管理面板中“绘制距离缩放”开关的提示框描述文本
  • Fixed a bug that caused a player to get stuck in Layout Editor when switching dimensions
  • 修复了玩家在切换维度时卡在布局编辑器中的漏洞
  • Fixed arrow-key navigation on the Editor landing page
  • 修复了编辑器着陆页上的方向键导航
  • Fixed a bug that caused clicking Mirror Z-axis checkbox to change the state of Mirror X-axis
  • 修复了点击“镜像 Z 轴”复选框会改变“镜像 X 轴”状态的漏洞
  • Fixed issue that was causing Annotation to render while in Layout Editor mode
  • 修复了在布局编辑器模式下仍会渲染注释的问题
  • Layouts baked into the editor world for a World Export or Test World are now always removed from it afterwards, even when the bake or the export fails
  • 为世界导出或测试世界烘焙到编辑器世界中的布局现在总会在之后从中移除,即使烘焙或导出失败
  • World Export and Test World now include Layouts from every dimension, not just the Overworld, and load each Layout instance in full
  • 世界导出和测试世界现在会包含每个维度的布局,而不仅仅是主世界,并完整加载每个布局实例
  • Fixed rotated or offset Layout structures not being fully removed from the editor world after a World Export or Test World
  • 修复了旋转或偏移的布局结构在世界导出或测试世界后未从编辑器世界中完全移除的漏洞
  • A World Export or Test World no longer hangs when an area cannot be loaded or the export fails
  • 当某个区域无法加载或导出失败时,世界导出或测试世界不再卡死
  • Layouts left baked in the editor world by an interrupted World Export or Test World are now removed automatically the next time the world is opened
  • 因世界导出或测试世界中断而留在编辑器世界中的布局,现在会在下次打开世界时自动移除
  • World Export and Test World now show their progress, and Test World reports why it failed instead of failing silently
  • 世界导出和测试世界现在会显示进度,测试世界会报告失败原因,而不是静默失败
  • World Export and Test World are faster in worlds with many Layout instances
  • 在包含许多布局实例的世界中,世界导出和测试世界变得更快
  • Added a Bake Layouts toggle, off by default, to Test World and to World Export (except Project Backup). Layouts are only baked into the exported or test world when it is on
  • 为测试世界和世界导出(项目备份除外)加入了“烘焙布局”开关,默认关闭。仅当开关开启时,布局才会烘焙到导出或测试世界中
  • A World Export or Test World now completes, with a warning, when some Layouts cannot be removed from the editor world afterwards. They are removed the next time the world is opened or exported
  • 当某些布局之后无法从编辑器世界中移除时,世界导出或测试世界现在会完成并显示警告。这些布局会在下次打开或导出世界时移除
  • World Export and Test World now show their progress in a dialog that blocks the editor until they finish, and wait for Bake All or the removal of Layouts left by an interrupted export instead of exporting the world while it is changing
  • 世界导出和测试世界现在会在一个对话框中显示进度,该对话框会阻塞编辑器直到完成,并等待“全部烘焙”或移除中断导出留下的布局,而不是在世界仍在变化时导出
  • World Export and Test World can now be cancelled from their progress dialog. Layouts already baked are still removed from the world, and Test World does not open the test world
  • 现在可以从进度对话框取消世界导出和测试世界。已烘焙的布局仍会从世界中移除,测试世界不会打开测试世界
  • Removing Layouts left baked by an interrupted World Export or Test World when the world opens now shows its progress in a dialog that blocks the editor until it finishes
  • 打开世界时移除中断的世界导出或测试世界留下的布局,现在会在一个对话框中显示进度,该对话框会阻塞编辑器直到完成
  • The World Export and Test World progress dialogs now show the current step, how many Layouts it has baked or removed, and an estimate of the time remaining
  • 世界导出和测试世界的进度对话框现在会显示当前步骤、已烘焙或移除的布局数量,以及预计剩余时间
  • The Bake All Layouts dialog, and the dialog shown while Layouts left by an interrupted export are removed, now show how many Layouts have been baked or removed and an estimate of the time remaining
  • “全部烘焙布局”对话框,以及移除中断导出留下的布局时显示的对话框,现在会显示已烘焙或移除的布局数量和预计剩余时间
  • Added the white outline to the Comment Entity speech-bubble model
  • 为注释实体的对话气泡模型加入了白色轮廓
  • Added the Comment Entity's delayed twirl and bob animation, including while the Editor simulation is paused
  • 加入了注释实体的延迟旋转和上下浮动动画,包括编辑器模拟暂停时
  • Centered the Comment Entity editor gizmo on the speech-bubble model bounds
  • 将注释实体编辑器操纵器居中到对话气泡模型边界
  • Added support for two action-menu display modes in the Block Table
  • 为方块表加入了两种操作菜单显示模式的支持


ENTITY COMPONENTS
实体组件

  • Added the following fields to the minecraft:projectile component for format versions 1.26.70 and newer
  • 为格式版本 1.26.70 及更新的 minecraft:projectile 组件加入了以下字段
    • lifetime: The minimum and maximum time in seconds the projectile exists before it expires, picked at random when the projectile spawns
    • lifetime:投掷物在消失前存在的最短和最长时间(秒),在投掷物生成时随机选取
      • Defaults to no lifetime, so the projectile never expires
      • 默认为没有生命周期,因此投掷物永远不会消失
    • on_expire: Subcomponents that run at the projectile's position when lifetime elapses, before the projectile is removed
    • on_expire:当 lifetime 结束时,在投掷物位置运行的子组件,运行发生在投掷物被移除之前
      • Supports the spawn_aoe_cloud and spawn_chance subcomponents
      • 支持 spawn_aoe_cloud 和 spawn_chance 子组件
      • Requires lifetime
      • 需要 lifetime

  • Added a new minecraft:on_collision entity component, available to entity definitions using the beta format version, which runs an entity event when another entity's collision box touches or overlaps the entity's collision box
  • 加入了新的 minecraft:on_collision 实体组件,可用于使用 beta 格式版本的实体定义,当另一个实体的碰撞箱接触或重叠该实体的碰撞箱时会运行实体事件
    • Requires minecraft:is_collidable
    • 需要 minecraft:is_collidable
    • Detects mobs, players and falling blocks, and, when the entity has minecraft:is_stackable, other entities that also have it, like boats and minecarts
    • 可检测生物、玩家和下落的方块,并且当实体具有 minecraft:is_stackable 时,还可检测同样具有该组件的其他实体,如船和矿车
    • triggers: A list of at least one entry, checked in order so that only the first entry checked that tick whose filters pass runs its event for each colliding entity
    • triggers:至少包含一个条目的列表,按顺序检查,因此在那一刻只有第一个通过筛选的条目会为每个碰撞实体运行其事件
      • event: The entity event to run
      • event:要运行的实体事件
      • filters: Optional filters that must pass, where self is the entity and other is the colliding entity
      • filters:必须通过的可选筛选器,其中 self 是该实体,other 是碰撞实体
      • target: The entity to run the event on, either self or other (the colliding entity), defaulting to self
      • target:要运行事件的实体,可以是 self 或 other(碰撞实体),默认为 self
      • collides_with: What the entity must collide with for the entry to react
      • collides_with:该条目要做出反应时实体必须碰撞的对象
        • entity: Reacts to another entity's collision box touching or overlapping the entity's collision box, regardless of which entity moved
        • entity:当另一个实体的碰撞箱接触或重叠该实体的碰撞箱时做出反应,无论哪个实体移动
      • trigger_mode: When the entry is checked, defaulting to once_per_contact
      • trigger_mode:何时检查该条目,默认为 once_per_contact
        • once_per_contact: Checks the entry only on the first tick of a contact
        • once_per_contact:仅在接触的第一刻检查该条目
        • continuous: Checks the entry every tick while the contact lasts
        • continuous:接触持续期间每刻检查该条目


  • Added the minecraft:immovable component, which makes the entity unable to move through navigation, water, knock-back or fishing rods
  • 加入了 minecraft:immovable 组件,使实体无法通过导航、水流、击退或钓鱼竿移动
  • Added a new minecraft:deals_no_collision_damage entity component, available to entity definitions using the beta format version, which stops entities that collide into the entity from taking collision damage
  • 加入了新的 minecraft:deals_no_collision_damage 实体组件,可用于使用 beta 格式版本的实体定义,可阻止撞入该实体的实体受到碰撞伤害
    • Requires minecraft:is_collidable
    • 需要 minecraft:is_collidable
    • Currently only prevents fly_into_wall damage
    • 目前仅能阻止 fly_into_wall 伤害
    • The colliding entity takes no collision damage for the rest of that tick
    • 碰撞实体在该刻剩余时间内不会受到碰撞伤害
    • filters: Optional filters that must pass for a colliding entity to take no collision damage, where self is the entity and other is the colliding entity
    • filters:碰撞实体不受碰撞伤害所必须通过的可选筛选器,其中 self 是该实体,other 是碰撞实体
      • When omitted, no colliding entity takes collision damage
      • 省略时,任何碰撞实体都不会受到碰撞伤害




MINECRAFT:RIDEABLE
minecraft:rideable

  • Fixed rotate_rider_by and lock_rider_rotation on seats being ignored for entities with a format_version of 1.26.60 or newer
  • 修复了 seats 上的 rotate_rider_by 和 lock_rider_rotation 在 format_version 为 1.26.60 或更新的实体上被忽略的漏洞
    • Setting either field enables it for the seat, even when it is set to its default value, matching older format versions
    • 设置任一字段即会为座位启用该字段,即使将其设为默认值也是如此,与较早的格式版本一致



ENTITY EVENT RESPONSES
实体事件响应

  • Added the spawn_group entity event response, which spawns a spawn group a random horizontal distance away from the target entity
  • 加入了 spawn_group 实体事件响应,可在距目标实体随机水平距离处生成一个生成组
    • spawn_group, the spawn group to spawn, from definitions/spawn_groups
    • spawn_group:要生成的生成组,来自 definitions/spawn_groups
    • spawn_offset, the range of horizontal distances in blocks to spawn the group at
    • spawn_offset:生成该组的水平距离范围(以方块计)
    • sound, an optional sound to play where the group spawns
    • sound:可选,在生成组的位置播放的声音
    • set_home_to_source_ground, whether to set the home of spawned mobs with a minecraft:home component to the ground below the target entity
    • set_home_to_source_ground:是否将带有 minecraft:home 组件的已生成生物的家设为目标实体下方的地面
    • target, the entity to spawn the group around
    • target:在其周围生成该组的实体
    • This response is still under development and will be released to creators in an upcoming release
    • 此响应仍在开发中,将在未来的版本中向创作者发布



ENTITY FILTERS
实体过滤器

  • Added the is_owned_by_self entity filter that tests whether the subject entity is owned by the calling entity
  • 加入了 is_owned_by_self 实体筛选器,用于测试目标实体是否由调用实体拥有


GAMEPLAY
玩法

  • Rain sounds and fog now resume correctly when rejoining a world while it is raining
  • 在下雨时重新加入世界,雨声和雾现在会正确恢复


GRAPHICAL
图像

  • Updated Vibrant Visuals autoexposure settings to improve visibility in low light environments
  • 更新了灵动视效[暂译]的自动曝光设置,以改善低光环境下的可见度


PARTICLES
粒子效果

  • Particle curves in format version 1.27.0 validate their type and control-node counts when loading: linear accepts 1-100 nodes, bezier exactly 4, and catmull_rom 4-100
  • 格式版本 1.27.0 中的粒子曲线在加载时会验证其类型和控制节点数量:linear 接受 1-100 个节点,bezier 恰好 4 个,catmull_rom 4-100 个
  • Particle curve names must not be empty
  • 粒子曲线名称不能为空
  • Bezier chain nodes require value or both left_value and right_value, and slope or both left_slope and right_slope
  • 贝塞尔链节点需要 value 或同时提供 left_value 和 right_value,并且需要 slope 或同时提供 left_slope 和 right_slope
  • Bezier chains use an array at particle_effect.curves.<name>.nodes, for example [{"time": "0.5", "node": {"value": 1, "slope": 0}}], with string times using the historical numeric-prefix conversion to finite floats in nondecreasing order
  • 贝塞尔链使用 particle_effect.curves.<name>.nodes 处的数组,例如 [{"time": "0.5", "node": {"value": 1, "slope": 0}}],字符串时间会使用历史上的数字前缀转换,按非递减顺序转为有限浮点数
  • Fixed a bug in minecraft:particle_lifetime_events so events due in the same update now consistently fire in ascending numeric timeline order, including for older format versions, while preserving event array order at each timestamp
  • 修复了 minecraft:particle_lifetime_events 中的一个漏洞,使同一次更新中到期的事件现在会按数字 timeline 升序一致触发,包括较早的格式版本,同时保留每个时间戳处的事件数组顺序


MINECRAFT DEBUGGER
Minecraft 调试器

  • Added support for using the server Entity System profiler through Minecraft Debugger
  • 加入了通过 Minecraft 调试器使用服务器实体系统分析器的支持


MOLANG
Molang

  • Hand slot queries now also accept 'slot.weapon.mainhand' and 'slot.weapon.offhand' as slot names
  • 手部槽位查询现在也接受 'slot.weapon.mainhand' 和 'slot.weapon.offhand' 作为槽位名称
    • Applies to query.get_equipped_item_name, query.is_item_equipped, query.item_is_charged, query.item_remaining_use_duration, and query.equipped_item_is_attachable
    • 适用于 query.get_equipped_item_name、query.is_item_equipped、query.item_is_charged、query.item_remaining_use_duration 和 query.equipped_item_is_attachable
  • Equipment slot queries now also accept 'main_hand' and 'off_hand' as slot names
  • 装备槽位查询现在也接受 'main_hand' 和 'off_hand' 作为槽位名称
    • Applies to query.is_cooldown_category, query.cooldown_time, query.cooldown_time_remaining, query.equipped_item_any_tag, and query.equipped_item_all_tags
    • 适用于 query.is_cooldown_category、query.cooldown_time、query.cooldown_time_remaining、query.equipped_item_any_tag 和 query.equipped_item_all_tags
    • query.cooldown_time_remaining('main_hand') and query.cooldown_time_remaining('off_hand') now read the item in that hand instead of looking up a cooldown category with that name
    • query.cooldown_time_remaining('main_hand') 和 query.cooldown_time_remaining('off_hand') 现在会读取该手中的物品,而不是查找同名冷却类别
  • query.is_item_name_any, query.equipped_item_any_tag and query.equipped_item_all_tags now return 0 without a content error when their slot name is an empty string
  • 当槽位名称为空字符串时,query.is_item_name_any、query.equipped_item_any_tag 和 query.equipped_item_all_tags 现在会返回 0 而不会产生内容错误
  • query.is_cooldown_category, query.cooldown_time, query.cooldown_time_remaining, query.is_item_name_any, and query.equipped_item_is_attachable no longer log a content error when evaluated without an entity
  • 在没有实体的情况下求值时,query.is_cooldown_category、query.cooldown_time、query.cooldown_time_remaining、query.is_item_name_any 和 query.equipped_item_is_attachable 不再记录内容错误


CHARACTER CREATOR
角色创建器

  • Fixed crash when equipping a custom skin on Amazon devices
  • 修复了在 Amazon 设备上装备自定义皮肤时发生的崩溃


STABILITY AND PERFORMANCE
性能与稳定性

  • Performance improvements for memory allocation on iOS
  • iOS 上内存分配的性能改进

EXPERIMENTAL TECHNICAL UPDATES
实验性技术性更新


API
API

Adds includeNamespaces and excludeNamespaces to ItemFilter . Items with a namespace in includeNamespaces will pass the filter, while items with a namespace in excludeNamespaces will be rejected. excludeNamespaces takes priority over includeNamespaces
为 ItemFilter 加入了 includeNamespaces 和 excludeNamespaces。命名空间列在 includeNamespaces 中的物品会通过筛选,而命名空间列在 excludeNamespaces 中的物品会被拒绝。excludeNamespaces 优先于 includeNamespaces

  • Added showSearchBox property to DiagnosticsTableViewOptions inside debug-utilities module
  • 为 debug-utilities 模块中的 DiagnosticsTableViewOptions 加入了 showSearchBox 属性
  • Fixed a bug where each live diagnostics tab could only contain a single view (chart or table).
  • 修复了每个实时诊断标签页只能包含一个视图(图表或表格)的漏洞。
  • Fixed a bug where live diagnostics tab data someones wouldn't update correctly.
  • 修复了实时诊断标签页数据有时无法正确更新的漏洞。
  • Fixed incorrect tooltip overflow message for shulker box items when modifying contents through ItemInventoryComponent.container (MCPE-244268 )
  • 修复了通过 ItemInventoryComponent.container 修改内容时,潜影盒物品的提示框溢出消息不正确的漏洞 (MCPE-244268 )
  • Added a new API into the @minecraft/debug-utilities module for interacting with the profiler
  • 在 @minecraft/debug-utilities 模块中加入了用于与分析器交互的新 API
    • Added new class ProfilerManager and profilerManager instance.
    • 加入了新类 ProfilerManager 和 profilerManager 实例。
    • This new class includes methods for starting, stopping and checking if a profile is active, alongside methods for adding custom profiler scopes and messages.
    • 这个新类包含启动、停止和检查分析是否处于活动状态的方法,以及添加自定义分析器作用域和消息的方法。
    • Added ProfilerError class and ProfilerErrorReason enum for error handling with profiler API interactions.
    • 加入了 ProfilerError 类和 ProfilerErrorReason 枚举,用于分析器 API 交互中的错误处理。
  • Added PortalType enum and PortalActivateAfterEvent.portalType property to @minecraft/server in beta
  • 在 beta 中为 @minecraft/server 加入了 PortalType 枚举和 PortalActivateAfterEvent.portalType 属性
  • world.afterEvents.portalActivate now also fires when a player activates an End portal by inserting the final Eye of Ender or when the Ender Dragon dies and spawns the End exit portal, reporting the portal's center as its location
  • world.afterEvents.portalActivate 现在还会在玩家插入最后一颗末影之眼激活末地传送门时,或在末影龙死亡并生成末地出口传送门时触发,并将传送门中心报告为其位置
  • Adds includeNamespaces and excludeNamespaces to SoundDefinitionFilter . If a Sound Definition has a namespace listed in includeNamespaces, it will be accepted by the filter. If a Sound Definition has a namespace listed in excludeNamespaces, it will be excluded by the filter. excludeNamespaces takes priority over includeNamespaces
  • 为 SoundDefinitionFilter 加入了 includeNamespaces 和 excludeNamespaces。如果声音定义的命名空间列在 includeNamespaces 中,它会被筛选器接受。如果声音定义的命名空间列在 excludeNamespaces 中,它会被筛选器排除。excludeNamespaces 优先于 includeNamespaces
  • Adds includeNamespaces and excludeNamespaces to the beta version of EntityEventOptions filter. If an entity has a namespace listed by includeNamespaces, the event will trigger. If an entity has a namespace listed by excludeNamespaces, the event will not trigger. excludeNamespaces takes priority over includeNamespaces
  • 为测试版 EntityEventOptions 筛选器加入了 includeNamespaces 和 excludeNamespaces。如果实体的命名空间列在 includeNamespaces 中,事件会触发。如果实体的命名空间列在 excludeNamespaces 中,事件不会触发。excludeNamespaces 优先于 includeNamespaces
  • Adds includeNamespaces and excludeNamespaces to BlockEventOptions . If includeNamespaces is set, this event will only fire if the namespace of the impacted block is listed. If excludeNamespaces is set, this event will not fire if the namespace of the impacted block is listed. excludeNamespaces takes priority over includeNamespaces
  • 为 BlockEventOptions 加入了 includeNamespaces 和 excludeNamespaces。如果设置了 includeNamespaces,则只有在受影响方块的命名空间被列出时,此事件才会触发。如果设置了 excludeNamespaces,则当受影响方块的命名空间被列出时,此事件不会触发。excludeNamespaces 优先于 includeNamespaces
  • Added beta method Entity.getHitboxes() to read an entity's hit-detection boxes
  • 加入了测试方法 Entity.getHitboxes(),用于读取实体的命中检测箱
  • Added the beta world.afterEvents.chunkLoad and world.afterEvents.chunkUnload events for server chunk scripting availability transitions
  • 加入了测试版 world.afterEvents.chunkLoad 和 world.afterEvents.chunkUnload 事件,用于服务器区块脚本可用性变化
  • Added the speedModifier property to the beta minecraft:climbable script API component, which returns the factor by which the default climbing speed is adjusted
  • 为测试版 minecraft:climbable 脚本 API 组件加入了 speedModifier 属性,该属性返回默认攀爬速度的调整系数
  • Added beta Script API access to the minecraft:flammable block component through BlockFlammableComponent . This API allows access to the 4 properties in minecraft:flammable: "catchChanceModifier", "destoryChanceModifier", "lavaFlammable", and "infiniteBurning".
  • 通过 BlockFlammableComponent 加入了测试版对 minecraft:flammable 方块组件的脚本 API 访问。此 API 允许访问 minecraft:flammable 中的 4 个属性:catchChanceModifier destoryChanceModifier lavaFlammable 和 infiniteBurning。


LOOT TABLES
战利品表

  • Added the alternatives loot pool entry type, which uses the first entry in its children array whose conditions pass, requiring the Upcoming Creator Features experiment and a format_version of 1.27.0 or higher
  • 加入了 alternatives 战利品池条目类型,它会使用其 children 数组中第一个条件通过的条目,需要开启“即将推出的创作者功能”且 format_version 为 1.27.0 或更高
    • The alternatives entry's own conditions are checked before any of its children
    • alternatives 条目自身的 conditions 会在其任何 children 之前检查
    • The chosen child takes part in the pool's weighted selection using its own weight and quality, and applies its own functions and pools
    • 被选中的子条目会使用自己的 weight 和 quality 参与池的加权选择,并应用自己的 functions 和 pools
    • Children can be any entry type, including nested alternatives entries
    • 子条目可以是任何条目类型,包括嵌套的 alternatives 条目
    • weight, quality, functions, and pools set directly on an alternatives entry are ignored and report a content log warning
    • 直接设置在 alternatives 条目上的 weight、quality、functions 和 pools 会被忽略,并报告内容日志警告
    • A content log warning is reported when a child without conditions prevents the children after it from ever being picked
    • 当没有 conditions 的子条目导致其后的子条目永远无法被选中时,会报告内容日志警告
  • Loot pool entry type values can now use the optional minecraft: namespace, such as minecraft:item, with the Upcoming Creator Features experiment and a format_version of 1.27.0 or higher
  • 战利品池条目 type 值现在可以使用可选的 minecraft: 命名空间,例如 minecraft:item,需要开启“即将推出的创作者功能”实验且 format_version 为 1.27.0 或更高


EXAMPLE
示例


The following loot table drops a diamond when the mob was killed by a player or their pet, and otherwise drops a stick:
以下战利品表在生物被玩家或其宠物杀死时掉落钻石,否则掉落木棍:

{
  "format_version": "1.27.0",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:alternatives",
          "children": [
            {
              "type": "minecraft:item",
              "name": "minecraft:diamond",
              "conditions": [ { "condition": "killed_by_player_or_pets" } ]
            },
            {
              "type": "minecraft:item",
              "name": "minecraft:stick"
            }
          ]
        }
      ]
    }
  ]
}

LOOTALTERNATIVESENTRY
LootAlternativesEntry

  • Added beta class LootAlternativesEntry to @minecraft/server to read alternatives loot pool entries, which are available with the Upcoming Creator Features experiment
  • 在 @minecraft/server 中加入了测试类 LootAlternativesEntry,用于读取 alternatives 战利品池条目,这些条目需开启“即将推出的创作者功能”
    • Added read-only property children that returns the child entries in the order they are evaluated
    • 加入了只读属性 children,按评估顺序返回子条目
    • Added read-only property conditions that returns the conditions checked before the children are evaluated
    • 加入了只读属性 conditions,返回在评估子条目之前检查的条件
    • LootPool.entries includes alternatives entries in beta, and omits them in stable versions
    • LootPool.entries 在测试版中包含 alternatives 条目,在稳定版本中省略它们



SOUNDS
音效

  • In beta, Dimension.playSound can now use the broadcast option when passing in an entity as a location
  • 在 beta 中,Dimension.playSound 现在在传入实体作为位置时可以使用 broadcast 选项


BLOCKS
方块

  • Added an optional speed_modifier field to the experimental minecraft:climbable block component. This modifier will be removed in an upcoming preview
  • 为实验性 minecraft:climbable 方块组件加入了可选的 speed_modifier 字段。此修饰符将在即将推出的预览版中移除
  • A minecraft:collision_box component using a voxel shape ID now falls back to the default shape if the shape is completely out of collision bounds (16x24x16). The default voxel shape for collision is a full unit cube.
  • 使用体素形状 ID 的 minecraft:collision_box 组件现在会在形状完全超出碰撞边界(16x24x16)时回退到默认形状。碰撞的默认体素形状是一个完整的单位立方体。
  • Applying transformations through the minecraft:transformation component will no longer cause the minecraft:collision_box component to go out of bounds.
  • 通过 minecraft:transformation 组件应用变换将不再导致 minecraft:collision_box 组件超出边界。
    • If the applied transformation causes a collision box to partially go out of bounds, it will clamp the shape to the allowed collision bounds with a warning.
    • 如果应用的变换导致碰撞箱部分超出边界,它会将形状钳制到允许的碰撞边界,并给出警告。
    • If the applied transformation causes a collision box to completely go out of bounds, it will fall back to the default shape
    • 如果应用的变换导致碰撞箱完全超出边界,它会回退到默认形状
  • Added the experimental minecraft:flammable block component, which defines a new field "infinite_burning" that allows fires on top of the block to burn indefinitely. Upcoming Creator Features experiment to be turned on
  • 加入了实验性 minecraft:flammable 方块组件,它定义了一个新字段“infinite_burning”,允许方块顶部的火无限燃烧。需要开启“即将推出的创作者功能”


VOXEL SHAPES
体素形状

  • Vanilla blocks now get their support from support voxel shapes when the Voxel Shapes experiment is enabled
  • 启用体素形状实验后,原版方块现在会从支撑体素形状获得支撑
    • Walls give Center support on their connected sides
    • 墙在其连接侧提供中心支撑
    • Hanging signs and anvils give Center support on their top face
    • 悬挂告示牌和铁砧在其顶面提供中心支撑
    • Cauldrons, enchanting tables, farmland, dirt paths, stonecutters, and end portal frames give Center support on their sides, and end portal frames with an eye also give it on their top face
    • 炼药锅、附魔台、耕地、土径、切石机和末地传送门框架在其侧面提供中心支撑,带有末影之眼的末地传送门框架还会在其顶面提供中心支撑
    • Structure blocks give support on every face
    • 结构方块在每个面都提供支撑
  • More vanilla blocks get their support from support voxel shapes when the Voxel Shapes experiment is enabled, including hoppers, glass panes, and corner stairs
  • 启用体素形状实验后,更多原版方块会从支撑体素形状获得支撑,包括漏斗、玻璃板和转角楼梯
    • Inner corner stairs give support on both of their full sides
    • 内角楼梯在其两个完整侧面提供支撑
    • Outer corner stairs no longer give support on their back face, since they only cover part of it
    • 外角楼梯不再在其背面提供支撑,因为它们只覆盖了背面的一部分
    • Border blocks and the new walls give Center support on their connected sides, like other walls
    • 边界方块和新的墙在其连接侧提供中心支撑,与其他墙相同
  • More vanilla blocks get their support from support voxel shapes when the Voxel Shapes experiment is enabled, including concrete and wool slabs and stairs, calcite blocks, snow bricks, packed ice bricks, red shrubs, and shelf mushrooms
  • 启用体素形状实验后,更多原版方块会从支撑体素形状获得支撑,包括混凝土和羊毛台阶与楼梯、方解石方块、雪砖、浮冰砖、红灌木和层孔菇
    • Inner corner stairs give support on both of their full sides
    • 内角楼梯在其两个完整侧面提供支撑
    • Outer corner stairs no longer give support on their back face, since they only cover part of it
    • 外角楼梯不再在其背面提供支撑,因为它们只覆盖了背面的一部分



GAMEPLAY
玩法

  • With Offhand Parity enabled, Shields now lower when Use is released even when the other hand holds a charged Crossbow
  • 启用副手趋同后,即使另一只手拿着已蓄力的弩,松开“使用”时盾牌现在也会放下


GRAPHICS
图像

  • With Offhand Parity enabled, charged offhand Crossbows no longer hide main-hand items
  • 启用副手趋同后,已蓄力的副手弩不再遮挡主手物品
  • Fixed emissive blocks in hand not glowing on medium block light quality settings
  • 修复了在中等方块光照质量设置下,手中的发光方块不发光的问题


OFF-HAND PARITY
副手趋同

  • Main-hand Spears no longer inherit the off-hand Spear's charging rotation in first-person or third-person view with the Off-hand Parity experiment enabled
  • 启用副手趋同后,主手矛在第一人称或第三人称视角下不再继承副手矛的蓄力旋转
  • Off-hand Tridents now use mirrored Riptide poses in first- and third-person views with the Off-hand Parity experiment enabled
  • 启用副手趋同后,副手三叉戟在第一人称和第三人称视角下现在使用镜像的激流姿势
  • Off-hand Spyglasses now align with the corresponding eye in third-person view with the Off-hand Parity experiment enabled
  • 启用副手趋同后,副手望远镜在第三人称视角下现在会与对应的眼睛对齐
  • Fire Aspect and other on-hit enchantment effects now work with Spears held in the off-hand (MCPE-244409 )
  • 火焰附加和其他命中时触发的魔咒效果现在对副手矛生效 (MCPE-244409 )
  • Spears held in the off-hand no longer move when attacking with the main hand in third-person view
  • 在第三人称视角下用主手攻击时,副手矛不再移动
  • Off-hand attachable items now receive first-person breathing bob when view bobbing and the Off-hand Parity experiment are enabled
  • 启用视角摇晃和副手趋同后,副手附着物现在会获得第一人称呼吸晃动
  • Pointed Dripstone, Sulfur Spikes, and Icicles held in the off-hand now mirror their main-hand positioning in third-person view (MCPE-244432 )
  • 副手持有的滴水石锥、硫黄尖锥和冰锥在第三人称视角下现在会镜像其主手位置 (MCPE-244432 )
  • Locked off-hand items now display their item-lock indicator in the hotbar when the showtags gamerule and the Off-hand Parity experiment are enabled
  • 启用 showtags 游戏规则和副手趋同后,已锁定的副手物品现在会在快捷栏中显示物品锁定指示器
  • The off-hand hotbar slot now has rounded corners, matching Java Edition (MCPE-244406 )
  • 副手快捷栏槽位现在具有圆角,与 Java 版一致 (MCPE-244406 )
  • Filling a Glass Bottle from the off-hand in Creative Mode now produces only one Water Bottle (MCPE-244441 )
  • 在创造模式下用副手装填玻璃瓶现在只产生一个水瓶 (MCPE-244441 )
  • Respawn Anchors now prioritize charging from the offhand if they can, before being used when fully charged
  • 重生锚现在会优先从副手充能(如果可以),然后再在充满后使用
  • Off-hand Spears now turn in the viewing direction while held or charged in third-person view with the Off-hand Parity experiment enabled
  • 启用副手趋同后,副手矛在第三人称视角下持有或蓄力时现在会转向视线方向
  • The off-hand hotbar slot background now matches the opacity of the main hotbar with the Off-hand Parity experiment enabled
  • 启用副手趋同后,副手快捷栏槽位背景现在与主快捷栏的不透明度一致
  • Off-hand Spears keep their third-person holding pose while the main-hand Spear jabs
  • 主手矛刺击时,副手矛会保持其第三人称持握姿势
  • Goat Horns now face the correct direction when blown in the off-hand in third-person view (MCPE-244504 )
  • 在第三人称视角下用副手吹响山羊角时,山羊角现在会朝向正确方向 (MCPE-244504 )
  • Heavy Cores held in the off-hand now match their main-hand size in third-person view (MCPE-244503 )
  • 副手持有的沉重核心在第三人称视角下现在会与其主手大小一致 (MCPE-244503 )
  • Candles held in the off-hand can now be placed on Cakes when the player cannot eat the Cake (MCPE-244562 )
  • 玩家无法食用蛋糕时,副手持有的蜡烛现在可以放在蛋糕上 (MCPE-244562 )
  • Increased the gap between the off-hand slot and hotbar to match Java Edition (MCPE-244577 )
  • 增大了副手槽位与快捷栏之间的间距,以与 Java 版一致 (MCPE-244577 )
  • Spears held in the off-hand now mirror the main-hand arm animation during swimming and crawling in third-person view (MCPE-244520 )
  • 在第三人称视角下游泳和爬行时,副手矛现在会镜像主手手臂动画 (MCPE-244520 )
  • Fixed a crash when entering Crosshair mode in Editor while holding an item in the off-hand slot (MCPE-244571 )
  • 修复了在编辑器中副手槽位持有物品时进入准星模式发生的崩溃 (MCPE-244571 )
  • Bows and Crossbows now show their charging animations in the hotbar and off-hand slot while being used (MCPE-244169 )
  • 弓和弩在使用时现在会在快捷栏和副手槽位中显示蓄力动画 (MCPE-244169 )
  • Arms now sway naturally while holding a charged Crossbow in third-person view (MCPE-244416 )
  • 在第三人称视角下持有已蓄力的弩时,手臂现在会自然摆动 (MCPE-244416 )
  • Available with the Off-hand Parity experiment enabled
  • 启用副手趋同后可用
  • HUD interaction prompts now show actions available with the item in your off-hand when the item in your main hand has no interaction available
  • 主手物品没有可用交互时,HUD 交互提示现在会显示副手物品可执行的操作


PACK SETTINGS
包设置

  • Fixed issue where when creating a world, pack settings that were set on some packs would not be saved during the world's creation
  • 修复了创建世界时,某些包上设置的包设置在世界创建过程中未保存的问题



【Cat_Anchor 译自feedback.minecraft.net 2026 年 12 月 3 日发布的 Minecraft Beta & Preview - 27.0.20】
【本文排版借助了:SPXXKLP 用户脚本 v3.2.9】



Powered by SPXXKLP 3.2.9 with love
Converted at 2026-12-03 06:04 +0800


|想了解更多游戏资讯?
您需要登录后才可以回帖 登录 | 立即注册
本版积分规则