和往常一样,你可以把反馈发到 aka.ms/MC120Feedback 并在 bugs.mojang.com 提交漏洞。
EXPERIMENTAL FEATURES
实验性特性
BLOCKS
方块
Removed black lines along the edges of Bamboo Fences and Bamboo Fence Gates (MCPE-163360) Importing experimental blocks into a non-experimental world using the Structure Block will now correctly place unknown blocks, which are not interactable
现在使用结构方块将实验性方块导入非实验性世界时,实验性方块会被正确替换为不可交互的未知方块
CAMEL
骆驼
Camels can once again overcome obstacles as high as one block and a half (MCPE-166452) 现在再次可以走上碰撞箱为1.5格高的方块 (MCPE-166452)
USER INTERFACE
用户界面
Mangrove and Bamboo Hanging Signs are now placed correctly in the Creative Inventory (MCPE-163340) 现在悬挂式红树木告示牌和悬挂式竹告示牌正确位于创造模式物品栏中 (MCPE-163340)FEATURES AND BUG FIXES
特性和漏洞修复
VANILLA PARITY
原版趋同
Impact sounds of projectiles on Amethyst blocks and clusters are now audible
现在弹射物击中紫水晶块或紫水晶母岩时会发出音效
Dead Bush will now drop Sticks when broken with any tool except Shears, even those with the Silk Touch enchantment. Vines will drop nothing in the same situation (MCPE-163246) 现在使用除剪刀外的任意工具破坏枯萎的灌木时会掉落木棍,即使该工具带有精准采集魔咒也是如此。藤蔓在前述情况下则不会掉落任何物品 (MCPE-163246)Bells no longer break when a block is placed underneath or above them (MCPE-166742) 在钟的下方或上方放置方块时不再会破坏钟 (MCPE-166742)
SPECTATOR MODE
旁观模式
Phasing through blocks in third person view no longer makes the camera zoom in and out towards the player’s head (MCPE-160467) 玩家在第三人称视角下逐步穿过方块时,相机视角不再会朝向玩家头部进行放大和缩小 (MCPE-160467)End Gateways can no longer be used in Spectator Mode (MCPE-165689) 末地折跃门不再能在旁观模式中使用 (MCPE-165689)
GAMEPLAY
玩法
Redstone source can now power a single block from different sides at the same time (MCPE-163651) 红石信号源现在能够从不同的侧面来充能单个方块 (MCPE-163651)Players are no longer able to begin flying if they have no space to stand up (MCPE-166413) 玩家不再可以在空间不足以站立的情况下开始飞行 (MCPE-166413)Players can now fall off of an edge while sneaking if not holding the sneak button
玩家现在可以在不按住潜行键的潜行状态下从方块边缘掉下来
BLOCKS
方块
Composter now always consumes an item when becoming full (MCPE-162020) 现在堆肥桶被堆满时总会消耗一个物品 (MCPE-162020)
MOBS
生物
Witches will drink a Fire Resistance Potion when standing on a Campfire
现在女巫站在营火上时会喝下抗火药水
ITEMS
物品
Crossbow now shakes while charging arrows (MCPE-152952) 现在给弩填装箭时会晃动 (MCPE-152952)Loot table conditions are no longer ignored in-game when used inside functions (MCPE-164582) 战利品表条件用于内部函数时不再会被游戏忽略 (MCPE-164582)Spawn eggs for Snow Golem, Wither, and Trader Llama now appear correctly in the inventory and hotbar
雪傀儡、凋灵和行商羊驼刷怪蛋现在会正确出现在物品栏和快捷栏中
MARKETPLACE
市场
Added a new 'Marketplace' icon to the Marketplace screen sidebar
在市场界面的侧边栏中加入了新的市场图标
USER INTERFACE
用户界面
Carrots now display the proper name in item tooltips when used in can_place_on and can_destroy item components (MCPE-160838) 现在对胡萝卜使用can_place_on和can_destroy物品组件时,胡萝卜会在物品工具提示中显示正确名称 (MCPE-160838)Tweaked the keyboard interaction on Android devices for text input fields
调整了Android设备上文本输入栏的键盘交互
COMMANDS
命令
Summon command no longer causes some entities to be spawned in at an angle
/summon命令不再会导致部分实体以某个角度生成
TECHNICAL UPDATES
技术性更新
ENTITY PROPERTIES
实体属性
Fixed an issue where Entity Property value changes could be discarded if done by events fired as part of removal of active behaviors caused by other events
修复了当实体属性值被因其他事件触发的移除活动行为的事件修改后更改会丢失的漏洞
EXPERIMENTAL TECHNICAL FEATURES
技术性更新
API
API
Replaced general setVelocity call with methods to apply impulses to entities:
将一般的setVelocity函数替换为将脉冲应用于实体的方法:
Added function clearVelocity(): void - Sets the current velocity of the Entity to zero
加入了clearVelocity(): void函数-用于将实体的速度设为0
Added function applyImpulse(vector: Vector3): void - Applies impulse vector to the current velocity of the Entity
加入了applyImpulse(vector: Vector3): void函数-用于设置实体速度的冲量
Added function applyKnockback(directionX: number, directionZ: number, horizontalStrength: number, verticalStrength: number): void - Applies knockback to the Entity in specified direction based on vertical and horizontal strength
加入了applyKnockback(directionX: number, directionZ: number, horizontalStrength: number, verticalStrength: number): void函数 -用于设置实体的击退效果、方向和强度
Removed function setVelocity
移除了setVelocity()函数
General changes to more consistently use methods when working with simple data-only objects vs. properties:
在处理简单的纯数据时,一般更改为更一致的使用方法。properties:
BeforeExplosionEvent
BeforeExplosionEvent
Added function getImpactedBlocks(): Vector3[] - Gets the blocks locations that are impacted the by the explosion
加入了getImpactedBlocks(): Vector3[]函数-用于获取被爆炸影响的方块位置
Added function setImpactedBlocks(blocks: Vector3[]): void - Sets the blocks locations that are impacted the by the explosion
加入了getImpactedBlocks(): Vector3[]函数-用于获取被爆炸影响的方块位置
Removed property impactedBlocks
移除了impactedBlocks属性
BeforeItemUseOnEvent
BeforeItemUseOnEvent
Added function getBlockLocation(): Vector3 - Gets the location of the block being impacted
加入了getBlockLocation(): Vector3函数-用于获取被影响的方块位置
Removed property blockLocation
移除了blockLocation属性
BlockInventoryComponent
BlockInventoryComponent
Removed property location
移除了 location 属性BlockLavaContainerComponent
BlockLavaContainerComponent
Removed property location
移除了location 属性BlockPistonComponent
BlockPistonComponent
Added function getAttachedBlocks(): Vector3[] - Gets the blocks locations that are impacted by the activation of this piston
加入了getBlockLocation(): Vector3函数-用于获取被影响的方块位置
Removed property attachedBlocks
移除了 attachedBlocks 属性Removed property location
移除了location 属性BlockPotionContainerComponent
BlockPotionContainerComponent
Removed property location
移除了 location 属性BlockRecordPlayerComponent
BlockRecordPlayerComponent
Removed property location
移除了location 属性BlockSignComponent
BlockSignComponent
Removed property location
移除了 location 属性BlockSnowContainerComponent
BlockSnowContainerComponent
Removed property location
移除了location 属性BlockWaterContainerComponent
BlockWaterContainerComponent
Removed property location
移除了location 属性Added function getHeadLocation(): Vector3 - Gets the head location of the Entity
加入了getHeadLocation(): Vector3函数-用于获取实体头部位置
Removed property headLocation
移除了headLocation属性
ExplosionEvent
ExplosionEvent
Added function getImpactedBlocks(): Vector3[] - Gets the blocks locations that are impacted the by the explosion
加入了getImpactedBlocks(): Vector3[]函数-用于获取被爆炸影响的方块位置
Removed property impactedBlocks
移除了impactedBlocks属性
ItemStartUseOnEvent
ItemStartUseOnEvent
Added function getBlockLocation(): Vector3 - Gets the location of the block being impacted
加入了getBlockLocation(): Vector3函数-用于获取被影响的方块位置
Added function getBuildBlockLocation(): Vector3 - Gets the location of the resulting build block
加入了getBuildBlockLocation(): Vector3函数-用于获取生成的方块位置
Removed property blockLocation
移除了blockLocation属性
Removed property buildBlockLocation
移除了buildBlockLocation属性
ItemStopUseOnEvent
ItemStopUseOnEvent
Added function getBlockLocation(): Vector3 - Gets the location of the block being impacted
加入了getBlockLocation(): Vector3函数-用于获取被影响的方块位置
Removed property blockLocation
移除了blockLocation属性
ItemUseOnEvent
ItemUseOnEvent
Added function getBlockLocation(): Vector3 - Gets the location of the block being impacted
加入了getBlockLocation(): Vector3函数-用于获取被影响的方块位置
Removed property blockLocation
移除了blockLocation属性
NavigationResult
NavigationResult
Added function getPath(): Vector3[] - Gets the locations of the blocks that comprise the navigation route
加入了getPath(): Vector3[]函数-用于获取组成导航路径的方块位置
Removed property path
移除了path属性
Player
Player
Added function getHeadLocation(): Vector3 - Gets the head location of the Player
加入了getHeadLocation(): Vector3函数
Removed property headLocation
移除了headLocation属性
ItemStack API improvements:
ItemStack API improvements:
Added read-only property getMaxAmount: number - Returns the maximum stack size for the item
加入了getMaxAmount: number只读属性-用于获取物品的最大堆叠数量
Added read-only property isStackable: bool - Returns whether the item is stackable
加入了isStackable: bool只读属性-用于获取物品是否可堆叠
Added function isStackableWith(itemStack: ItemStack): bool - Returns whether the item can be stacked with the given item
加入了isStackableWith(itemStack: ItemStack): bool函数-用于检测物品是否可以与指定物品堆叠
Added read-only property type: ItemType - Returns the type of the item
加入了type: ItemType只读属性-用于获取物品类型
Added function clone(): ItemStack - Returns a copy of the item stack
加入了clone(): ItemStack函数-用于获取堆叠副本
Added property keepOnDeath: bool - Sets whether the item is kept on death
加入了keepOnDeath: bool属性-用于设置物品是否在死亡时掉落
Added property lockMode: ItemLockMode - Sets whether the item can be moved or dropped
加入了lockMode: ItemLockMode属性-用于设置物品是否能被移动或被丢弃
Added function setCanPlaceOn(blockIdentifiers?: string[]) - Sets which blocks the item can be placed on
加入了setCanPlaceOn(blockIdentifiers?: string[])函数-用于设置能放置物品的方块
Added function setCanDestroy(blockIdentifiers?: string[]) - Sets which blocks this item can destroy
加入了setCanDestroy(blockIdentifiers?: string[])函数-用于设置物品能破坏的方块
【本文排版借助了:SPXX Userscript v2.4.13】