JsonPatcher is a fabric mod that allows for modifying minecrafts json files using a custom scripting language,

This update is big, adding many useful features to the language and stdlib, as well as a fully working language server and VSCode Extension!

The wiki has been updated to reflect the changes in this update.

  • 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 option 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
  • Added a built-in library for handling minecraft text components at jsonpatcher:text (docs coming soon)
  • There's now a VSCode Extension

Modrinth | CurseForge | GitHub | VSCode Extension

by MattiDragon

Leave A Reply