Skip to main content

Minecraft Beta & Preview - 1.20.80.20

Script API

  • Removed EntityHealableComponent.filters as they currently have no backing implementation
  • Fixing some component isValid methods where they didn’t properly return false in cases where the component had been removed from the Entity.
  • Added PaletteColor enum to beta for use with ItemColorComponent/ItemColor2Component
  • Added ItemColor2Component to beta for reading minecraft:color2
  • Setting a dynamic property with a key larger than 32kb now will result in an exception

Blocks

  • “sapling” block is now split into unique instances: “oak_sapling”, “spruce_sapling”, “birch_sapling”, “jungle_sapling”, “acacia_sapling” and “dark_oak_sapling”.
  • “coral_fan” block is now split into unique instances: “tube_coral_fan”, “brain_coral_fan”, “bubble_coral_fan”, “fire_coral_fan” and “horn_coral_fan”

Cameras

  • Added the “extend_player_rendering” camera component which allows for players (and any entities they are connected to through riding and leashes) to be rendered even if they are beyond the max entity render distance
  • Added “extend_player_rendering” component to the “minecraft:free” camera
    • This component is intended to be an enhancement and improvement to current functionality and as such will be “set to true” by default
    • Setting this component to false will remove the added rendering capability. Documentation will be undated prior to release
  • The server now sends chunks and actors around the camera to the client if that information already exists on the server even when the camera is placed far away from the player

Components

  • The “interact” component’s fields “equip_item_slot” and “drop_item_slot” now support both armor and inventory slots:
    • Armor slots are specified as ‘slot.armor.head’, ‘slot.armor.chest’, ‘slot.armor.legs’, and ‘slot.armor.feet’
    • Inventory slots are specified as positive numbers, now expressed as strings
    • This change requires a world version of 1.20.80 or higher
  • Added “repair_entity_item” field to the “interact” component, which allows to repair an item in one of the entity’s inventory or armor slots

Editor

  • Added support for addImage to property pane
  • Added icon property to IPropertyItemOptionsButton API to display icons in buttons
  • Added the concept of WidgetManager and CustomWidget - allowing the server to instantiate in-world widgets which should facilitate manipulation of world tools. We currently only support CustomWidgets (which are server driven Custom Entities)
  • Adjusted default editor UI scale to optimize screen space

Entity Filters

  • Added new entity filter “is_sitting”, which checks if the entity is sitting
  • Added new entity filter “has_damaged_equipment”, which checks if the entity has a certain damaged piece of equipment in the specified slot

Molang

  • Added new query “query.armor_slot_damage”, which returns the damage value of the armor item in the specified slot

Stability and Performance

  • Removed FilterTextPacket

Experimental Features

Blocks

  • Added ‘minecraft:custom_components’ block component under the Beta APIs feature flag

Commands

  • Fixed /hud command so that changes only effect the targeted player(s)

Graphical

  • Partially fixed full block shapes (e.g. Redstone Lamps, Froglights, Glowstone, etc.) that are marked as point lights in resource packs in the Deferred Technical Preview. They can still be turned into point lights, but will not have occlusion/shadows
  • Added a dedicated quality slider for Point Light Shadows in the Deferred Video Settings menu
  • Added a new feature to the lighting model in the Deferred Technical Preview: Sub Surface Scattering. This effect approximates rays of light passing through translucent surfaces. For now, this feature is limited to only affect Leaves
  • Increased the contrast and saturation of the world in the Deferred Technical Preview

Script API

  • Block Custom Components – see https://learn.microsoft.com/minecraft/creator/Documents/CustomComponents 
    • Added BlockComponentStepOnEvent for beta
    • Added BlockRegistry for beta
    • Added WorldInitializeBeforeEvent
    • Added BlockCustomComponent
  • Creator Settings menu has a new option to automatically connect the debugger on world load (or /reload). This will make it easier to set (and catch) breakpoints at load and avoids the hassle of typing out the debugger slash command
  • Added class ListBlockVolume which extends BaseBlockVolume - A volume that stores multiple block locations
  • Structure
    • Renamed class StructureTemplate to Structure
    • Added read-only property size: Vector3 - Returns the size of the structure in blocks
    • Added function getBlockPermutation(location: Vector3): BlockPermutation | undefined; - Returns the block permutation at the given location within the structure
    • Added function isValid(): boolean - Returns false if the structure has been deleted
    • Added function getIsWaterlogged(location: Vector3): boolean; - Returns whether the block at the given location is waterlogged