跳到主要内容

Minecraft Beta & Preview - 1.20.50.22

Cameras

  • Added a content warning for when the camera is placed outside of the player's chunk radius 

Add-Ons and Script Engine

  • Added a Clear button to the content log screen

Script API

  • Added initial NPC support to scripting with the EntityNpcComponent

Editor

The Editor and its corresponding API are in early development, and available for keyboard/mouse on Windows PC Bedrock Preview builds. Tag us on social channels with #BedrockEditor.

Learn how to use the Editor, join the GitHub Discussion discussion forum to engage with the team, and get started building extensions via the starter kit and samples.

Updates this week:

  • Added API class SettingsManager which will contain settings categories as properties.

  • Added property settings: SettingsManager to ExtensionContext API.

  • Added API class GraphicsSettings with get, getAll, set and setAll functions to manage graphics settings properties.

  • Added API enum GraphicsSettingsProperty and type GraphicsSettingsPropertyTypeMap for available graphics settings properties.

  • Updated Grapple “Quick Teleport” functionality to use Camera API. Grapple to fast teleport to a target block using “G.” Grapple to frame up a Selection using “F.”

Graphical

  • When a particle emitter is added to an entity but particles simulate in world, particles now correctly collide with the world

Items

  • Renamed "minecraft:use_duration" to "minecraft:use_modifiers" and added a "movement_modifier" parameter in json format versions 1.20.50 and higher 
  • Deprecated "minecraft:chargeable" in json format versions 1.20.50 and higher. Use "minecraft:use_modifiers" instead for "movement_modifier" behavior

实验性特性

Gametest

  • SimulatedPlayer

  • stopUsingItem now returns the item that was being used

Graphical

  • Fixed heightmaps appearing inverted in the deferred technical preview 

Script API

  • Fixed @minecraft/server-ui forms not correctly rendering player scoreboard information when embedded in rawtext

Script API

  • Fixed target property to be of type Entity or undefined as the entity may not have a target 

  • EntityHitInformation

  • Fixed entity property to be of type Entity or undefined as the entity may be undefined 

  • EntityInventoryComponent

  • container member variable now correctly reflects it can be a Container or undefined 

  • entity member variable now correctly reflects it can be a Entity or undefined 

  • ItemStartUseOnAfterEvent

  • itemStack is now optional

  • ItemStopUseAfterEvent

  • itemStack is now optional