promotional bannermobile promotional banner

JsonPatcher

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

File Details

JsonPatcher-2.0.0-beta.1+mc.1.21.1-sources.jar

  • B
  • Mar 14, 2025
  • 109.61 KB
  • 5
  • 1.21.1
  • Fabric + 1

File Name

JsonPatcher-2.0.0-beta.1+mc.1.21.1-sources.jar

Supported Versions

  • 1.21.1

Curse Maven Snippet

Fabric

modImplementation "curse.maven:jsonpatcher-936929:6304498"

Quilt

modImplementation "curse.maven:jsonpatcher-936929:6304498"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

First beta of v2. This release has overhauled large parts of the language and not everything can be listed here.

Some highlights:

  • Replaced tree-walking interpreter with compiler for jvm bytecode
    • Noticeable performance uplift
  • Expanded standard library
    • Minor changes everywhere
    • More of the stdlib is now written in jsonpatcher code
  • Add reflection library for accessing java code
    • Locked by default to patches from mods and modpacks
    • Allows for more to be done in jsonpatcher without having to write wrappers in java
  • Global patch system for libraries and startup patches for mods and modpacks
  • Due to design limitations, metapatches now use a library instead of a global

Lots of improvements have also been done to tooling and the language server, but they will mostly be released at a later time.