JsonPatcher
🟠 Updated over a year ago⚠️ Install Order · 2 steps
Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.
Preview

🔍 Analysis
- 👍 0.1% endorsement rate
- 🏆 #356 of 901 fabric mods in this game by downloads
📋 About This Mod
# JsonPatcher (https://img.shields.io/badge/dynamic/json?color=2d2d2d&colorA=5da545&label=&suffix=%20downloads%20&query=downloads&url=https://api.modrinth.com/v2/project/qlXnlZLG&style=flat&logo=modrinth&logoColor=2d2d2d)](https://modrinth.com/mod/jsonpatcher) (https://img.shields.io/badge/dynamic/json?query=value&url=https://img.shields.io/curseforge/dt/936929.json&label=&logo=curseforge&color=2d2d2d&style=flat&labelColor=F16436&logoColor=2d2d2d&suffix=%20downloads)](https://www.curseforge.com/minecraft/mc-mods/jsonpatcher) (https://img.shields.io/badge/dynamic/json?query=value&url=https://img.shields.io/github/issues-raw/mattidragon/jsonpatcher.json&label=&logo=github&color=2d2d2d&style=flat&labelColor=6e5494&logoColor=2d2d2d&suffix=%20issues)](https://github.com/MattiDragon/jsonpatcher/issues) (https://img.shields.io/discord/760524772189798431?label=&logo=discord&color=2d2d2d&style=flat&labelColor=5865f2&logoColor=2d2d2d)](https://discord.gg/26T5KK2PBv) 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. Documentation for v2 is available at (https://jsonpatcher-docs.mattidragon.dev/). The documentation is however quite incomplete and partially outdated. For some cases it might be best to consult the old wiki instead. ## Usage <details> <summary>Gradle dependency (for mod developers)</summary> You can add jsonpatcher to your mods buildscript like this: ```groovy 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 (https://github.com/MattiDragon/JsonPatch/wiki).
# JsonPatcher [!(https://img.shields.io/badge/dynamic/json?color=2d2d2d&colorA=5da545&label=&suffix=%20downloads%20&query=downloads&url=https://api.modrinth.com/v2/project/qlXnlZLG&style=flat&logo=modrinth&logoColor=2d2d2d)](https://modrinth.com/mod/jsonpatcher) [!(https://img.shields.io/badge/dynamic/json?query=value&url=https://img.shields.io/curseforge/dt/936929.json&label=&logo=curseforge&color=2d2d2d&style=flat&labelColor=F16436&logoColor=2d2d2d&suffix=%20downloads)](https://www.curseforge.com/minecraft/mc-mods/jsonpatcher) [!(https://img.shields.io/badge/dynamic/json?query=value&url=https://img.shields.io/github/issues-raw/mattidragon/jsonpatcher.json&label=&logo=github&color=2d2d2d&style=flat&labelColor=6e5494&logoColor=2d2d2d&suffix=%20issues)](https://github.com/MattiDragon/jsonpatcher/issues) [!(https://img.shields.io/discord/760524772189798431?label=&logo=discord&color=2d2d2d&style=flat&labelColor=5865f2&logoColor=2d2d2d)](https://discord.gg/26T5KK2PBv)
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. Documentation for v2 is available at (https://jsonpatcher-docs.mattidragon.dev/). The documentation is however quite incomplete and partially outdated. For some cases it might be best to consult the old wiki instead.
## Usage
Gradle dependency (for mod developers)
You can add jsonpatcher to your mods buildscript like this: ```groovy repositories { maven { url 'https://jitpack.io' } }
dependencies { modImplementation(include("com.github.mattidragon:jsonpatcher:${jsonpatcher_version}")) } ```
To begin using jsonpatcher, just create a file with the `.jsonpatch` extension
in the `data/
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 (https://github.com/MattiDragon/JsonPatch/wiki).
📊 Mod Details
- Game
- Minecraft Mods
- Author
- MattiDragon
- Version
- 2.0.0-beta.7+mc.1.21.1
- Downloads
- 13,174
- Endorsements
- 11
- Category
- fabric
- Created
- 11/17/2023
- Updated
- 9/24/2025
- Game Versions
- 1.21.1
- Tags
- library, utility
🔧 How to Install Minecraft Mods Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Mods →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Mods versions does JsonPatcher support?
The author lists 1.21.1. Other versions may work but are untested by the author.
What is the latest version of JsonPatcher?
Version 2.0.0-beta.7+mc.1.21.1, published 2025-09-24 with 13,174 downloads recorded at the source.
Keep browsing — more Minecraft Mods mods await