Skip to main content

Minecraft Beta & Preview - 1.21.0.23

Script API

  • Fixed GameRules rule property-setters so that changes are propagated to clients
  • Moved startItemCooldown and player.getItemCooldown from beta to 1.11.0
  • Released playSound from beta to 1.11.0
  • playSound is now deprecated and will be removed in a future major version. Use Dimension.playSound as the alternative
  • Released _ListBlockVolume_from beta to 1.11.0
  • Released _BlockVolumeBase_from beta to 1.11.0
  • Released _BlockLocationIterator_from beta to 1.11.0
  • Moved method _getGameMode(): GameMode_from beta to 1.11.0
  • Moved method _setGameMode(gameMode?: GameMode): void_from beta to 1.11.0
  • Moved member _playerGameModeChange: PlayerGameModeChangeAfterEventSignal_from beta to 1.11.0
  • Moved member _playerGameModeChange: PlayerGameModeChangeBeforeEventSignal_from beta to 1.11.0
  • Moved class _PlayerGameModeChangeAfterEvent_from beta to 1.11.0
  • Moved class PlayerGameModeChangeAfterEventSignal from beta to 1.11.0
  • Moved class _PlayerGameModeChangeBeforeEvent_from beta to 1.11.0
  • Moved class PlayerGameModeChangeBeforeEventSignal from beta to 1.11.0
  • Added ItemComponentConsumeEvent for beta
  • Change waitTick(ticks?: number) to system.waitTicks(ticks: number);
  • Renamed property _selectedSlot_to selectedSlotIndex and moved it from beta to 1.11.0

Components

  • The default values for the "damage_sources" field of "behavior.panic" have been updated
    • For the complete list of the new default values, refer to the "Vanilla Parity" section of the changelog
    • This change only affects entities with a format version of 1.21.0 or higher
  • Multiple items with the same custom component will now correctly trigger custom component logic

Editor

  • Selection volumes can no longer be created when they would exceed the world height limits
  • When filling up a volume and dragging the volume during the filling operation the filling volume would also change. Now the filling operation happens in the original volume
  • Fixed a bug where camera collision caused third-person view to display inside the player's head in Crosshair mode

Experimental Features

Script API

  • EntityTameMountComponent
    • Added method tameToPlayer
    • Added properties isTamedisTamedToPlayertamedToPlayer, and tamedToPlayerId
  • GameRules
    • Added property showDaysPlayed to beta
  • Fixed _PlayerInputPermissions_input-lock category property-setters so that changes are propagated to clients

Graphical

  • Fixed a bug with volumetric fog shading in the Deferred Technical Preview that was causing fog to be much brighter than it should have been. Volumetric fog in the Deferred Technical Preview now matches the look of volumetric fog in RTX much more closely. Fog definitions in resource packs developed for the Deferred Technical Preview will need to be updated after this change. To maintain a similar look, the values for either "max_density" or "scattering" should be increased by a factor of 12.