Datapack.js
Datapack.js is a free, open-source library for building Minecraft data packs with JavaScript or TypeScript.
What Datapack.js is
Datapack.js is a free, open-source library for building Minecraft data packs with JavaScript or TypeScript. Its APIs let developers define pack details and assemble content such as advancements, dimensions, enchantments, loot tables, recipes, structures, and biomes. The example builds a data pack with a specified format, name, and description, registers an MCFunction, and provides a .zip output path. Commands may also be written as plain strings.
The library is modular, with a design intended to let third-party tools plug in. Official modules are available to support development, but the commands module is optional; the example imports Effect from that module alongside Datapack and MCFunction from the core package. Installation begins with `npm install @datapackjs/core`. Data packs are folders or .zip files containing a pack.mcmeta file. The project website links to further documentation and examples, and credits Jacob Wennebro as its builder. The public GitHub repository identifies an MIT license.
Good
- Free and open source
- Supports JavaScript and TypeScript
- Can assemble a .zip data pack
- Optional commands module
- Links to documentation and examples
Watch out
- Requires JavaScript or TypeScript development
- Commands module is separate and optional
- Builds data packs rather than a user-facing pack editor
Who it suits
Datapack.js is for developers who want to build Minecraft data packs using JavaScript or TypeScript. It may suit those who prefer a modular library and .zip pack output.
Verdict
Datapack.js provides a modular code-based route to assembling Minecraft data packs. Developers should expect to work with its API and install the core package rather than use a standalone editor.
The facts
Each one read from Datapack.js's own pages, with the date it was checked.
What it does
- API
- The library provides APIs for building high-quality Minecraft data packs.checked 8 Oct 2026
- Build output
- The example builds a data pack and specifies a .zip output path.checked 4 Oct 2026
- Commands module
- The example imports `@datapackjs/commands` as an optional commands module.checked 8 Oct 2026
- Data pack format
- The site describes Minecraft data packs as folders or .zip files containing a pack.mcmeta file.checked 4 Oct 2026
- Documentation
- The site links to further documentation and examples on datapack.js.org.checked 4 Oct 2026
- Example API
- The example imports Datapack and MCFunction from @datapackjs/core and Effect from the commands module.checked 4 Oct 2026
- Functions
- The example defines an `MCFunction` and registers it with the data pack.checked 8 Oct 2026
- Installation
- The home page gives `npm install @datapackjs/core` as the installation command.checked 8 Oct 2026
- License
- The public GitHub repository identifies an MIT license.checked 8 Oct 2026
- Minecraft content
- The site says data packs can define advancements, dimensions, enchantments, loot tables, recipes, structures, and biomes.checked 4 Oct 2026
- Modular design
- The library is modular and allows third-party tools to plug into it.checked 8 Oct 2026
- Optional modules
- The home page says users can install optional add-on modules.checked 8 Oct 2026
- Pack output
- The example builds a data pack and specifies a `.zip` output path.checked 8 Oct 2026
- Plain strings
- The example says commands can also be provided as plain strings.checked 8 Oct 2026
- Purpose
- Datapack.js is a library for building Minecraft data packs in JavaScript or TypeScript.checked 8 Oct 2026
- Supported formats
- The example constructs a data pack with a specified pack format, name, and description.checked 8 Oct 2026
The company
- Maker
- The documentation credits Jacob Wennebro as the builder.checked 8 Oct 2026
Alternatives to Datapack.js
- 1

Orca Minecraft Datapack Generator
Free planWebAPILinuxmacOS7.7From $6.99 a month - 2
Minecraft Datapack Language
Free planOpen sourceAPIExtensionLinuxmacOS7.3Free plan - 3

Codexe Datapack Generator
Free planWeb6.7From $25 a month - 4

PackForge
Free planWeb6.6From $7.99 a month - 5

Beet
Free planLinuxmacOSWindows6.1Free plan - 6
Datapack Editor
Free planLinuxmacOSWindows6.1Free plan
