promotional bannermobile promotional banner

JsonPatcher

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

File Details

v1.1.0 [1.21]

  • R
  • Jun 28, 2024
  • 753.08 KB
  • 50
  • 1.21
  • Fabric + 1

File Name

JsonPatcher-1.1.0+mc.1.21.jar

Supported Versions

  • 1.21

Curse Maven Snippet

Fabric

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

Quilt

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

Learn more about Curse Maven

  • Updated to 1.21
  • Use an alternative hook point in order
    • Provides better compatibility with mods reading resources outside of reloads
    • Only loads patches once per pack load
    • No longer warns when a file isn't being patched (most such cases should have been fixed anyway)
  • Renamed abort_reload_on_failure to throw_on_failure to better reflect its behaviour
  • Update language library
    • Made debug library functions that throw errors slightly cleaner
    • Added default arguments (no named arguments yet)
    • Added varargs support
    • Added objects library
    • Replaced arrays.mapped and arrays.filtered with arrays.replace and arrays.removeIf respectively
    • Added various other library functions
    • Cleaned up stack traces
    • Improved many error messages
  • Added option for metapatches to filter files using targets
  • There's now a VSCode Extension available!