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.


Jsonate Team

profile avatar
  • 73
    Followers
  • 134
    Projects
  • 177.6M
    Downloads

唯假期与 Naruto 不可辜负。

More from _nArUTo_View all

  • PickColorApi project image

    PickColorApi

    A lightweight Minecraft API for easy color selection with an interactive color wheel, brightness control, and RGBA input.

    • 48
    • October 22, 2026
  • EconEnch project image

    EconEnch

    Preserves enchantments that aren't transferred when combining items in an anvil, reducing wasted enchantments.

    • 39
    • October 15, 2026
  • GuyMisstep project image

    GuyMisstep

    GuyMisstep makes suspended sand blocks fall immediately when players get close, ensuring no floating sand glitches and enhancing game realism.

    • 1.9K
    • October 14, 2026
  • ReTargetato project image

    ReTargetato

    Stop the monsters from killing each other

    • 5.8K
    • September 2, 2026
  • PickColorApi project image

    PickColorApi

    A lightweight Minecraft API for easy color selection with an interactive color wheel, brightness control, and RGBA input.

    • 48
    • October 22, 2026
  • EconEnch project image

    EconEnch

    Preserves enchantments that aren't transferred when combining items in an anvil, reducing wasted enchantments.

    • 39
    • October 15, 2026
  • GuyMisstep project image

    GuyMisstep

    GuyMisstep makes suspended sand blocks fall immediately when players get close, ensuring no floating sand glitches and enhancing game realism.

    • 1.9K
    • October 14, 2026
  • ReTargetato project image

    ReTargetato

    Stop the monsters from killing each other

    • 5.8K
    • September 2, 2026