Skip to content

Tiny DataLib

This project is a library with useful utilities such as a database system and more.

FabricNeoForgeForgeQuilt
Loaders
FabricNeoForgeForgeQuilt
Downloads on Modrinth
333
Followers on Modrinth
1
versions
6
Updated
February 1, 2026Feb 1
Published
in 2025
This is a library — other mods need it, and it adds nothing to the game by itself
Title · swipe

At a glance

A library: other mods need it
Runs on Fabric, NeoForge, Forge and Quilt
For Minecraft 1.21.11
Needed on the server; optional in the game
Latest version — 0.0.3+mod from February 1, 2026
License MIT — free
Where it's needed
In gameoptionalOn serverrequired

Needed on the server; optional in the game

Game versions1.21.11

Tiny DataLib: The Essential Utility Toolkit for Minecraft Datapacks

Tiny DataLib is a lightweight, high-performance library designed to handle the "heavy lifting" of datapack development. Whether you need to calculate complex distances, manage persistent entity data, or run precise raycasts, Tiny DataLib provides a clean, macro-powered API so you can focus on building your game mechanics, not debugging NBT.


Key Features

FeatureDescriptionWhy it matters
Hybrid DatabaseStore data using UUIDs (for players/entities) or Custom Keys (for global settings/configs).Flexible enough for player stats, custom block data, or world-wide variables.
In-Storage Var MathPerform operations (+=, -=, *=, /=, etc.) directly on database variables via macros.No more manual scoreboard-to-NBT shuffling. Update data in a single function call.
Granular Data ControlPrecision get/set for specific NBT paths or get_full/set_full for entire objects.Optimized performance: only move the data you actually need.
Accurate DistanceCalculate the exact distance between any two entities or points in the world.Perfect for range checks, custom AI, or area-of-effect spells.
Intelligent RaycastingHigh-speed block detection to find exactly what a player is looking at.Essential for custom tools, magic wands, and interactive environments.

Designed for Modern Developers

Tiny DataLib is built for Minecraft 1.21.11, leveraging the latest engine features:

  • Macro-First Design: Use $(variable) inputs for extreme flexibility in your function calls.
  • Developer Friendly: Clear return codes (e.g., -1 for missing entries, -2 for invalid paths) help you debug instantly.
  • Optimized Performance: Uses "Entry" based logic to minimize lag and keep your tick-rate high.

Getting Started

Using Tiny DataLib is as simple as running a single function call!

Note: As of v0.0.2, the library has migrated from "Save" terminology to "Entry" for better technical accuracy.

You can find the complete API documentation, function parameters, and examples in our Wiki.


Looking Ahead

We are continuously evolving Tiny DataLib. Future updates will focus on:

  • Advanced Raycasting: Improved entity hitbox detection.
  • Distance Optimization: Further reducing overhead for high-frequency calculations.
  • Custom Give 2.0: Intelligent item stacking, overflow handling, and Component support.
  • New Modules: Tools for Mannequin (Armor Stand) animation and easier Attribute management.

Ready to accelerate your development? [Download Tiny DataLib v0.0.3 ALPHA Today]

Licensed under the MIT License. Please remember to list Tiny DataLib as a dependency in your Modrinth project!

FAQ

How to install Tiny DataLib?

Install Fabric for your Minecraft version, download Tiny DataLib for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does Tiny DataLib support?

Tiny DataLib has builds for Minecraft 1.21.11.

Is Tiny DataLib needed on the server?

Needed on the server; optional in the game

License and source
MIT Licensefree to use and share with credit to the author
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More