FEATURES AND BUG FIXES
特性和漏洞修复
VANILLA PARITY
原版特性同步
- Getting killed by a mob with a renamed weapon now produces a death message with the item name (MCPE-162055)
- 被生物使用命名后武器杀死时,将会产生一条带有物品名称的死亡消息 (MCPE-162055)
- Wither Skeletons can now spawn inside of Wither Roses (MCPE-110127)
- 凋灵骷髅现在可在凋灵玫瑰中生成 (MCPE-110127)
- Decreased the amount of hunger used while swimming to match Java Edition (MCPE-154452)
- 减少了游泳消耗的饥饿值,以与 Java 版相匹配 (MCPE-154452)
- Librarian Villagers can now offer Enchanted Books with Curse of Vanishing and Curse of Binding (MCPE-84906)
- 图书管理员村民现在可提供消失诅咒和绑定诅咒的附魔书 (MCPE-84906)
SPECTATOR MODE (EXPERIMENTAL)
旁观模式 (实验性游戏特性)
- Shulker bullets no longer follow Spectators (MCPE-162069)
- 潜影弹不会追踪旁观模式玩家了 (MCPE-162069)
- Spectators are now invisible to normal players
- 旁观模式玩家现在对正常玩家不可见
- If a player is in Spectator Mode and other non-spectating players are present on the server, the spectating player won’t affect mob despawning anymore
- 若一个旁观模式玩家和多个非旁观模式玩家出现在服务器中,旁观模式玩家不会影响生物的消失了
- If there are only spectating players on the server, mob despawning is now put on hold
- 若服务器中仅有旁观模式玩家,生物消失将会暂停
USER INTERFACE
用户界面
- Fixed a bug where death messages were sometimes too long to fit on screen (MCPE-156550)
- 修复了死亡消息有时候太长,无法适应屏幕大小的问题 (MCPE-156550)
- The inventory button for touch devices is now reset to its default appearance after closing the inventory
- 触摸设备的背包按钮在关闭背包后将重置为默认外观
- Fixed the crafting screen search string not saving correctly
- 修复了合成界面搜索的字符串未能正确保存的问题
- Fixed an issue with the durability bar missing on inventory screens on Xbox (MCPE-162063)
- 修复了 Xbox 平台上背包界面中物品耐久条消失的问题 (MCPE-162063)
- Fixed a bug where the sign in button on Create New World didn’t work on some platforms
- 修复了某些平台上创建新世界界面中登录按钮不起作用的问题
MOBILE TOUCH CONTROLS
移动端触摸控制
- Fixed a bug where items could not be removed from the hotbar by moving them onto other items in Creative Inventory on mobile devices
- 修复了移动设备上处于创造模式时,无法通过拖拽快捷栏物品到其他物品上方将其丢弃的问题
- Fixed an issue where the stack splitting progress bar was not aligned on touch mode
- 修复了堆叠后的物品分开时的进度条在触摸控制模式下未能正确对齐的问题
- Adjusted layout of the touch toolbar and status effect icons based on user feedback
- 基于用户的反馈,调整了触摸控制的工具栏和状态效果的图标
- Temporarily disabled the preview of our new Touch Stack Splitting UX while we work through feedback
- 我们仍在根据用户反馈作出修改,暂时禁用了触摸控制下新的物品堆切分用户体验
MOBS
生物
- When a mob is a passenger in a Boat, neither the Boat nor the mob are allowed to change dimension (MCPE-154919)
- 若生物正乘坐在船中,船和这个生物都无法改变维度 (MCPE-154919)
BLOCKS
方块
- The book of an Enchanting Table now properly faces a nearby player (MCPE-29924)
- 附魔台上的书现在将正确朝向一位邻近的玩家 (MCPE-29924)
NPC (EDU)
NPC (教育版)
- NPCs can now have no name, hiding the nametag above their head
- 现在 NPC 可以没有名字,若没有名字也将隐藏他们头顶的命名牌
MARKETPLACE
市场
- Fixed an issue with Marketplace bundle prices not showing as free after purchasing
- 修复了市场捆绑包的价格在购买后不显示为免费的问题
PERFORMANCE AND STABILITY
性能与稳定性
- Fixed a potential crash source in explosions
- 修复了爆炸时一个潜在的崩溃来源
- Fixed a crash that could occur when leaving a split screen session
- 修复了切出分屏时可能出现的崩溃
TECHNICAL UPDATES
技术性更新
EXPERIMENTAL FEATURES
实验性特性
API
API
Major breaking change to experimental JavaScript APIs:
对实验性 JavaScript API 作出的重要变更:
All script modules have been renamed to follow a new convention.
按照新规定,所有脚本模块都进行了重命名。
- mojang-gametest -> @minecraft/server-gametest
- mojang-gametest -> @minecraft/server-gametest
- mojang-minecraft -> @minecraft/server
- mojang-minecraft -> @minecraft/server
- mojang-minecraft-ui -> @minecraft/server-ui
- mojang-minecraft-ui -> @minecraft/server-ui
- mojang-minecraft-server-admin -> @minecraft/server-admin
- mojang-minecraft-server-admin -> @minecraft/server-admin
- mojang-net -> @minecraft/server-net
- mojang-net -> @minecraft/server-net
For example, rather than using:
例如,对于旧用法:
import * as mc from “mojang-minecraft”;
import * as mc from “mojang-minecraft”;
Use
新用法应当使用
import * as mc from “@minecraft/server”;
import * as mc from “@minecraft/server”;
- Use of script eval()and Function() must be explicitly enabled injson
- 如需使用 eval() 和 Function(),必须在 json 内显式声明启用
- To do this, set script_evalin capabilities
- 若要这样做,设置 script_evalin 功能
“capabilities”: [“script_eval”]
“capabilities”: [“script_eval”]
- Root path for imports has changed; scripts/prefix are no longer allowed.
- 导入的根目录已修改;scripts/prefix 不再受允许。
- For imports, use import “./source.js” or import “source.js”
- 例如,现在应使用 import “./source.js” 或 import “source.js”
- Deprecated use of import “scripts/source.js”
- 弃用了 “scripts/source.js” 导入的使用
ACTOR PROPERTIES
活动对象属性
- Fixed “bool_property” filters that didn’t specify a “value”
- 修复了 “bool_property” 过滤器不指定一个 “value” 的问题
COMMANDS
命令
- Temporarily disabled the rotation for the /summon command while a bug is worked on
- 因正在修复一个有关此问题的 bug,/summon 指令的旋转功能已被暂时禁用
- Fixed a rotation issue when a Command Block executes ‘execute facing’ and ‘execute rotated’ (MCPE-162256)
- 修复了命令方块执行 ‘execute facing’ 和 ‘execute rotated’ 时的旋转问题 (MCPE-162256)
- Implemented the ‘/execute in’ command
- 实现了 ‘/execute in’ 指令
- Implemented the ‘/execute anchored <eyes|feet>’ command
- 实现了 ‘/execute anchored <eyes|feet>’ 指令
GENERAL
通用
- Release BlockGeometryComponent out of experimental in JSON formats 1.19.40 and higher
- 对 1.19.40 及更高的 JSON 格式,将 BlockGeometryComponent 作为正式版内容移出了实验性游戏特性
- Release BlockMaterialInstancesComponent out of experimental in JSON formats 1.19.40 and higher
- 对 1.19.40 及更高的 JSON 格式,将 BlockMaterialInstancesComponent 作为正式版内容移出了实验性游戏特性
- Renamed minecraft:block_light_filter component to minecraft:light_dampening
- 将 minecraft:block_light_filter 组件重命名为 minecraft:light_dampening
来源:苦力怕553