Back to mods
JsonPatcher project artwork

CurseForge · Minecraft mod

JsonPatcher

A tool for patching minecrafts json files, without overrding them, using a custom DSL

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which JsonPatcher release matches 1.20.3-pre2?

Updated 10 days ago
beta file v1.0.0-beta.3 [1.20.2]
Game version 1.20.2, 1.20.3-Snapshot, 1.20.3-pre2
Loader Fabric, Quilt

JsonPatcher v1.0.0-beta.3 [1.20.2] targets 1.20.2, 1.20.3-Snapshot, 1.20.3-pre2 with Fabric, Quilt. The project page does not say whether this file belongs on the client, dedicated server, or both. 1 required mod needs a matching file.

Where it goes

Is JsonPatcher required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Fabric, Quilt
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does JsonPatcher v1.0.0-beta.3 [1.20.2] need?

v1.0.0-beta.3 [1.20.2] on 1.20.3-pre2. Every mod below is checked against that same setup.

1 required mod needs a matching file

Install Fabric API first, but 1 required mod has no matching file for this setup. Do not mix loader builds to force a match.

Fabric API Needed by JsonPatcher v1.0.0-beta.3 [1.20.2]
required
No matching file

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add JsonPatcher without breaking your instance.

Built for JsonPatcher v1.0.0-beta.3 [1.20.2] on 1.20.3-pre2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use v1.0.0-beta.3 [1.20.2]. It targets 1.20.2, 1.20.3-Snapshot, 1.20.3-pre2 with Fabric, Quilt; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first, but 1 required mod has no matching file for this setup. Do not mix loader builds to force a match.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside v1.0.0-beta.3 [1.20.2]. It opens that exact file at the source.

About this project

What does JsonPatcher add?

JsonPatcher

Badge showing the amount of downloads on modrinth Badge showing the amount of downloads on curseforge Badge linking to issues on github Badge linking to support on discord

JsonPatcher is a mod that allows you to modify json files in datapacks and resourcepacks without overriding them. This is primarily useful for mod developers and pack makers, but can also be used by players to modify their own packs.

V2 Disclaimer

JsonPatcher v2 is currently in beta. V2 introduces a bunch of new features including global patches for mods and modpacks. There's currently no documentation available for v2 as it had to be rushed out for BlanketCon '25. Parts of the v1 docs may be correct, but expect things not to work perfectly.

Usage

<details> <summary>Gradle dependency (for mod developers)</summary>

You can add jsonpatcher to your mods buildscript like this:

repositories {
    maven {
        url 'https://jitpack.io'
    }
}

dependencies {
    modImplementation(include("com.github.mattidragon:jsonpatcher:${jsonpatcher_version}"))
}

</details>

To begin using jsonpatcher, just create a file with the .jsonpatch extension in the data/<namespace>/jsonpatch directory of your datapack or assets/<namespace>/jsonpatch directory of your resourcepack.

You'll want to begin your patch with a @version meta tag like this. This will let jsonpatcher know that your patch will work with this version. In the future you may be able to select a version in more ways.

@version "1"

Next you'll want to select the files you want to patch. This is done with the @target meta tag. All meta tags follow a json format. You can either select a single file with a string, use an object for broader selections, or use an array for multiple selections. If any selector in the array matches, the patch will apply.

Now you can begin modifying the target file. The patch files use a c-like syntax. You can access the target files contents with $. It can be used like a variable, or you can put the property you want to access directly after it.

For more info on the language, see the wiki.

Project description from CurseForge.

Pick your setup

JsonPatcher by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

19 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

JsonPatcher versions and loaders

1 of 21 releases match
Clear filters

Looking for an older file? The official CurseForge project page is in Resources.