All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Data Config

Data Config

by wonderful_Ai_Chen • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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

  • Uses Cloth Config to provide a user-friendly interface
  • Supports 10+ configuration types: sliders, text boxes, dropdown menus, color pickers, etc.
  • Changes take effect immediately — no game restart required

🌍 Full Localization Support

  • Bilingual interface (Chinese and English)
  • Config option names, descriptions, and tooltips can be set per language

📦 Global Datapack Loading

  • Automatically loads .zip datapacks from config/datapack-config-mod/
  • Each datapack can be toggled on/off via the config interface
  • Datapacks are loaded with the highest priority

🔧 Main Menu Shortcut

  • A "Datapack Config" button is added to the top‑right corner of the main menu for one‑click access

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"
    }
  }
}

How to Install Data Config (Mod)

Data Config by wonderful_Ai_Chen is verified for Forge, Neoforge across Minecraft versions 1.20.1, 1.20.4, 1.21.1, 1.21.10, 1.21.11 (latest release: 0.0.2-1.21.10-neo, file size: 121 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.20.1, 1.20.4, 1.21.1, 1.21.10, 1.21.11) and platform (Forge, Neoforge).
  2. Make sure you have the compatible loader or environment installed for Forge, Neoforge.
  3. Move the downloaded Data Config file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.21.x
Neoforge
4mo ago 1
1.20.1
Forge
5mo ago 1
1.20.4
Forge
5mo ago 1
1.21.1
Forge
5mo ago 1
1.20.1
Forge
6mo ago 1
v0.0.1 — Initial Release

This is a Forge 1.20.1 mod that provides a visual graphical configuration interface for Minecraft datapacks.

### Core Features:

Datapack Configuration GUI — Datapack authors write datapack_config.json, and the mod automatically parses it and generates a Cloth Config configuration interface
Supports 8 types of configurations: Boolean toggle / Integer / Float / Slider / Dropdown / Enum selector / Color picker / Text input
Categorized Grouping — Supports organizing configuration items into collapsible subcategories
Batch Modification — One configuration item can modify multiple files within a datapack simultaneously
Global Loading — Supports automatically loading .zip datapacks from config/datapack-config-mod/, which can be toggled on or off in the GUI
Localization — Complete bilingual interface in Chinese and English, automatically matching the game language
Main Menu Button — Adds a "Datapack Config" shortcut in the top right corner of the main menu
Dependency: Cloth Config v11 (optional, recommended)
Data Config Icon
Download Data Config
Select game version
Select platform