FREEDOM251

Freedom251 › Minecraft Datapack Generators

Datapack.js

Paid

Visit Datapack.js Alternatives

Datapack.js's own site

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 a pack’s format, name, and description, create functions, and build the result with a `.zip` output path. Data packs can define Minecraft content such as advancements, dimensions, enchantments, loot tables, recipes, structures, and biomes. The example imports `Datapack` and `MCFunction` from `@datapackjs/core`, registers a function with the pack, and also shows commands written as plain strings. The library is modular, with a design intended to let third-party tools connect to it. Official modules are available to support development, and the commands module is optional. To install the core package, use `npm install @datapackjs/core`. The site links to further documentation and examples, credits Jacob Wennebro as the builder, and the public GitHub repository identifies an MIT license.

Who it suits

Datapack.js is for developers building Minecraft data packs in JavaScript or TypeScript. Its modular design and optional commands module may suit projects that need an API-based workflow.

What it does well

  • Free and open source.
  • Builds data packs with JavaScript or TypeScript.
  • Supports `.zip` output.
  • Optional commands module is available.

What to know first

  • The listed purpose is limited to Minecraft data packs.
  • The commands module is optional rather than part of the core package.

Getting started

  1. Visit https://datapack.js.org/ for documentation and examples.
  2. Install the core package with `npm install @datapackjs/core`.
  3. Define a data pack with its format, name, and description.
  4. Create an `MCFunction` and register it with the pack.
  5. Optionally add the commands module and build the pack to a `.zip` output path.

Verdict

Datapack.js offers an API-based way to create Minecraft data packs, with function registration and zip output shown in its example. Developers can start with the core package and consult the linked documentation and examples.

Questions

Does Datapack.js cost anything?

It is free and open source.

What license does it use?

Its public GitHub repository identifies an MIT license.

Which programming languages does it use?

It provides APIs for building data packs in JavaScript or TypeScript.

How do I install it?

The site gives `npm install @datapackjs/core` as the installation command.

Can it create functions and export a pack?

Yes. Its example defines and registers an `MCFunction` and specifies a `.zip` output path.

Who is credited as its builder?

The site credits Jacob Wennebro.

Facts from Datapack.js's own pages

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

Where Datapack.js stands on Freedom251

Look at these too