Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.82 KB

File metadata and controls

35 lines (24 loc) · 1.82 KB
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
typescript
minecraft

Minecraft TypeScript Starter Project Complete (Break the Cotta Game)

This is a completed version of the ../ts-starter/README.md project. See also the main tutorial article link.

Prerequisites

Install Node.js tools, if you haven't already

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.

Install Visual Studio Code, if you haven't already

Visit the Visual Studio Code website and install Visual Studio Code.

Manifest

  • 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.