
ModsJava
Data Tables
A lightweight mod for Fabric which adds data tables: data-driven key-value pairs which can be used by modders or data pack creators!
⬇ Download on ModrinthData Tables
Adds a new data pack resource known as data tables, which allow you to map identifiers (like item, block, or entity type IDs) to different integer values. These data tables are accessible to both modders and data pack creators who can use them to implement a wide variety of data-driven features.
Features
- Server-side, with optional syncing to client if the client also has the mod
- Supports tags, not just individual IDs!
- Refreshes on
/reloadlike other data pack resources - Supports modded items
- Query data tables using the
/tablecommand, or a simple API for modders! - Supports datagen! No need for modders to write data tables by hand.
See the README for more info!
Example Data Table
Data tables are extremely simple to write and use.
{
"type": "block",
"default": 0,
"entries": {
"#my_data_pack:gem_blocks": 3,
"minecraft:emerald_block": 5,
"minecraft:diamond_block": 5,
"minecraft:diamond_ore": 4
}
}
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.21.7, 1.21.8
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Verified by MCModsHub
- Ships as datatables-1.13.jar — drop this file into the mods folder
- Download size: 540 KB
- Download link checked 11 Sept 2026 — working
These come from our own check of the pack file, not from the source page.