CurseForge · Minecraft mod
JsonPatcher
A tool for patching minecrafts json files, without overrding them, using a custom DSL
Quick answer
Which JsonPatcher release should I use?
JsonPatcher v1.1.1 [1.21.4] targets 1.21.4 with Fabric, Quilt. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.
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.
The source does not explicitly classify this release as client-only or server-only.
What else does JsonPatcher v1.1.1 [1.21.4] need?
v1.1.1 [1.21.4]. Change the file and its required mods may change too.
Install Fabric API first. We found matching files for this game-version and loader setup.
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.1.1 [1.21.4]. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use v1.1.1 [1.21.4]. It targets 1.21.4 with Fabric, Quilt; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fabric API first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside v1.1.1 [1.21.4]. It opens that exact file at the source.
About this project
What does JsonPatcher add?
JsonPatcher
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.
26.3
1 loader build1.21.4
2 loader builds1.21.1
2 loader builds1.21
2 loader builds1.20.6
2 loader builds1.20.4
2 loader builds1.20.3-Snapshot
2 loader builds1.20.3-pre2
2 loader builds1.20.2
2 loader builds1.20.1
2 loader buildsCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
JsonPatcher versions and loaders
v2.0.0-beta.8 [26.3]
JsonPatcher-2.0.0-beta.8-mc.26.3.jar
8 Nov 2026
v2.0.0-beta.7 [1.21.1]
JsonPatcher-2.0.0-beta.7+mc.1.21.1.jar
24 Sept 2025
v2.0.0-beta.6 [1.21.1]
JsonPatcher-2.0.0-beta.6+mc.1.21.1.jar
24 Aug 2025
v2.0.0-beta.5 [1.21.1]
JsonPatcher-2.0.0-beta.5+mc.1.21.1.jar
24 Aug 2025
v2.0.0-beta.4 [1.21.1]
JsonPatcher-2.0.0-beta.4+mc.1.21.1.jar
28 Mar 2025
v2.0.0-beta.3 [1.21.1]
JsonPatcher-2.0.0-beta.3+mc.1.21.1.jar
24 Mar 2025
v2.0.0-beta.2 [1.21.1]
JsonPatcher-2.0.0-beta.2+mc.1.21.1.jar
15 Mar 2025
v2.0.0-beta.1 [1.21.1]
JsonPatcher-2.0.0-beta.1+mc.1.21.1.jar
14 Mar 2025
v1.1.1 [1.21.4]
JsonPatcher-1.1.1+mc.1.21.4.jar
31 Jan 2025
v1.1.1 [1.21.1]
JsonPatcher-1.1.1+mc.1.21.1.jar
31 Oct 2024
v1.1.0 [1.21.1]
JsonPatcher-1.1.0+mc.1.21.1.jar
10 Aug 2024
v1.1.0 [1.21]
JsonPatcher-1.1.0+mc.1.21.jar
28 Jun 2024
Looking for an older file? The official CurseForge project page is in Resources.