- Clone repo using
git clone git@github.com:Faeranne/kobold-constructor-fleet.git
- Enter the project directory
cd kobold-constructor-fleet
- Install Yarn dependencies
yarn install
- Run gather task
node setup.js
. Due to an existing installer issue, this might crash the first time. simply re-run it and it should work successfully. - Once minecraft closes, run
node app.mjs
to build the package. Final package can be found inworkdir/images.zip
. Name will probably change. - Run
yarn esbuild --bundle client/ts/elements.ts --outfile=client/js/elements.js --sourcemap=inline --loader:.svg=dataurl --loader:.png=dataurl
to build the client. - serve
client
via your favorite static site method. I usepython -m http.server
- load up the browser and upload the
images.zip
file to the client. Should automatically load in all the recipes and items that were found.
Once the first run has happened, you can add mods to the workdir/minecraft/mods
folder and re-run setup.js
then app.mjs
to rebuild the zip file. No further commands are needed