Features and Bug Fixes
特性与漏洞修复
Commands
命令
- Fixed a crash that could occur if a structure was placed with a command in an unloaded area, and that structure was deleted
- 修复了在未加载区域使用命令放置结构并删除该结构可能会崩溃的问题
Graphical
图形
- Fixed text from signs drawing on maps when RTX is on
- 修复了开启 RTX 情况下告示牌的文字会显示到地图上的问题
Items
物品
- Clock and Compass items no longer function in the Recipe Book (MCPE-36354)
- 配方书中钟和指南针的贴图不再会动了(MCPE-36354)
Structure Blocks
结构方块
- Added Corner mode to Structure Blocks, which is used with Save mode’s Detect button to automatically set the area you want to save
- 加入了角落模式结构方块,可以与储存模式结构方块的探测功能配合使用,自动选中你想要的范围
- Fixed tamed Wolves being transparent on the Structure Block screen
- 修复了结构方块界面中被驯服的狼为透明的问题
Technical Updates
技术性更新
GameTest Framework (Experimental)
GameTest 框架(实验性)
- Renamed helper method worldLocation(location : BlockLocation) to worldBlockLocation(location : BlockLocation)
- 将辅助方法 worldLocation(location : BlockLocation) 重命名为 worldBlockLocation(location : BlockLocation)
- Renamed helper method relativeLocation(location : BlockLocation) to relativeBlockLocation(location : BlockLocation)
- 将辅助方法 relativeLocation(location : BlockLocation) 重命名为 relativeBlockLocation(location : BlockLocation)
- Added helper method worldLocation(relativeLocation : Location) : Location – From a Location with coordinates relative to the GameTest structure block, returns a new Location with coordinates relative to the world
- 加入辅助方法 worldLocation(relativeLocation : Location) : Location – 接受一个含有相对于该 GameTest 结构方块的坐标的 Location,返回一个新的含有相对于世界的坐标的 Location
- Added helper method relativeLocation(worldLocation : Location) : Location – From a Location, returns a new Location with coordinates relative to the current GameTest structure block
- 加入辅助方法 relativeLocation(worldLocation : Location) : Location – 接受一个 Location,返回一个新的含有相对于该 GameTest 结构方块的坐标的 Location
- Added helper method spawnWithoutBehaviorsAtLocation(entityIdentifier : string, location : Location) : Entity – Spawns an entity at a location without any AI behaviors
- 加入辅助方法 spawnWithoutBehaviorsAtLocation(entityIdentifier : string, location : Location) : Entity – 在指定位置生成一个没有任何 AI 行为的实体
- Added helper method rotateDirection(direction : Direction) : Direction – Rotates the given direction relative to the GameTest structure rotation
- 加入辅助方法 rotateDirection(direction : Direction) : Direction – 将传入的方向按相对于该 GameTest 结构的方向转向
- Added helper method getTestDirection() : Direction – Returns the direction the GameTest is facing based on its structure rotation
- 加入辅助方法 getTestDirection() : Direction – 返回该 GameTest 面向的方向(其结构方向)
Commands
命令
- Commands ran through animations now will run in the order defined in animation files on all platforms, including Realms
- 由动画触发的命令现在会在所有平台(包括领域)上都以其在动画文件中定义的顺序执行了
- Commands or structures being placed in a loaded area that is only partially loaded by a ticking area will now be considered loaded if the required chunks are loaded
- 仅由常加载区域部分加载的区域中放置的命令或结构现在只会在相关区块被加载时才会被视为加载
来源:SPGoding