Download Data Tables — Minecraft Mods — MetaMods

Data Tables

Active

Downloads

0

Last update

2 months ago

Versions

1.21.7 — 1.21.8
Server
Fabric
Libraries
Utils

Data Tables

Data Tables mod is an innovative solution for Minecraft that adds a new type of resource for data packs - so-called "data tables". These tables allow creating mappings between identifiers (such as item, block, or entity type IDs) and integer values, opening up wide possibilities for modders and data pack creators.

Key Features

Data tables operate on the server side with the ability to sync with the client when the mod is present. The system supports not only individual identifiers but also tags, which significantly expands functionality. Like other data pack resources, tables are updated when executing the /reload command.

The mod is fully compatible with modified items and blocks. For working with tables, the /table command is provided, as well as a simple API for mod developers. Additionally, data generation is supported, which saves modders from having to create tables manually.

Usage Example

Creating data tables is a simple and intuitive process. Here's a configuration example:

{
  "type": "block",
  "default": 0,
  "entries": {
    "#my_data_pack:gem_blocks": 3,
    "minecraft:emerald_block": 5,
    "minecraft:diamond_block": 5,
    "minecraft:diamond_ore": 4
  }
}

This table defines values for different block types, including the use of tags for grouping.

Project members
Drakonkinst

Drakonkinst

Developer

Created: 10 Aug 2025

ID: 262870