Bedrock Edition beta 1.19.40.23

**Beta 1.19.40.23** (Android) or **Preview 1.19.40.23** (Windows, iOS, iPadOS, Xbox) is the fourth beta/*Preview* version for Bedrock Edition 1.19.40, released on September 29, 2022, which fixes bugs, and brings more parity of *Java Edition*.

## Changes

### Command format

`/summon`
* Temporarily disabled the rotation for the `/summon` command while a bug is worked on. (MCPE-162264)[*verify*]

## Experimental

These additions and changes are accessible by enabling the "Upcoming Creator Features" and "Beta APIs" experimental toggle.

### Changes

#### Technical

Commands
* Fixed a rotation issue when a Command Block executes `/execute facing` and `/execute rotated`. (MCPE-162256)
* Implemented the `/execute in` command.
* Implemented the `/execute anchored` command.
* Teleporting to an entity in another dimension is now allowed with the `/execute` and `/teleport` commands.

API
* Major breaking change to experimental JavaScript APIs:
	+ All script modules have been renamed to follow a new convention.
		- *mojang-gametest -> @minecraft/server-gametest*
		- *mojang-minecraft -> @minecraft/server*
		- *mojang-minecraft-ui -> @minecraft/server-ui*
		- *mojang-minecraft-server-admin -> @minecraft/server-admin*
		- *mojang-net -> @minecraft/server-net*
	+ For example, rather than using:
		- import \* as mc from "mojang-minecraft";
	+ Use:
		- import \* as mc from "@minecraft/server";
			* Use of script eval() and Function() must be explicitly in json
			* To do this, set script\_evalian capabilities
		- "capabilities":[ "script\_eval"]
			* Root path for imports has changed; scripts/prefix are no longer allowed.
			* For imports, use import "./source.js" or import "source.js".
			* Deprecated use of import "scripts/source.js".

Actor Properties
* Fixed "bool\_property" filters that didn't specify a "value".

General
* Release `BlockGeometryComponent` out of experimental in JSON formats 1.19.40 and higher.
* Release `BlockMaterialInstancesComponent` out of experimental in JSON formats 1.19.40 and higher.
* Renamed `minecraft:block_light_filter` component to `minecraft:light_dampening`.

## Fixes

Vanilla Parity
* Getting killed by a mob with a renamed weapon now produces a death message with the item name. (MCPE-162055)
* Wither skeletons can now spawn inside of wither roses. (MCPE-110127)
* Decreased the amount of hunger used while swimming to match *Java Edition*. (MCPE-154452)
* Librarian villagers can now offer enchanted books with 'Curse of Vanishing' and 'Curse of Binding'. (MCPE-84906)

Spectator Mode (Experimental)
* Shulker bullets no longer follow spectators. (MCPE-162069)
* Spectators are now invisible to normal players.
* If a player is in Spectator Mode and other non-spectating players are present on the server, the spectating player will not affect mob despawning anymore.
* If there are only spectating players on the server, mob despawning is now put on hold.

User Interface
* Fixed a bug where death messages were sometimes too long to fit on screen. (MCPE-156550)
* The inventory button for touch devices is now reset to its default appearance after closing the inventory.
* Fixed the crafting screen search string not saving correctly.
* Fixed an issue with the durability bar missing on inventory screens on Xbox. (MCPE-162063)
* Fixed a bug where the sign in button on Create New World did not work on some platforms.

Mobile Touch Controls
* Fixed a bug where items could not be removed from the hotbar by moving them onto other items in Creative Inventory on mobile devices.
* Fixed an issue where the stack splitting progress bar was not aligned on touch mode.
* Adjusted layout of the touch toolbar and status effect icons based on user feedback.
* Temporarily disabled the preview of our new Touch Stack Splitting UX while we work through feedback.

Mobs
* When a mob is a passenger in a boat, neither the boat nor the mob are allowed to change dimension. (MCPE-154919)

Blocks
* The book of an enchanting table now properly faces a nearby player. (MCPE-29924)

NPC (EDU)
* NPCs can now have no name, hiding the nametag above their head.

Marketplace
* Fixed an issue with Marketplace bundle prices not showing as free after purchasing.

Stability and Performance
* Fixed a potential crash source in explosions.
* Fixed a crash that could occur when leaving a split screen session.

## References

1. ↑ "Minecraft Beta & Preview - 1.19.40.23" – Minecraft Feedback, September 29, 2022.