- Home
- Minecraft Datapack Generators
- Datapack.js
On the recordRead 8 Oct 202617 facts
Datapack.js
On the record
- API
- The library provides APIs for building high-quality Minecraft data packs.datapack.js.org · read 8 Oct 2026
- Build output
- The example builds a data pack and specifies a .zip output path.datapack.js.org · read 4 Oct 2026
- Commands module
- The example imports `@datapackjs/commands` as an optional commands module.datapack.js.org · read 8 Oct 2026
- Data pack format
- The site describes Minecraft data packs as folders or .zip files containing a pack.mcmeta file.datapack.js.org · read 4 Oct 2026
- Documentation
- The site links to further documentation and examples on datapack.js.org.datapack.js.org · read 4 Oct 2026
- Example API
- The example imports Datapack and MCFunction from @datapackjs/core and Effect from the commands module.datapack.js.org · read 4 Oct 2026
- Functions
- The example defines an `MCFunction` and registers it with the data pack.datapack.js.org · read 8 Oct 2026
- Installation
- The home page gives `npm install @datapackjs/core` as the installation command.datapack.js.org · read 8 Oct 2026
- License
- The public GitHub repository identifies an MIT license.github.com · read 8 Oct 2026
- Maker
- The documentation credits Jacob Wennebro as the builder.datapack.js.org · read 8 Oct 2026
- Minecraft content
- The site says data packs can define advancements, dimensions, enchantments, loot tables, recipes, structures, and biomes.datapack.js.org · read 4 Oct 2026
- Modular design
- The library is modular and allows third-party tools to plug into it.datapack.js.org · read 8 Oct 2026
- Optional modules
- The home page says users can install optional add-on modules.datapack.js.org · read 8 Oct 2026
- Pack output
- The example builds a data pack and specifies a `.zip` output path.datapack.js.org · read 8 Oct 2026
- Plain strings
- The example says commands can also be provided as plain strings.datapack.js.org · read 8 Oct 2026
- Purpose
- Datapack.js is a library for building Minecraft data packs in JavaScript or TypeScript.datapack.js.org · read 8 Oct 2026
- Supported formats
- The example constructs a data pack with a specified pack format, name, and description.datapack.js.org · read 8 Oct 2026