跳到主要内容

Minecraft Beta & Preview - 1.20.50.23

Script API

  • Moved Entity.remove from beta to 1.7.0

Items

  • Deprecated 'on_dig' event triggers from 'minecraft:digger' in format versions 1.20.50 and higher 

实验性特性

Script API

  • DataDrivenEntityTriggerAfterEvent 

  • Renamed property id to eventId for clarity

  • Changed getModifier to work in read-only mode

  • Changed DefinitionModifier from a class to an interface with properties

  • Made EntityTypes.get properly reflect that it can return EntityType | undefined instead of just EntityType

Gametest

  • Dynamic Properties

  • NBT change: Dynamic properties are now stored using the behavior pack manifest UUID, rather than the module UUID. Existing worlds using dynamic properties will continue to work, and will be migrated to the new format when properties are read or modified