mfcpackdeprecated

Mfcpack is a packer that can compile TS files into mcfunction files

Usage no npm install needed!

<script type="module">
  import mfcpack from 'https://cdn.skypack.dev/mfcpack';
</script>

README

mfcpack

mfcpack is a packer that can compile TS files into mcfunction files for minecraft.

mfc-demo

install

Install with npm:

npm install --save-dev mfcpack

Install with yarn:

yarn add mfcpack --dev

Introduction

mfcpack is a packer that can compile TS files into mcfunction files for minecraft. Its main purpose is to convert JavaScript files into mcfunction files and output any static resources or assets. This doesn't mean it's a compiler, it's just converting JavaScript output into mcfunction files

Get started

Make sure your file directory like this

| /
|-src
     |-datapack/   -> convert .ts into .mcfunction 
     |-assets/     -> copy files

other

Also, you can clone this repository. https://github.com/hans000/mfcpack-demo