dataLib is a mod framework for Minecraft Java Edition datapack developers. It provides a structured macro execution system, modular API modules, and multi-version compatibility — no mods required.
| Feature | Description |
|---|---|
| Macro Execution | Call parametric functions with dynamic variable injection via datalib:input storage |
| Modular API | Ready-to-use modules for math, strings, player data, scheduling, hooks, flags, lists, and timers |
| Multi-Version | Compatible with 1.20.3 through 26.1 via overlay-based version system |
| Multiplayer-Safe | No global state conflicts — designed for concurrent player use |
| Permissions | Built-in datalib:api/perm module for role-based access control |
| Dialog System | Storage-driven UI dialogs via datalib:api/dialog/open (1.21.6+) |
| Hook System | Bind and fire custom events across datapacks |
dataLib is built for datapack developers who need a reliable, reusable foundation instead of rewriting boilerplate from scratch. Suitable for admin tools, minigame systems, or complex player interaction logic.
Requires Minecraft Java Edition 26.1.2+
- Download the latest
.jarfrom Releases - Place the
.jarinto.minecraft/mods/ - Run
/datalib load yes - Grant yourself admin tag:
/tag @s add datalib.admin