Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Data Tables

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!

19
1
Library
Utility

Compatibility

Minecraft: Java Edition

Platforms

Fabric

Supported environments

Server-side
Client and server

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source

Creators

Drakonkinst
Drakonkinst Member

Details

Licensed MIT
Published 2 weeks ago
Updated 2 weeks ago
DescriptionChangelogVersions

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 /reload like other data pack resources
  • Supports modded items
  • Query data tables using the /table command, 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
  }
}

Modrinth is open source.

main@16c5a5a

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.