CurseForge · Minecraft mod
JsonWrangler
A tool for all your JSON-modifying needs
Quick answer
Which JsonWrangler release matches 1.19.4 Forge?
JsonWrangler [Forge] v0.1.3 targets 1.19.4 with Forge. 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 JsonWrangler 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 JsonWrangler [Forge] v0.1.3 need?
JsonWrangler [Forge] v0.1.3 on 1.19.4 Forge. Every mod below is checked against that same setup.
Install GroovyModLoader (GML) 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 JsonWrangler without breaking your instance.
Built for JsonWrangler [Forge] v0.1.3 on 1.19.4 Forge. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use JsonWrangler [Forge] v0.1.3. It targets 1.19.4 with Forge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install GroovyModLoader (GML) 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 JsonWrangler [Forge] v0.1.3. It opens that exact file at the source.
About this project
What does JsonWrangler add?
JsonWrangler
A tool for all your JSON-modifying needs
Quilt version requires: QSL and GroovyDuvet
Forge version requires: GML
JsonWrangler is a Minecraft mod which allows for the modification of game data and resources, as stored in JSON files, through groovy scripts which can be packaged in resource or data packs.
Usage
JsonWrangler should allow modification of basically any JSON file with a "winner takes all" behavior - for instance, loot tables, models, worldgen data, or animation metadata files. If JsonWrangler fails to wrangle a file that you think it should, please submit a bug report. If you wish to modify a file at a given path, say, assets/minecraft/textures/block/magma.png.mcmeta or data/minecraft/loot_tables/chests/simple_dungeon.json, you should create a groovy script at same path, but with a .groovy at the end - in this case, assets/minecraft/textures/block/magma.png.mcmeta.groovy or data/minecraft/loot_tables/chests/simple_dungeon.json.groovy. Inside of your groovy script, you are given several arguments, and must return a value which will replace the original JSON file. Valid values to return include maps, where map keys must be strings and values may be lists, maps, numbers, booleans, strings, or dates. In addition to normal groovy features, You have the following variables at your disposal inside your script:
json- the original JSON file, parsed into a mapplatform- either"quilt"or"forge", depending on which platform you are running onoverride- a method which, if called, will cause any further scripts attempting to modify the same file to not run
Multiple scripts in different datapacks or resource packs can target the same file - they are ran in order from highest priority (the "top" pack) to lowest priority (the "bottom" pack). If a script calls override(), no further scripts will run.
Servers
Note: As the groovy scripts that JsonWrangler loads can execute arbitrary code, JsonWrangler will not load scripts from server resource packs. If you wish to load scripts from a server resource pack, you will have to copy it as a local resource pack first.
Examples
For examples, see the README: https://github.com/lukebemish/JsonWrangler#readme
Project description from CurseForge.
Pick your setup
JsonWrangler by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.20.1
2 loader builds1.19.4
2 loader buildsCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
JsonWrangler versions and loaders
JsonWrangler [Forge] v0.1.3
jsonwrangler-1.19.4-forge-0.1.3.jar
30 Jul 2023
Looking for an older file? The official CurseForge project page is in Resources.