1.0.0 • Published 3 years ago

jsdatapack v1.0.0

Weekly downloads
2
License
MIT
Repository
-
Last release
3 years ago

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