1.19.70.22
- 技术更新
- 完整日志
命令
/summon
命令不再导致一些实 体以一定角度生成
数据驱动
- 修复了实体属性值在由作为被移除的活动行为的一部分来触发的事件更改时可能被废弃的问题
实验性特性
脚本 API
@minecraft/[email protected]
模块更改
-
BeforeExplosionEvent
类更改-
移除
impactedBlocks
属性 -
添加
getImpactedBlocks
函数getImpactedBlocks(): Vector3[]
-
添加
setImpactedBlocks
函数setImpactedBlocks(blocks: Vector3[]): void
-
-
BeforeItemUseOnEvent
类更改-
移除
blockLocation
属性 -
添加
getBlockLocation
函数getBlockLocation(): Vector3
-
-
BlockInventoryComponent
类更改- 移除
location
属性
- 移除
-
BlockLavaContainerComponent
类更改- 移除
location
属性
- 移除
-
BlockPistonComponent
类更改-
移除
attachedBlocks
属性 -
移除
location
属性 -
添加
getAttachedBlocks
函数getAttachedBlocks(): Vector3[]
-
-
BlockPotionContainerComponent
类更改- 移除
location
属性
- 移除
-
BlockRecordPlayerComponent
类更改- 移除
location
属性
- 移除
-
BlockSignComponent
类更改- 移除
location
属性
- 移除
-
BlockSnowContainerComponent
类更改- 移除
location
属性
- 移除
-
BlockWaterContainerComponent
类更改- 移除
location
属性
- 移除
-
ContainerSlot
类更改-
添加
isStackable
属性readonly isStackable: boolean
-
添加
keepOnDeath
属性keepOnDeath: boolean
-
添加
lockMode
属性lockMode: ItemLockMode
-
添加
maxAmount
属性readonly maxAmount: number
-
添加
type
属性readonly type: ItemType
-
添加
clone
函数clone(): ItemStack
-
添加
isStackableWith
函数isStackableWith(itemStack: ItemStack): boolean
-
添加
setCanDestroy
函数setCanDestroy(blockIdentifiers?: string[]): void
-
添加
setCanPlaceOn
函数setCanPlaceOn(blockIdentifiers?: string[]): void
-
-
Entity
类更改-
移除
headLocation
属性 -
添加
applyImpulse
函数applyImpulse(vector: Vector3): void
-
添加
applyKnockback
函数applyKnockback(directionX: number, directionZ: number, horizontalStrength: number, verticalStrength: number): void
-
添加
clearVelocity
函数clearVelocity(): void
-
添加
getHeadLocation
函数getHeadLocation(): Vector3
-
Removed function
setVelocity
-
-
ExplosionEvent
类更改-
移除
impactedBlocks
属性 -
添加
getImpactedBlocks
函数getImpactedBlocks(): Vector3[]
-
-
ItemStack
类更改-
添加
isStackable
属性readonly isStackable: boolean
-
添加
keepOnDeath
属性keepOnDeath: boolean
-
添加
lockMode
属性lockMode: ItemLockMode
-
添加
maxAmount
属性readonly maxAmount: number
-
添加
type
属性readonly type: ItemType
-
添加
clone
函数clone(): ItemStack
-
添加
isStackableWith
函数isStackableWith(itemStack: ItemStack): boolean
-
添加
setCanDestroy
函数setCanDestroy(blockIdentifiers?: string[]): void
-
添加
setCanPlaceOn
函数setCanPlaceOn(blockIdentifiers?: string[]): void
-
-
ItemStartUseOnEvent
类更改-
移除
blockLocation
属性 -
移除
buildBlockLocation
属性 -
添加
getBlockLocation
函数getBlockLocation(): Vector3
-
添加
getBuildBlockLocation
函数getBuildBlockLocation(): Vector3
-
-
ItemStopUseOnEvent
类更改-
移除
blockLocation
属性 -
添加
getBlockLocation
函数getBlockLocation(): Vector3
-
-
ItemUseOnEvent
类更改-
移除
blockLocation
属性 -
添加
getBlockLocation
函数getBlockLocation(): Vector3
-
-
NavigationResult
类更改-
移除
path
属性 -
添加
getPath
函数getPath(): Vector3[]
-
-
Player
类更改-
移除
headLocation
属性 -
添加
applyImpulse
函数applyImpulse(vector: Vector3): void
-
添加
applyKnockback
函数applyKnockback(directionX: number, directionZ: number, horizontalStrength: number, verticalStrength: number): void
-
添加
clearVelocity
函数clearVelocity(): void
-
添加
getHeadLocation
函数getHeadLocation(): Vector3
-
移除
setVelocity
函数
-
-
添加
ItemLockMode
枚举export enum ItemLockMode {
inventory = "inventory",
none = "none",
slot = "slot"
}
游戏内容更新
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)
User Interface
- Mangrove and Bamboo Hanging Signs are now placed correctly in the Creative Inventory (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)
- Bells no longer break when a block is placed underneath or above them (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)
- End Gateways can no longer be used in Spectator Mode (MCPE-165689)
Gameplay
- Redstone source can now power a single block from different sides at the same time (MCPE-163651)
- Players are no longer able to begin flying if they have no space to stand up (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)
Mobs
- Witches will drink a Fire Resistance Potion when standing on a Campfire
Items
- Crossbow now shakes while charging arrows (MCPE-152952)
- Loot table conditions are no longer ignored in-game when used inside functions (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)
- Tweaked the keyboard interaction on Android devices for text input fields
技术更新
命令
/summon
命令不再导致一些实体以一定角度生成
数据驱动
- 修复了实体属性值在由作为被移除的活动行为的一部分来触发的事件更改时可能被废弃的问题
实验性特性
脚本 API
@minecraft/[email protected]
模块更改
-
BeforeExplosionEvent
类更改-
移除
impactedBlocks
属性 -
添加
getImpactedBlocks
函数getImpactedBlocks(): Vector3[]
-
添加
setImpactedBlocks
函数setImpactedBlocks(blocks: Vector3[]): void
-
-
BeforeItemUseOnEvent
类更改-
移除
blockLocation
属性 -
添加
getBlockLocation
函数getBlockLocation(): Vector3
-
-
BlockInventoryComponent
类更改- 移除
location
属性
- 移除
-
BlockLavaContainerComponent
类更改- 移除
location
属性
- 移除
-
BlockPistonComponent
类更改-
移除
attachedBlocks
属性 -
移除
location
属性 -
添加
getAttachedBlocks
函数getAttachedBlocks(): Vector3[]
-
-
BlockPotionContainerComponent
类更改- 移除
location
属性
- 移除
-
BlockRecordPlayerComponent
类更改- 移除
location
属性
- 移除
-
BlockSignComponent
类更改- 移除
location
属性
- 移除
-
BlockSnowContainerComponent
类更改- 移除
location
属性
- 移除
-
BlockWaterContainerComponent
类更改- 移除
location
属性
- 移除
-
ContainerSlot
类更改-
添加
isStackable
属性readonly isStackable: boolean
-
添加
keepOnDeath
属性keepOnDeath: boolean
-
添加
lockMode
属性lockMode: ItemLockMode
-
添加
maxAmount
属性readonly maxAmount: number
-
添加
type
属性readonly type: ItemType
-
添加
clone
函数clone(): ItemStack
-
添加
isStackableWith
函数isStackableWith(itemStack: ItemStack): boolean
-
添加
setCanDestroy
函数setCanDestroy(blockIdentifiers?: string[]): void
-
添加
setCanPlaceOn
函数setCanPlaceOn(blockIdentifiers?: string[]): void
-
-
Entity
类更改-
移除
headLocation
属性 -
添加
applyImpulse
函数applyImpulse(vector: Vector3): void
-
添加
applyKnockback
函数applyKnockback(directionX: number, directionZ: number, horizontalStrength: number, verticalStrength: number): void
-
添加
clearVelocity
函数clearVelocity(): void
-
添加
getHeadLocation
函数getHeadLocation(): Vector3
-
Removed function
setVelocity
-
-
ExplosionEvent
类更改-
移除
impactedBlocks
属性 -
添加
getImpactedBlocks
函数getImpactedBlocks(): Vector3[]
-
-
ItemStack
类更改-
添加
isStackable
属性readonly isStackable: boolean
-
添加
keepOnDeath
属性keepOnDeath: boolean
-
添加
lockMode
属性lockMode: ItemLockMode
-
添加
maxAmount
属性readonly maxAmount: number
-
添加
type
属性readonly type: ItemType
-
添加
clone
函数clone(): ItemStack
-
添加
isStackableWith
函数isStackableWith(itemStack: ItemStack): boolean
-
添加
setCanDestroy
函数setCanDestroy(blockIdentifiers?: string[]): void
-
添加
setCanPlaceOn
函数setCanPlaceOn(blockIdentifiers?: string[]): void
-
-
ItemStartUseOnEvent
类更改-
移除
blockLocation
属性 -
移除
buildBlockLocation
属性 -
添加
getBlockLocation
函数getBlockLocation(): Vector3
-
添加
getBuildBlockLocation
函数getBuildBlockLocation(): Vector3
-
-
ItemStopUseOnEvent
类更改-
移除
blockLocation
属性 -
添加
getBlockLocation
函数getBlockLocation(): Vector3
-
-
ItemUseOnEvent
类更改-
移除
blockLocation
属性 -
添加
getBlockLocation
函数getBlockLocation(): Vector3
-
-
NavigationResult
类更改-
移除
path
属性 -
添加
getPath
函数getPath(): Vector3[]
-
-
Player
类更改-
移除
headLocation
属性 -
添加
applyImpulse
函数applyImpulse(vector: Vector3): void
-
添加
applyKnockback
函数applyKnockback(directionX: number, directionZ: number, horizontalStrength: number, verticalStrength: number): void
-
添加
clearVelocity
函数clearVelocity(): void
-
添加
getHeadLocation
函数getHeadLocation(): Vector3
-
移除
setVelocity
函数
-
-
添加
ItemLockMode
枚举export enum ItemLockMode {
inventory = "inventory",
none = "none",
slot = "slot"
}