跳到主要内容

Minecraft Beta & Preview - 1.20.70.22

Script API

  • Fixed the timing of PlayerInteractWithEntityAfterEvent and PlayerInteractWithBlockAfterEvent 
  • Adding Player.setGameMode and Player.getGameMode to beta for changing the Player's GameMode 
  • Adding events PlayerGameModeChangeAfterEventPlayerGameModeChangeBeforeEvent with signals world.afterEvents.playerGameModeChange and world.beforeEvents.playerGameModeChange to beta 
  • Adding GameRuleChangeAfterEventGameRule and world.afterEvents.gameRuleChange for responding to GameRules changes

Blocks

  • Fixed 'minecraft:geometry.full_block' faces not rotating to match transform component
  • Fixed 'minecraft:geometry.full_block' blocks not culling faces against some vanilla blocks 

Components

  • Entities with a "damage_sensor" component can once again be killed via commands
  • The "damage_sensor" component can once again trigger entity events on entities other than the owner 

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.

Updates this week:

  • Renamed enum ClipboardMirrorAxis to StructureMirrorAxis and moved it to module @minecraft/server
  • Renamed enum ClipboardRotation to StructureRotation and moved it to module @minecraft/server
  • Panel booleans can now be represented as a toggleswitch as an alternative to a checkbox

Molang

  • Released query.is_attached and query.has_player_rider from experimental
  • Removed experimental Molang queries query.get_ride and query.get_riders
  • Deprecated the Molang Features experiment
  • Released Molang query.scoreboard for use with behavior packs from experimental (resource packs will return 0) 

实验性特性

Script API

  • Fixed a bug where item dynamic properties could sometimes be applied to items with a stack size greater than 1 
    • Removing function triggerEvent()
  • WorldBeforeEvents
    • Removing property itemDefinitionEvent
  • WorldAfterEvents
    • Removing property itemDefinitionEvent
    • Moved explosion from beta to 1.9.0
  • WorldBeforeEvents
    • Moved explosion from beta to 1.9.0

Graphical

  • Fixed a crash on Android devices when entering Deferred Technical Preview worlds 
  • Fixed a circular visual artifact that could occur when using the new Point Light Shadows feature in the Deferred Technical Preview