How do you run code in Bedrock? I don’t use computer games at all, but my son plays Minecraft a lot and is into programming. I investigated options for programming in Minecraft, there is Tinker, an app that lets you program in scratch, but it is not very usable, and there are Minecraft servers where you can program in Java, but the learning process is rather steep for that one and also it works only for Java Edition Minecraft, while most of my sons friends use Bedrock. Supposedly there is also Education Edition, but I have no idea how to install it - it seems that it is only available for schools.
When I teach people to learn to code in Minecraft, I basically recommend using Minecraft Education Edition. This combines the Bedrock edition with the original editor called Makecode. They run as two separate apps within the application and are connected via Websockets. Websockets are supported in both the Bedrock and Education Editions, but the editor is only included in the Education.Java Edition does not support Websockets and requires the use of a mod or server.<p>By the way, TutoriaLLM hacks this mechanism of Minecrafft to create code in the browser and run it in Minecraft Bedrock without installation on a small VM thread created on the server. Currently only some of the functionality is available as it is still under development, but in the future it will offer the same functionality as Minecraft Education for free (at least until Microsoft finds it and block them...).