promotional bannermobile promotional banner

Jsonate

Jsonate simplifies Minecraft mod configuration with a lightweight JSON API, automating versioning, file handling, and type-safe data access for Forge developers.

Jsonate - Evil Json dominates everything.

Jsonate provides an intuitive, lightweight API for managing JSON-based configuration files in your Minecraft mods. Designed for simplicity and efficiency, it handles versioning, automatic file creation, and data type conversions seamlessly.

Don't wanna add dependency? Just copy the JsonConfig class and paste it into your template!

🛠 Usage Example

Add settings to your mod with clean, readable code:

public class ExampleMod {
    private static final JsonConfig CONFIG = JsonConfig.create("your_mod_id", "1.0.0")
        .put("Difficulty", 3)
        .put("EnableFeatures", true)
        .put("BlockList", Arrays.asList("dirt", "sand"))
        .initialize(); // Creates/loads JSON file
    // Access values statically
    public static int DIFFICULTY = CONFIG.getInt("Difficulty");
    public static boolean FEATURES_ENABLED = CONFIG.getBoolean("EnableFeatures");
    public static List<String> BLOCKED_ITEMS = CONFIG.getList("BlockList", String.class);
}

Generated JSON (your_mod_id.json):

{
  "Version": "1.0.0",
  "Difficulty": 3,
  "EnableFeatures": true,
  "BlockList": ["dirt", "sand"]
}

Important Notes

Cache Config Values: For performance, store retrieved values in static fields (avoid repeated lookups).

Path Conventions: Files are saved to .minecraft/config/your_mod_id.json by default.

Version Control: Update the version number after changing .put logic.


The Jsonate Team

profile avatar
  • 69
    Followers
  • 130
    Projects
  • 156.1M
    Downloads

唯假期与 Naruto 不可辜负。

More from _nArUTo_View all

  • Duplicationless project image

    Duplicationless

    • 1.5M
    • Mods

    A lightweight Minecraft library that simplifies JSON configs, block data storage, and entity tracking across chunks and dimensions.

    • 1.5M
    • May 21, 2026
    • Mods
  • DoesPotatoTick? project image

    DoesPotatoTick?

    • 12.7M
    • Mods

    performance mod that don‘t allow entities to tick when they are far from players.

    • 12.7M
    • April 20, 2026
    • Mods
    • +3
  • AutoChangeFight project image

    AutoChangeFight

    • 10.9K
    • Mods

    Epic Fight addon: Get rid of combat mode once your held item is not weapon.

    • 10.9K
    • April 19, 2026
    • Mods
  • ImmersiveForests project image

    ImmersiveForests

    • 2.3K
    • Mods

    Makes trees bigger, fuller, and more impressive

    • 2.3K
    • April 7, 2026
    • Mods
    • +2
  • Duplicationless project image

    Duplicationless

    • 1.5M
    • Mods

    A lightweight Minecraft library that simplifies JSON configs, block data storage, and entity tracking across chunks and dimensions.

    • 1.5M
    • May 21, 2026
    • Mods
  • DoesPotatoTick? project image

    DoesPotatoTick?

    • 12.7M
    • Mods

    performance mod that don‘t allow entities to tick when they are far from players.

    • 12.7M
    • April 20, 2026
    • Mods
    • +3
  • AutoChangeFight project image

    AutoChangeFight

    • 10.9K
    • Mods

    Epic Fight addon: Get rid of combat mode once your held item is not weapon.

    • 10.9K
    • April 19, 2026
    • Mods
  • ImmersiveForests project image

    ImmersiveForests

    • 2.3K
    • Mods

    Makes trees bigger, fuller, and more impressive

    • 2.3K
    • April 7, 2026
    • Mods
    • +2