
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!
About this Mod
Data 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
}
}
Available Versions
How to Install Data Tables on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.8).
Install Mod
Open the mod browser in the dashboard and search for "Data Tables". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.8, 1.21.7
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Data Tables server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.8). You can switch loaders with one click in the panel.
Is Data Tables compatible with fabric?
Data Tables officially supports fabric for Minecraft 1.21.8, 1.21.7. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Data Tables – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Data Tables consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Data Tables with just one click on your server.