Skip to main content

Minecraft Beta & Preview - 1.21.0.22

Add-Ons and Script Engine 

  • Deprecated the Free Creator Camera experiment 

Script API

  • GameRules

    • Released GameRules from beta to 1.11.0 

    • Released GameRuleChangeAfterEvent from beta to 1.11.0 

    • Released GameRuleChangeAfterEventSignal from beta to 1.11.0 

    • Released World.gameRules from beta to 1.11.0 

    • Released WorldAfterEvents.gameRuleChange from beta to 1.11.0 

  • EntityTameableComponent 

    • Changed return type of getTameItems to ItemStack[] 

    • Changed tame to take a player 

    • Added method tamedToPlayer, tamedToPlayerId, isTamed 

  • Released EntityColor2Component from beta to 1.11.0

  • Released PaletteColor from beta to 1.11.0 

  • Released ItemStack.matches from beta to 1.11.0

  • Released EntityNavigationComponent from beta to 1.11.0

  • Released EntityNavigationClimbComponent from beta to 1.11.0 

  • Released EntityNavigationFloatComponent from beta to 1.11.0 

  • Released EntityNavigationFlyComponent from beta to 1.11.0 

  • Released EntityNavigationGenericComponent from beta to 1.11.0 

  • Released EntityNavigationHoverComponent from beta to 1.11.0 

  • Released EntityNavigationWalkComponent from beta to 1.11.0 

Editor 

  • Implemented a Simple Tool Wrapper framework to simplify the boilerplate implementation of setting up an editor tool, and manage the window visibility and lifecycle of the tool components. 

  • Editor Export API can now export a playable world  

  • Fixed the UI layout drawer content to respond properly to changes in the visibility of the PropertyPane API 

  • Fixed bug for when a player switched to Test World while in the Nether/End the worlds dimension incorrectly changed to the Overworld 

  • Updated Editor Extension Starter Kit to include samples for custom brushes and Simple Tool Wrapper 

  • Fixed bug that caused crashes during deletion of Script Widget Groups 

Entities 

  • Updated entity geometry to allow UV rotations. This allows you to rotate the specified UV rect in 90 degree increments before applying it to a cube face of an entity model. Supported from minecraft:geometry format version 1.21.0 and up 

Split Screen 

  • Fixed mob animations not playing when mobs were unloaded in split screen 

Items 

  • Unlocking requirements are now sent to clients for "minecraft:recipe_shapeless" and "minecraft:recipe_shaped"

    • It allows the UI to suggest recipes that are always unlocked when the game rule "dolimitedcrafting" is ON 

Experimental Features

Script API

  • Changed function from fillBlocks(begin: Vector3, end: Vector3, block: BlockPermutation | BlockType | string, options?: BlockFillOptions): number to fillBlocks(volume: BlockVolumeBase | CompoundBlockVolume, block: BlockPermutation | BlockType | string, options?: BlockFillOptions): ListBlockVolume 

  • BlockFillOptions 

    • Removed member matchingBlock?: BlockPermutation 

    • Added member blockFilter?: BlockFilter 

    • Added member ignoreChunkBoundErrors?: boolean 

  • Added ItemComponentUseCompleteEvent for beta 

    • Moved setType API from beta to stable 1.11.0 

    • Added function waitTick(ticks?: number): Promise where the returned promise is resolved after "ticks" number of ticks or 1 tick if no ticks parameter is supplied 

  • Removed argument waterlogged from function setBlockPermutation and moved it from beta to 1.11.0 

  • Moved function saveToWorld from beta to 1.11.0 

  • Moved function saveAs from beta to 1.11.0 

  • Updated signature of createFromWorld and moved it from beta to 1.11.0 

  • Renamed function getIds to getWorldStructureIds and moved it from beta to 1.11.0 

Graphical 

  • Added a new feature to the Deferred Technical Preview: Color Grading and Tone Mapping. This new capability allows resource packs to define their own color post processing for conveying distinct moods and themes. See the updated Getting Started with Deferred Lighting article for full information 

  • New experimental toggle added in Video settings menu to remove texture limit and load textures instead of using the "pink texture" called "Remove Texture Limit". Textures will continue to load until the system exhausts all available graphics memory 

  • Added light pre-exposure to the Deferred Technical Preview. This new feature is enabled by default and cannot be disabled. While this won’t result in any immediate visual difference for players, creators now have the freedom to specify sun or atmospheric intensities with values larger than 65,000. Previously, larger values like these would cause visual corruption on certain mobile devices (MCPE-173919)