跳到主要内容

Minecraft Beta & Preview - 1.21.10.20

Add-Ons and Script Engine

  • Added a content error when ‘snow_accumulation’ array in a biome JSON has the minimum value set higher than the maximum value
  • Fixed Camera sometimes having a visible easing motion after a non-eased camera set command (MCPE-181364
  • Fixed an issue that caused sideloaded .mcpack files to fail to apply when uploading to Realms 

Script API

  • Fixed a bug that prevented get and StructureManager.place from loading structures stored in the root of the structures directory 
  • MinecraftItemTypes no longer contains old item names 
  • Fixed bug that caused the game to crash when executing a run command from the runCommand() and Dimension.runCommandAsync() scripting APIs
  • Potions 
    • Added class Potions which contains helpers for retrieving handles to potion associated types
    • Added class PotionEffectType which is a potion effect type handle associated with MinecraftPotionEffectTypes
    • Added class PotionModifierType which is a potion modifier type handle associated with MinecraftPotionModifierTypes
    • Added class PotionLiquidType which is a potion type handle associated with MinecraftPotionLiquidTypes
    • Added class ItemPotionComponent which can be obtained from a valid potion ItemStack
    • Added interface PotionOptions for use in createPotion
    • Added function createPotion for creating valid potion items
  • Vanilla-Data 
    • Added enum MinecraftPotionLiquidTypes containing potion liquid IDs
    • Added enum MinecraftPotionEffectTypes containing potion effect IDs
    • Added enum MinecraftPotionModifierTypes containing potion modifier IDs
  • BlockExplodeAfterEvent 
    • Released BlockExplodeAfterEvent from beta to 1.12.0
    • Released BlockExplodeAfterEventSignal from beta to 1.12.0
    • Released blockExplode from beta to 1.12.0
  • Released ItemTypes from beta to 1.12.0
  • Released InputPermissionCategory from beta to 1.12.0
  • Released PlayerInputPermissions and inputPermissions from beta to 1.12.0
  • Released PlayerInputPermissionCategoryChangeAfterEvent and afterEvents.playerInputPermissionCategoryChanged from beta to 1.12.0
  • Added bound check for setCurrentValue. The provided value will be clamped to the range of this attribute
  • GameRules 
    • Released ShowDaysPlayed from beta to 1.12.0
    • Released showDaysPlayed from beta to 1.12.0
  • EnchantmentTypes 
    • Released getAll(): EnchantmentType[] from beta to 1.12.0
  • EntityRaycastOptions
    • Released ignoreBlockCollision from beta to 1.12.0
    • Released includeLiquidBlocks from beta to 1.12.0
    • Released includePassableBlocks from beta to 1.12.0
    • Released hitBlockPermutation member of EntityHitBlockAfterEvent from beta to 1.12.0
  • Released beta version of addEffect method on Entity to 3.0, which adds a return type for the newly created effect (or undefined if no effect was added) 

Blocks

  • Fixed a bug where interacting, while sneaking, with Command, Jigsaw, and Structure blocks could cause the UI to open/close multiple times
  • The Scaffolding block no longer flickers when moving at far distances (MCPE-120910)
  • Top Snow/snow_layer block now falls when placed using the /setblock command 
  • "double_stone_block_slab" block is now split into unique instances "smooth_stone_double_slab", "sandstone_double_slab", "oak_double_slab", "cobblestone_double_slab", "brick_double_slab", "stone_brick_double_slab", "quartz_double_slab", and "nether_brick_double_slab"
    • The id "oak_double_slab" had already been split from "double_wooden_slab", as a result, any "double_stone_block_slab:2" will be turned into the already existing "oak_double_slab" id. 
  • "monster_egg" block is now split into unique instances: "infested_stone", "infested_cobblestone", "infested_stone_bricks", "infested_mossy_stone_bricks", "infested_cracked_stone_bricks", and "infested_chiseled_stone_bricks" 
  • "infested_cobblestone" block destroy time has been changed to match Java Edition
  • "stonebrick" block is now split into unique instances: "stone_bricks", "mossy_stone_bricks", "cracked_stone_bricks", and "chiseled_stone_bricks" 
  • "Smooth Stone Bricks" block can no longer be obtained through commands and existing "Smooth Stone Bricks" will be converted to "Stone Bricks"
  • "stone_block_slab3" block is now split into unique instances "end_stone_brick_slab", "smooth_red_sandstone_slab", "polished_andesite_slab", "andesite_slab", "diorite_slab", "polished_diorite_slab", "granite_slab" and "polished_granite_slab"
  • "prismarine_slab", "dark_prismarine_slab", "prismarine_brick_slab", "andesite_slab", "polished_andesite_slab", "diorite_slab", "polished_diorite_slab", "granite_slab" and "polished_granite_slab" now have a destruction time of 1.5
  • "end_stone_brick_slab" now has a destruction time of 3.0
  • "stone_block_slab2" block is now split into unique instances "red_sandstone_slab", "purpur_slab", "prismarine_slab", "dark_prismarine_slab", "prismarine_brick_slab", "mossy_cobblestone_slab", "smooth_sandstone_slab", and "red_nether_brick_slab"

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:

  • Added a new Paste Preview tool which supports preview visualization of the clipboard contents and enables rotate and mirror. Additional functionality has also been added to keyboard bindings
    • SHIFT+CTRL+V - Activate Paste Preview Mode (if there's content in the clipboard)
    • CTRL+C - Copy Selection to Clipboard
    • CTRL+V - Immediate paste to cursor position (no preview)
    • Arrows/Pg UP/Pg DN - manually nudge the 3D block cursor in a camera relative direction
    • CTRL + Arrows/Pg UP/Pg DN - Manually nudge the pivot location inside the bounds of the clipboard item, in a camera relative direction
    • SHIFT+CTRL + Arrows/Pg UP/Pg DN - Manually nudge the placement offset, in a camera relative direction
    • CTRL+D or ESC - Deselect Preview Mode
    • Left Mouse Click, ENTER or CTRL+F - Place paste preview in the world at the 3D block cursor position
    • CTRL + Mouse Click - Remove blocks in the shape of the clipboard item (Note: Current implementation will only use the bounding box... complex shape removal is still in development)
    • B - Cursor Block Mode
    • F - Cursor Adjacent (Face) Mode
    • R - Rotate Cycle CW (0, 90, 180, 270) around Y axis at pivot location
    • SHIFT+R - Rotate Cycle CCW (270, 180, 90, 0) around Y at pivot location
    • X - Mirror X Axis around pivot
    • Z - Mirror Z Axis around pivot
    • C - Toggle Cursor Control Mode between "Keyboard & Mouse" or "Keyboard Only"
    • D - Change Cursor Control mode to "Fixed Distance"
    • Scroll Wheel - Adjust Fixed Cursor distance (only when Fixed distance is enabled)
  • Fixed a bug where clicking repeatedly on the "Uniform" checkbox in brush tool settings could cause a crash 
  • Add enabled property to IMenu and IMenuCreationParams
  • Added customization and pagination support for the Action bar. Action selector can be opened from plus button to add new items or from bottom right arrow of existing items to modify them 
  • Updated documentation for SimpleTool classes
  • Snow layer now falls when placed with a brush

Entities

  • Armor equipped to the second slot of "minecraft:equippable" is now applied to "slot.armor.body" instead of "slot.armor.torso"
    • To retrieve information about it, "query.armor_texture_slot", "query.armor_color_slot" and "query.armor_damage_slot" should now be used with a value of 4
    • This change only affects entities with a format version equal to or greater than 21.10

General

  • Updated documentation for Feature Rules' schema 

Graphical

  • Level screenshot thumbnails now support RTX and Deferred Technical Preview worlds
  • Particle Emitters that use the "minecraft:particle_appearance_lighting" component now use the correct light level instead of the world's origin light level

Items

  • Trimmed custom armor item icons now appear correctly when their icon texture name includes a namespace or does not match the item name
  • [BETA] Introduced "slot.armor.body" as an extra armor slot for entities like Horses, limited to a single armor item but needing the effects of a full armor set 
    • "slot.armor.body" is supported by:
      • Commands (even if no suitable item is currently available for manipulation)
      • "minecraft:attachable"
      • "minecraft:interact"
      • "query.armor_texture_slot" (with value 4)
      • "query.armor_color_slot" (with value 4)
      • "query.armor_damage_slot" (with value 4)
      • "query.equipment_count"
      • "has_equipment" entity filter (with domain "body")
      • "all_slots_empty" entity filter (with domain "body")
      • "any_slot_empty" entity filter (with domain "body")
    • "slot.armor.body" is not supported by:
      • "minecraft:wearable"
    • Future adjustments may alter how items equipped to "slot.armor.body" affect entity visibility (intended as how easy an entity is detected by other entities), enchantments, and armor protection

Molang

  • Released state_time which no longer requires the 'Upcoming Creator Features' toggle 

实验性特性

Script API

  • BlockRecordPlayerComponent
  • Added UIManager class and uiManager object to @minecraft/server-ui beta
    • Renamed the componentId to minecraft:record_player for consistency
    • Added methods getRecord, ejectRecord, pauseRecord and playRecord
    • Removed method clearRecord, instead you should now pass undefined to setRecord to reset it
    • Removed property readonly getLifetimeState: EntityLifetimeState from beta
  • Removed enum EntityLifetimeState from beta
    • Move setBlockPermutation(location: Vector3, permutation: BlockPermutation): void from beta to 12.0
    • Move setBlockType(location: Vector3, blockType: BlockType | string): void from beta to 12.0
    • Moved getTags(): string[] from beta to 12.0
    • Moved hasTag(tag: string): boolean from beta to 12.0
    • Removed property readonly fallDistance: number from beta

Components

  • EntityLeashableComponent
    • Added property canBeStolen: boolean
    • Added property hardDistance: number
    • Added property leashHolder: Entity
    • Added property leashHolderEntityId: string
    • Added property maxDistance: number
    • Added property isLeashed: boolean
    • Renamed function leash(leashHolder: Entity): void to leashTo(leashHolder: Entity): void

General

  • Updated the Hide Paperdoll toggle to default to false for Chromebooks
  • Added the 'Creator Cameras: New Third Person Presets' experiment and toggle which contains:
    • New 'minecraft:follow_orbit' preset that is accessible by the /camera command and can have a view offset

Graphical

  • Removed an errant 10 times multiplier in atmospheric scattering in the Deferred Technical Preview
    • This is expected to cause skies in existing packs to become darker and will require content creators to multiply their Rayleigh Strength, Mie Sun Strength, and Mie Moon Strength each by a factor of 10 to achieve the same visual result as before
  • Corrected an issue with the ACES tonemapper in the Deferred Technical Preview on Android. ACES tonemapping should now provide the expected results on Android. This should cause no changes on other platforms 
  • Volumetric fog density settings are now supported for weather when a format_version of 1.21.0 or higher is specified in the Deferred Technical Preview