Skip to main content

Minecraft Beta & Preview - 1.21.0.24

Add-Ons and Script Engine

  • Changed Biome documentation to generate with a different system, which will cause the layout and order of those documentation elements to change

Script API

  • Moved entity from beta to 1.11.0
  • Moved EntityTameMountComponent and method tame from beta to 1.11.0
  • Moved EntityAddRiderComponent from beta to 1.11.0
  • Moved Seat from beta to 1.11.0
  • Moved EntityRidingComponent from beta to 1.11.0

Editor

  • Added addTable API
  • Fixed GIF asset support for addImage API
  • Fixed a bug where the viewport did not scale properly with changes in UI or font scaling
  • Resolved tooltip positioning and content size issues

General

  • The Free camera experiment has been deprecated and the toggle removed as this feature has shipped. Future improvements to the free camera preset will be found in new experimental toggles as those capabilities become available. Samples can be found in the document for the camera command.

Items

  • Fixed a bug where, if a block and item are registered with the same identifier, the block returns a null item when 'picked'

Experimental Features

Script API

  • Fixed issue where block with custom components could not have a block placed onto them without crouching
  • Added new interface VectorXZ
  • Added method
    getTopmostBlock which will perform a raycast from the top of the world downwards, trying to find the first solid block
  • Added method getBlockAbove which will perform a raycast from a given position, trying to find the first solid block above
  • Added method getBlockBelow which will perform a raycast from a given position, trying to find the first solid block below