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