Minecraft Bedrock Demo

I experimented in creating a Minecraft Mod in Bedrock edition. I built a data driven framework based on Minecraft Engine, where behaviors, components, component groups and events are isolated in JSON data and tuneable. This allows me to swap components when certain events are triggered, rather than overly complex logic. This approach was implemented with efficiency in mind, whereas the engine doesn't have to evaluate logic every tick. Also I planned to keep things as simple as possible where I'm unfamiliar with Minecraft scripting API. I not only learned the fundamentals of TypeScript but I transpiled TypeScript to JavaScript using NodeJS in order to allow for easier debugging and Intellisense. For the UI I used an Action Form, which returns a promise object through a callback, that way the program will wait for a button to be pressed before executing logic. When a button is clicked, I'm using runTimeout from the system class in order to make sure component references are valid. The main challenges I faced were learning a new language and the syntax involved. Thankfully my skills in C# were transferrable.

code


Back to Portfolio