HomeJavaModsData Config
Data Config
ModsJava

Data Config

by wonderful_Ai_Chen · on Modrinth

A mod that gives Minecraft datapacks a visual graphical configuration interface. Datapack authors only need to write simple JSON configurations, and…

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.10–1.21.11 · NeoForge⬇ Download for 1.21.1 · Forge⬇ Download for 1.20.4 · Forge⬇ Download for 1.20.1 · Forge
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
Data Config — screenshot 1Data Config — screenshot 2

Introduction

Datapack Config Mod is a utility mod for Minecraft Forge 1.20.1 that provides datapack developers with a convenient graphical configuration interface.

By integrating the Cloth Config API, the mod allows players to modify datapack parameters directly in-game without manually editing JSON files or restarting the game.


Main Features

🎨 Graphical Configuration Interface

🌍 Full Localization Support

📦 Global Datapack Loading

🔧 Main Menu Shortcut


Supported Configuration Types

Type Description
boolean Boolean toggle
int / slider Integer input / slider
double / double_slider Floating‑point input / slider
string Text input
enum / enum_selector Dropdown menu / enum selector
color Color picker

Quick Start

For Datapack Authors

Create a datapack_config.json file in the root directory of your datapack:

{
  "config": {
    "spawn_rate": {
      "type": "slider",
      "default": "50",
      "min": 0,
      "max": 100,
      "name": {
        "zh_cn": "生物生成率",
        "en_us": "Mob Spawn Rate"
      },
      "filePath": "data/mydatapack/config.json",
      "key": "spawn_rate"
    }
  }
}
Quick facts

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

These come from our own check of the pack file, not from the source page.

Explore more