Make minecraft datapacks in javascript.
npm install jsdatapackJsDatapack is a npm package made to create Minecraft Datapacks in Javascript
I made this because I didn't now how to calculate a random number in a datapack.
You wont be able to do use Javascript functions to say make a random number,
so if you have any ideas for functions for this join the discord and request it.
More features coming soon like making scoreboards, using other commands and multiplayer commands!
``js
const { Base } = require('jsdatapack');
// Base takes in to params. A datapack name and a datapack description
const dp = new Base("NewDataPack", "This is a test datapack!");
// This will save the datapack to a zip file.
dp.save();
``
Version 1.0.0:
- Create a datapack
- Save datapack
More features coming soon!
Discord: https://discord.gg/QSA34dJb4J