跳到主要内容

Minecraft Beta & Preview - 1.20.60.23

Add-Ons and Script Engine

  • The "minecraft:geometry.full_block" identifier for the "minecraft:geometry" block component has been added
    • The "minecraft:geometry.full_block" identifier provides a centered 1x1x1 cube geometry
    • When combined with a material_instances component with "render_layer": "opaque", it enables rendering-only capabilities previously included in the "minecraft:unit_cube" component including:
      • Occludes both vanilla and custom neighboring full blocks
      • Culls faces that neighbor vanilla and custom neighboring full blocks to improve rendering performance
  • Add content error logging to help creators identify content that hits or exceeds the state bit/permutation count per block (MCPE-177045)

General

  • Updated listed values for the Vanilla "orientation" block state in documentation

Script API

  • Added Biome Registry biome names and StructureFeatureType enum to vanilla metadata generation

Components

  • Added an "interact_filters" field to the "ageable" component, which allows to specify conditions on when the actor can be fed

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:

  • Default block for BlockType in Selection tool is now 'grass'.
  • Scripted property panes will now be scrollable once they reach a certain height.
  • Editor Playtest pane now supports setting time of day and weather when testing levels, as well as minor tweaks to the layout. Time in the Playtest pane supports either Minecraft time (0-23999) or 24hr time (00:00-23:59). 
  • Added new bindings and support for scripts to be able to push a TypeScript object as a payload on to the transaction stack, and register a set of handler functions which will receive the payload when the transaction system receives an undo or redo event
  • A Navigation record system has been added to Editor. View the GitHub release notes for more details on features and functionality. 
  • Added an export for stringFromExtension so that it can be used in both internal and external Creator extensions
  • A new line tool is added to the Editor. View the GitHub release notes for more details on features and functionality. 
  • Editor UI now scales according to the screen resolution rather than the game window size.
  • Property options in the play/test pane retain their values when the game reloads. 

This week we are officially closing the v0.4.X semantic iterations and considering our work towards v0.5 done. View release notes in GitHub for additional details and an aggregate summary of all v0.4.X iteration updates.

Molang

  • Released Molang queries from experimental
    • query.is_cooldown_type
    • query.cooldown_time
    • query.cooldown_time_remaining
    • query.relative_block_has_any_tag
    • query.relative_block_has_all_tags
    • query.block_neighbor_has_any_tag
    • query.block_neighbor_has_all_tags
    • query.block_has_any_tag
    • query.block_has_all_tags
    • query.bone_orientation_trs
    • query.bone_orientation_matrix 

实验性特性

Add-Ons and Script Engine

  • The "minecraft:unit_cube" block component has been deprecated. Using it in content marked 1.20.60 and beyond will provide a content error
    • Using content marked prior to 1.20.60 will have their "minecraft:unit_cube" block component upgraded to a "minecraft:geometry" block component with a "minecraft:geometry.full_block" identifier, but will maintain backwards compatibility with all behaviors

Script API

  • Updated function addEffect to return the added effect (or undefined if it failed). This change is in beta and does not affect the currently released versions of this function.

  • Added item dynamic properties

  • Added function clearDynamicProperties(): void - Removes all dynamic properties from the item stack

  • Added function getDynamicProperty(identifier: string): boolean | number | string | Vector3 | undefined - Returns the value of the dynamic property with the given identifier if it exists, otherwise returns undefined

  • Added function getDynamicPropertyIds(): string[] - Returns an array of all dynamic property identifiers on the item stack

  • Added function getDynamicPropertyTotalByteCount(): number - Returns the total byte count of all dynamic properties on the item stack

  • Added function setDynamicProperty(identifier: string, value?: boolean | number | string | Vector3): void - Sets the value of the dynamic property with the given identifier. If the value is undefined, the dynamic property will be removed

  • Added function clearDynamicProperties(): void - Removes all dynamic properties from the item stack

  • Added function getDynamicProperty(identifier: string): boolean | number | string | Vector3 | undefined - Returns the value of the dynamic property with the given identifier if it exists, otherwise returns undefined

  • Added function getDynamicPropertyIds(): string[] - Returns an array of all dynamic property identifiers on the item stack

  • Added function getDynamicPropertyTotalByteCount(): number - Returns the total byte count of all dynamic properties on the item stack

  • Added function setDynamicProperty(identifier: string, value?: boolean | number | string | Vector3): void - Sets the value of the dynamic property with the given identifier. If the value is undefined, the dynamic property will be removed

  • Added class EntityProjectileComponent. This component is used to shoot a projectile entity and modify its properties

  • Added interface ProjectileShootOptions. This interface is used with function EntityProjectileComponent.shoot to optionally modify the accuracy of the projectile when shot

Molang

  • Changed cooldown query slot IDs to be required for container slots with more than one index, logging content errors if not provided
    • query.cooldown_time(slotName,slotId)
    • query.cooldown_time_remaining(slotName,slotId)
    • query.is_cooldown_type(cooldownName,slotName,slotId)

Graphical

  • The player's body will now cast a shadow in first person mode in the Deferred Technical Preview. Note that some held items will still not cast shadows
  • The loading screen will no longer turn black on Android when entering a PBR-capable world with the Deferred Technical Preview enabled
  • Hoppers in Minecarts no longer exhibit ghosting artifacts during camera motion when the Deferred Technical Preview is enabled
  • The game no longer crashes when exiting a world with the Deferred Technical Preview enabled