跳到主要内容

Minecraft Beta & Preview - 1.20.80.22

Script API

  • Moved EntityType and EntityTypes from beta to 1.11.0
  • Released playMusic_,_Player.queueMusic, Player.stopMusic from beta to 1.11.0
  • Removed BlockAreaSize from beta and replaced usages with Vector3
  • Renamed parameter itemCategory in getItemCooldown and player.startItemCooldown to cooldownCategory
  • Changed type to only EnchantmentType to follow API guidelines
  • Added EnchantmentSlot and slots to beta for determining the enchantable slots of an item
  • Added 'minecraft:custom_components' block component under the Beta APIs feature flag

Commands

  • Updated /titleraw and /tellraw to include support for rendering input key glyphs

Mobs

  • Added spawn categories to Bedrock. They will be used in the future for mob spawning. Spawn categories have been enabled in entity behavior pack files, but are not yet functional

  • Fixed an issue where should_update_bones_and_effects_offscreen and should_update_effects_offscreen were being ignored

实验性特性

Graphical

  • Improved texture filtering for renderchunks to smooth the transition between LODs
  • Added a new feature to the Deferred Technical Preview: Sky Reflections. This new effect will reflect the sky on surfaces depending on their roughness and other surface properties. See the updated Getting Started with Deferred Lighting article on the Learning Portal for more information. Note that since these are reflections of the sky, reflections will not be visible when in caves, indoors or the Nether. Reflections for these scenarios and of other objects such as the terrain and entities will be added in future updates.

reflections-b_before.png

reflections-b_after.png

reflections-a_before.png

reflections-a_after.png

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 forum to engage with the team, and get started building extensions via the starter kit and samples.

Improvements this week:

  • Added three classes: the IBlockPaletteItem interface and the ProbabilityBlockPaletteItem and SimpleBlockPaletteItem concrete classes. These classes will be used in the later implementation of the Block Palette
  • Tool mode screen layout will now be using a fixed drawer system rather than floating window panels. Drawers panels support drag to resize, expand/collapse, and show/hide behaviors
  • bindPropertyPane API function will now only bind a single pane to the tool. Bound pane will be displayed in the layout drawer next to the tool rail on tool activation. It is recommended to update the pane state once it’s associated with the tool to ensure it’s displayed correctly
  • Changed top level menus to show up only when they contain items
  • Added uniqueId property to IMenuCreationParams API which will replace IMenu id on creation
  • Added menubar: IMenuContainer property to IPlayerUISession. IMenuContainer will manage menu related operations
    • Added getMenu method to IMenuContainer to return an existing menu item. Predefined editor menus can be retrieved with the new CoreMenuType enum
    • Moved createMenu from IPlayerUISession to IMenuContainer

Script API

  • Added BlockComponentStepOnEvent for beta
  • Added BlockRegistry for beta
  • Added WorldInitializeBeforeEvent
  • Added BlockCustomComponent
  • Dimension:
    • Added function getBlocks(volume: BlockVolumeBase, filter: BlockFilter, allowUnloadedChunks?: boolean): ListBlockVolume - Gets the blocks in a volume if it matches the filter
    • Added function containsBlock(volume: BlockVolumeBase, filter: BlockFilter, allowUnloadedChunks?: boolean): boolean - Returns true if the block in volume matches the filter, false otherwise
  • Moved ItemCooldownComponent from beta to 1.10.0
  • Added BlockComponentStepOffEvent for beta
  • Added onStepOff to BlockCustomComponent
  • Added BlockComponentRandomTickEvent for beta
  • Added onRandomTick to BlockCustomComponent
  • StructureManager:
    • Added getIds(): string - Returns a list of identifiers including all structures saved to memory and the world
    • Fixed a bug where the delete function would not remove structures that were previously saved to the world but not loaded
    • Changed the default save mode of createEmpty to StructureSaveMode.Memory

Commands

  • Improved performance for the /give and /replaceitemcommands. No server lag if there is no target (MCPE-162190)
  • Fixed the /hud command so that changes do not persist between sessions (MCPE-179153)