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 FEATURES 辅助功能
Fixed text field narration restarting label and description on every keypress
修复了每次按键时,文本字段的朗读都会重新开始读标签和描述的漏洞
Text field now narrates its content when editing is stopped via keyboard or gamepad
现在,通过键盘或手柄停止编辑时,文本字段会朗读其内容
Fixed a bug where Sweet Berry Bush damage did not produce closed captions (MCPE-238265)
Fixed an issue where a ghost block was being created when simultaneously releasing crouch and placing a block on an interactive block such as a Decorated Pot, Item Frame, or Chest (MCPE-189683) (MCPE-234423)
Fixed an issue where cloud reflections in water were unusually bright for a few seconds after switching to midnight time in Vibrant Visuals. (MCPE-221546)
Fixed an issue where component-rendered custom blocks did not show emissive/MER effects when held, dropped, or displayed in item frames or shelves with Vibrant Visuals enabled. (MCPE-237517)
修复了在灵动视效[暂译]启用时,组件渲染的自定义方块在手持、掉落、放在物品展示框或架子中时不显示自发光 / MER 效果的问题 (MCPE-237517)
ITEMS 物品
Mobs released from a Bucket no longer carry over their state from before they were captured (MCPE-238275)
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
修复了在选中不支持的语言时启用文本转语音,会导致新设置界面显示过时警告弹窗的漏洞
TECHNICAL UPDATES 技术性更新
AI GOALS AI 意向
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.
Made the schema for minecraft:behavior.beg stricter when parsing, now will fail to load an entity json that has invalid data in versions 1.26.40 and newer. Int Range field look_time now only accepts an object with min and max values. Other formats will fail to parse
解析 minecraft:behavior.beg 意向的模式现在更加严格,对于 1.26.40 及以上版本,如果实体 JSON 包含无效数据,将无法加载。浮点数范围字段 look_time 现在仅接受包含 min 和 max 字段的对象。将无法解析其他格式
Made the schema for minecraft:behavior.drink_potion stricter when parsing, now will fail to load an entity json that has invalid data in versions 1.26.40 and newer
Made the schema for minecraft:behavior.float_wander stricter when parsing, now will fail to load an entity json that has invalid data in versions 1.26.40 and newer. Float Range field float_duration now only accepts an object with min and max values. Other formats will fail to parse
解析 minecraft:behavior.float_wander 意向的模式现在更加严格,对于 1.26.40 及以上版本,如果实体 JSON 包含无效数据,将无法加载。浮点数范围字段 float_duration 现在仅接受包含 min 和 max 字段的对象。将无法解析其他格式
Made the schema for minecraft:behavior.summon_entity stricter when parsing, now will fail to load an entity json that has invalid data in versions 1.26.40 and newer
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.
This is to give the offsets when placed inside a Shelf Block
提供了放在展示架内方块的偏移值
Pre 1.26.40 blocks with a "fixed" value will have that value copied to "shelf"
1.26.40 之前使用 fixed 字段的方块,其值将被复制到 shelf 字段
New 1.26.40 blocks will be able to define "fixed" for Item Frame and "self" for Shelf Block
新的 1.26.40 方块将能够为物品展示框定义 fixed,为展示架定义 shelf
译注:原文 self 为笔误,已在译文中修正。
BUG 漏洞
Updating a structure from clipboard now opens a confirmation dialog before overwriting, and the option is disabled when the clipboard has no content
现在从剪贴板更新结构时,覆盖前会打开确认对话框,且当剪贴板无内容时该选项被禁用
Added pagination and selector menu support for tabs
为标签页加入了分页和选择器菜单支持
Using mouse wheel scroll on tool rail, action bar items and floating window tabs will now toggle between pages
现在在工具条、快捷栏物品和浮动窗口标签页上使用鼠标滚轮滚动,会在页面之间切换
Added scrolling support for the menu bar and context submenus when they extend beyond the window size
为菜单栏和上下文子菜单超出窗口大小时加入了滚动支持
EDITOR 编辑器
Builds no longer crash or incorrectly copies data out of the Shared 'minecraftWorlds' folder for worlds (with behavior / resource packs enabled) upon exiting the Edit Project screen using the Back / Resume buttons
Fixed minecraft:shooter component not being able to shoot if no ammunition was defined
修复了未定义弹药时,minecraft:shooter 组件无法射击的漏洞
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 in two previously-broken cases:
资源包中的自定义物品定义现在能在以下两种此前失效的情况下,可靠地覆盖其原版对应物品:
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 .
A custom definition targeting a Vanilla item by its flattened identifier (e.g. minecraft:enchanted_golden_apple) now correctly applies even when Vanilla defines the item under its legacy identifier (e.g. minecraft:appleEnchanted). (MCPE-185730)
Infinitely-looping sounds (loopCount: -1) stop automatically when the last SoundInstance reference is dropped; retain the handle to keep the sound playing
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
SoundInstance 现在公开了 id 属性,返回该实例的唯一标识符
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
加入了 minecraft:instrument_sound 组件的 API
it has a getInstrumentName function to get the assigned instrument given a valid facing Direction
它有 getInstrumentName 函数,用于在给定有效朝向方向时获取所分配的乐器
it has a playInstrumentSound function to play the instrument sound assinged to a given valid facing Direction
它有 playInstrumentSound 函数,用于播放分配给给定有效朝向方向的乐器音效
the component can be obtained from any custom or vanilla block; if a block does not have the component explicitly defined, then a component with the default sounds will be returned
该组件可从任何自定义或原版方块获取;如果方块没有显式定义该组件,则会返回带有默认音效的组件
Fixed PlayerStartBreakingBlock and PlayerCancelBreakingBlock from firing when a block can't be broken by item in creative
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.
Cannot also define the minecraft:block_entity component
不能同时定义 minecraft:block_entity 组件
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
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