dataLib

โญ โ€” (1 endorsements) ๐Ÿ“ฅ 211 downloads ๐Ÿ“Œ vv6.0.2 ๐Ÿ“… 5/16/2026
๐ŸŸก Updated this year

By tickwarden ยท datapack

โฌ‡ Download Mod Source: Modrinth โ†— ๐Ÿ“… Updated: 8/6/2026 ๐Ÿ“… Created: 5/16/2026

๐Ÿ” Analysis

  • ๐Ÿ† #17 of 2169 datapack mods in this game by downloads

๐Ÿ“‹ About This Mod

# ๐Ÿ”ง dataLib > ## ๐Ÿ—„๏ธ ARCHIVED > **This project is archived and no longer maintained.** No new features, bug fixes, or security patches will be released. The information below reflects the state of the project at the time of archival and is kept for reference only. > > Use at your own risk โ€” known issues will not be fixed, and newer Minecraft versions are not guaranteed to be compatible. **Minecraft Java Edition 26.2 | Multiplayer-Safe | Pure Datapack** (https://github.com/runtoolkit/dataLib-dp/actions/workflows/ci.yml/badge.svg)](https://github.com/runtoolkit/dataLib-dp/actions/workflows/ci.yml) (https://img.shields.io/badge/License-MIT-green?style=for-the-badge)](LICENSE) (https://img.shields.io/badge/Download%20on-Modrinth-00AF5C?style=for-the-badge&logo=modrinth&logoColor=white)](https://modrinth.com/datapack/datalib) --- > Current version: **v6.0.2** --- > **This datapack was considered safe to use as of its last release, but it no longer receives security improvements, bug fixes, or new features. There is no "up to date" version to move to.** > > **Do not copy `datalib:input` or `datalib:engine` into your own datapack.** It is an internal implementation detail and may change without notice between releases. > โš ๏ธ **Do not use v5.1.1.** That version bound `_rt_origin.mcfunction` to the load tag, causing it to run automatically on every load with no safe removal path. Fixed in later versions โ€” always use the latest release. --- > โš ๏ธ A `/reload` is still required after installation or after adding the load hook below. Automatic first-join initialization is not implemented in this version โ€” do not rely on this until verified in-game with repeated reloads. --- > ๐Ÿ›ก๏ธ **This is a Minecraft Datapack โ€” it contains no executables or scripts outside of `.mcfunction` files.** > Some antivirus software may flag `.mcfunction` files as suspicious due to macro-like syntax. This is a **false positive**. The pack has been scanned on (https://www.virustotal.com) and returned clean. > **Only download from this official repository.** Do not trust redistributed or repackaged versions from third-party sources. --- ## ๐Ÿ“ฆ Installation 1. Download the latest release from the (https://modrinth.com/datapack/datalib/versions) and place the `.zip` into `<world>/datapacks/`. 2. Add the following logic to your datapack's `load` tag. Replace `<namespace>` with your own datapack's namespace (e.g. `mypack`) โ€” this applies only to the function names, never to `datalib:engine`, which is dataLib's own fixed storage and must not be changed: ```mcfunction #> <namespace>:load execute unless data storage datalib:engine {global:{loaded:1b}} run function <namespace>:load_datalib ``` ```mcfunction #> <namespace>:load_datalib # Guard checks the SAME storage/path the trigger condition checks (datalib:engine global.loaded). execute if data storage datalib:engine {global:{loaded:1b}} run return 0 function dl_load:load/yes function dl_load:load/fork_no data modify storage datalib:engine global.loaded set value 1b ``` <details> <summary>Fixed bug: duplicate load trigger (click to expand)</summary> An earlier version checked `datalib:engine {global:{loaded:1b}}` in the trigger but set `<namespace>:engine loaded_datalib` in the guard โ€” two different storages, two different paths. The set never satisfied the trigger's condition, so `load_datalib` re-ran every time the load tag fired. This doesn't crash anything, but it silently re-triggers `dl_load:load/yes` and `fork_no` on every reload, which can accumulate side effects depending on what those functions do. Both the check and the set must target `datalib:engine global.loaded`. If you're updating from an older copy of this README, verify by reloading multiple times and confirming `load_datalib` does NOT re-run after the first load. </details> --- ## ๐Ÿ—๏ธ Storage Architecture ``` datalib:engine (persistent data) โ”œโ”€โ”€ global โ”‚ โ”œโ”€โ”€ version: "v6.0.2" โ”‚ โ”œโ”€โ”€ loaded: 1b โ”‚ โ””โ”€โ”€ tick: <int> โ”œโ”€โ”€ players โ”‚ โ””โ”€โ”€ Steve { coins:150, level:5, xp:2300, online:1b, ... } โ”œโ”€โ”€ queue โ”‚ โ””โ”€โ”€ โ”œโ”€โ”€ cooldowns โ”‚ โ””โ”€โ”€ Steve { fireball: 2460, dash: 1870 } โ† expiry ticks โ””โ”€โ”€ events โ””โ”€โ”€ on_join: datalib:input (sending data to a function) datalib:output (receiving results from a function) ``` **Note:** All dataLib-owned state lives under the `datalib:` namespace only. Never mix a consuming pack's own namespace into dataLib's load-flag logic โ€” that mismatch was the source of the bug above. --- ## ๐Ÿ“ฆ Dependencies ### Lantern Load **Repository:** https://github.com/LanternMC/load **License:** BSD 0-Clause (public domain) Provides deterministic load order, version tracking, and pre/load/post-load hooks. ```mcfunction # Check if dataLib is loaded execute if score #dataLib load.status matches 1.. run say dataLib is loaded #

# ๐Ÿ”ง dataLib

> ## ๐Ÿ—„๏ธ ARCHIVED > This project is archived and no longer maintained. No new features, bug fixes, or security patches will be released. The information below reflects the state of the project at the time of archival and is kept for reference only. > > Use at your own risk โ€” known issues will not be fixed, and newer Minecraft versions are not guaranteed to be compatible.

Minecraft Java Edition 26. 2 | Multiplayer-Safe | Pure Datapack

[!(https://github.com/runtoolkit/dataLib-dp/actions/workflows/ci.yml/badge.svg)](https://github.com/runtoolkit/dataLib-dp/actions/workflows/ci.yml) [!(https://img.shields.io/badge/License-MIT-green?style=for-the-badge)](LICENSE) [!(https://img.shields.io/badge/Download%20on-Modrinth-00AF5C?style=for-the-badge&logo=modrinth&logoColor=white)](https://modrinth.com/datapack/datalib)

  • --
  • > Current version: v6. 0. 2
  • --

> This datapack was considered safe to use as of its last release, but it no longer receives security improvements, bug fixes, or new features. There is no "up to date" version to move to. > > Do not copy `datalib:input` or `datalib:engine` into your own datapack. It is an internal implementation detail and may change without notice between releases.

> โš ๏ธ Do not use v5. 1. 1. That version bound `_rt_origin.mcfunction` to the load tag, causing it to run automatically on every load with no safe removal path. Fixed in later versions โ€” always use the latest release.

> โš ๏ธ A `/reload` is still required after installation or after adding the load hook below. Automatic first-join initialization is not implemented in this version โ€” do not rely on this until verified in-game with repeated reloads.

> ๐Ÿ›ก๏ธ This is a Minecraft Datapack โ€” it contains no executables or scripts outside of `.mcfunction` files. > Some antivirus software may flag `.mcfunction` files as suspicious due to macro-like syntax. This is a false positive. The pack has been scanned on (https://www.virustotal.com) and returned clean. > Only download from this official repository. Do not trust redistributed or repackaged versions from third-party sources.

## ๐Ÿ“ฆ Installation

1. Download the latest release from the (https://modrinth.com/datapack/datalib/versions) and place the `.zip` into `/datapacks/`.

2. Add the following logic to your datapack's `load` tag. Replace `` with your own datapack's namespace (e.g. `mypack`) โ€” this applies only to the function names, never to `datalib:engine`, which is dataLib's own fixed storage and must not be changed:

```mcfunction #> :load execute unless data storage datalib:engine {global:{loaded:1b}} run function :load_datalib ```

```mcfunction #> :load_datalib

# Guard checks the SAME storage/path the trigger condition checks (datalib:engine global.loaded). execute if data storage datalib:engine {global:{loaded:1b}} run return 0

function dl_load:load/yes function dl_load:load/fork_no

data modify storage datalib:engine global.loaded set value 1b ```

Fixed bug: duplicate load trigger (click to expand)

An earlier version checked `datalib:engine {global:{loaded:1b}}` in the trigger but set `:engine loaded_datalib` in the guard โ€” two different storages, two different paths. The set never satisfied the trigger's condition, so `load_datalib` re-ran every time the load tag fired. This doesn't crash anything, but it silently re-triggers `dl_load:load/yes` and `fork_no` on every reload, which can accumulate side effects depending on what those functions do.

Both the check and the set must target `datalib:engine global.loaded`. If you're updating from an older copy of this README, verify by reloading multiple times and confirming `load_datalib` does NOT re-run after the first load.

## ๐Ÿ—๏ธ Storage Architecture

``` datalib:engine (persistent data) โ”œโ”€โ”€ global โ”‚ โ”œโ”€โ”€ version: "v6. 0. 2" โ”‚ โ”œโ”€โ”€ loaded: 1b โ”‚ โ””โ”€โ”€ tick: โ”œโ”€โ”€ players โ”‚ โ””โ”€โ”€ Steve { coins:150, level:5, xp:2300, online:1b, ... } โ”œโ”€โ”€ queue โ”‚ โ””โ”€โ”€ [{func:"mypack:event/end", delay:100}] โ”œโ”€โ”€ cooldowns โ”‚ โ””โ”€โ”€ Steve { fireball: 2460, dash: 1870 } โ† expiry ticks โ””โ”€โ”€ events โ””โ”€โ”€ on_join: [{func:"mypack:welcome"}, {func:"mypack:xp_bonus"}]

datalib:input (sending data to a function) datalib:output (receiving results from a function) ```

Note: All dataLib-owned state lives under the `datalib:` namespace only. Never mix a consuming pack's own namespace into dataLib's load-flag logic โ€” that mismatch was the source of the bug above.

## ๐Ÿ“ฆ Dependencies

### Lantern Load Repository: https://github.com/LanternMC/load License: BSD 0-Clause (public domain)

Provides deterministic load order, version tracking, and pre/load/post-load hooks.

```mcfunction # Check if dataLib is loaded execute if score #dataLib load.status matches 1.. run say dataLib is loaded

๐Ÿค– AI-enhanced โ€” based on mod data

๐Ÿ“Š Mod Details

Game
Minecraft Data Packs
Author
tickwarden
Version
v6.0.2
Downloads
211
Endorsements
1
Category
datapack
Created
5/16/2026
Updated
8/6/2026
Game Versions
26.2
Tags
library, technology, utility

๐Ÿ”ง How to Install Minecraft Data Packs Mods

Download from Modrinth. Use Prism Launcher or drop into your mods folder.

๐Ÿ“– Full step-by-step install guide for Minecraft Data Packs โ†’

Visit the official mod page for specific installation instructions for this mod.

๐ŸŽฎ Need cheat codes or console commands? Check ur gaming wiki for Minecraft Data Packs commands, item IDs, and more.

โ“ Frequently Asked Questions

Which Minecraft Data Packs versions does dataLib support?

The author lists 26.2. Other versions may work but are untested by the author.

What is the latest version of dataLib?

Version v6.0.2, published 2026-08-06 with 211 downloads recorded at the source.

Keep browsing โ€” more Minecraft Data Packs mods await

๐Ÿ“‹ All Minecraft Data Packs Mods ๐Ÿ† Top 25 ๐Ÿ“‚ More datapack ๐Ÿ‘ค More by tickwarden ๐Ÿ”Ž Similar Mods ๐ŸŒ Best datapack (All Games) ๐Ÿ”€ Check Compatibility โš–๏ธ Compare Mods ๐Ÿ†• New Mods