nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
JsonPatcher

JsonPatcher

Mod

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

Client or server LibraryManagementUtility

8,472 downloads
9 followers
Filter loader...
Filter versions...
Filter channels...
  • Fixed issue where JsonPatcher would fail to set up its data directories
  • Updated language to beta 8
    • Fixed various minor issues
  • Rerelease of beta 5 in order to fix jitpack deployment
  • Updated language to beta 7, with bugfixes and improvements
  • Added metapatch.searchFiles for looking up all files in a directory
  • Added jsonpatcher-workspace.json files to folder setup
  • Fixed a bug where certain patch targets are never checked
  • Added and updated docs for built-in code (metapatch and metadata tags)
  • The jsonpatcher:text library is once again available
  • Fixed crash when loading global patches
  • Minor tweaks to generated class names to reduce crashing
  • When throw_on_failure is enabled, global patches now crash the game on failure
  • Errors in global scripts now show up in the jsonpatcher log
    • The main log now only gets a summary
  • Updated lang module to beta 3
    • Fixed issues with resolving inner classes in reflection
  • Implemented loading of resource patches from global directory
  • Cleanup of dumping locations
  • Expose compiler error nicer
  • Properly JiJ lang library
  • Docs are now emitted upon startup
  • Fixes to global patches
    • Files not ending in .jsonpatch are no longer loaded
    • Errors are now emitted to jsonpatcher logs, similarly to data patches
    • Entrypoints are now correctly loaded from the @init meta tag

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.

  • Fix issue with sided mixin files
  • Updated to 1.21.1
  • 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!
  • Updated to 1.20.6
    • Patching is now injected slightly differently to account for the new known pack syncing and other changes to resource loading
  • Fixed incompatibility with EBE by moving mixin injection earlier
  • Updated to 1.20.2
  • Fixed capitalisation of metapatch library
  • Moved core language to its own project
  • Added ternary operator
  • Added option to dump patched files
  • Added metapatches
    • They are patches that don't change a file, but instead add or remove existing files
  • Added priority system for patches
  • Updated language
    • Meta tags can now be empty, will be interpreted as null
    • String keys are now supported in objects
    • Support negative numbers in meta tags

Initial release on modrinth

External resources


Project members

MattiDragon

Owner


Technical information

License
MIT
Client side
optional
Server side
optional
Project ID