page_type | author | description | ms.author | ms.date | languages | products | ||
---|---|---|---|---|---|---|---|---|
sample |
mammerla |
A basic Hello World example of developing Minecraft scripts using TypeScript and a build process. |
04/01/2022 |
|
|
This is a completed version of the ../ts-starter/README.md project. See also the main tutorial article link.
We're going to use the package manager npm to get more tools to make the process of building our project easier.
Visit https://nodejs.org/.
Download the version with "LTS" next to the number and install it. (LTS stands for Long Term Support, if you're curious.) In the Node.js Windows installer, accept the installation defaults. You do not need to install any additional tools for Native compilation.
Visit the Visual Studio Code website and install Visual Studio Code.
- just.config.ts: This file contains build instructions for the Starter Break the Cotta arena project.
- scripts: This contains all of your TypeScript files, that will be compiled and built into your projects.
- behavior_packs: This contains resources and JSON files that define your behavior pack.