Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/storycraft/mcslib-template

Mcslib & typescript project template
https://github.com/storycraft/mcslib-template

Last synced: 7 days ago
JSON representation

Mcslib & typescript project template

Awesome Lists containing this project

README

        

# Mcslib template project
Template project with typescript, mcslib, and eslint setup

## Setup
1. Install Node.js(https://nodejs.org/en)
2. Install pnpm(https://pnpm.io/installation)
3. Install dependencies: `pnpm install`

## Compile
Run command below to build datapack
```bash
pnpm start
```
`datapack.zip` will be generated.

## Launch
1. Copy `datapack.zip` to datapack directory
2. Copy `intrinsics_datapack.zip` (download from https://github.com/storycraft/mcslib) to datapack directory
3. Run `function mcslib_template:hello_world`
4. `[Player]: Hello world!` will be printed