jsdatapack

1.0.0 • Public • Published

JsDatapack

JsDatapack is a npm package made to create Minecraft Datapacks in Javascript

Details

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!

Usage

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();

Features

Version 1.0.0:

  • Create a datapack
  • Save datapack

More features coming soon! Discord: https://discord.gg/QSA34dJb4J

Package Sidebar

Install

npm i jsdatapack

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

10.3 kB

Total Files

11

Last publish

Collaborators

  • micc281