跳到主要内容

Minecraft Beta & Preview - 1.19.50.21

Actor Properties

  • Actor Properties are no longer experimental (this includes Molang queries and property filters, but not Permutations)

Add-Ons and Script Engine

  • Fixed an issue where changing the subpack of Resource Packs that have subpacks, would not apply changes until the game was restarted (MCPE-162002)

AI Goals

  • Exposed new data parameters for the "minecraft:offer_flower" AI behaviour to specify such things as the time that the mob offers the flower for, the chance that the goal will start, and the dimensions of the AABB used to search for a mob to offer a flower to
  • The "minecraft:offer_flower" AI behavior can now be used by any mob, not just the Iron Golem
  • The "minecraft:offer_flower" AI behavior will now search through all mobs in the specified range rather than just the closest one, meaning that this goal has the potential to be used more consistently than before
  • Exposed new data parameters for the "minecraft:take_flower" AI behavior to specify such things as the conditions to be met to start the goal, the min and max wait times before taking the flower, and the dimensions of the AABB used to search for a mob to take a flower from
  • The "minecraft:take_flower" AI behavior can now be used by any mob, not just baby Villagers

Stability and Performance

  • Fixed a crash that would occur if Education Edition items were rendered without the Education Edition toggle turned on (MCPE-161587)

实验性特性

Commands

  • As a preview of upcoming potential changes to how commands run, new experimental functionality within the Upcoming Creator Features experiment causes all command execution to run at the end of the current tick

General

  • Removed the functionality of the 'minecraft:breathability' component. Component will have no effect on the custom defined block

Script API

  • Initial APIs are releasing out of beta and will be usable without an experimental flag.
  • The first module to release is @minecraft/server as version 1.0.0. The APIs included with this are listed below.
    • Non-beta APIs like those included in the @minecraft/server 1.0.0 module do not require the Beta APIs experiment to be turned on, and will be more stable over time
    • This initial API set is narrow, but we intend to add more APIs into non-beta modules over the coming months
  • @minecraft/server will continue to develop in Beta and those Beta APIs have been incremented in version to 1.1.0-beta; if you wish to continue to use Beta @minecraft/server APIs, manifest.json references will need to be updated to 1.1.0-beta.
  • APIs included in the @minecraft/server version 1.0.0 release:
    • System type (Exposed via systemglobal instance)
      • run() - runs a function on the next tick (can be used to maintain a game loop tick over tick)
    • World type (exposed via worldglobal instance)
      • getDimension()
      • getAllPlayers()
    • MinecraftDimensionTypes type
      • nether
      • overworld
      • theEnd
    • Dimension type
      • id
      • runCommandAsync()
    • CommandResult type
      • commandResult
    • Entity type
      • id
      • typeId
      • dimension
      • runCommandAsync()
    • Player type
      • name

Known Issues

  • We have a known issue in this Preview update that may cause a crash when travelling through portals in multiplayer. We are working on a fix for this and hope to have it addressed as soon as possible, thank you for your patience!