Backported all of the changes from 1.19.2 <=> 1.20.1:
Features
- Leveraged patch audits in file dumping. This means that you can now easily see who changed what (via patches; file replacements have no such indicators).
- There are now two new subcommands for
/patched[c] dump file ...
:raw
andunpatched
, for dumping the comment-less patched file and for dumping the file without applying patches, respectively. - Implemented the
patched:mod_loaded
condition, with support for testing against specific mod versions. - Implemented basic datagen support for patches.
Changes
- The version format has been modified to comply a bit better with Semver and allow mods to actually depend on the mod.
- Updated to Patched 1.3.0 (up from 1.0.0).
- Patches can now patch other patches.
- Only parse obvious json files as json, and other optimizations (like not unnecessarily reading files).
Bug Fixes
- Fixed patches from mods not actually being applied.
- Properly expand mod loader "group" packs to have one pack per mod in commands.
- Fixed listing patches of
.zip
packs not working properly. - Fixed packs not showing up in
/patched list packs
if they were added using the data packs section of the create world screen.
Changes
- The version format has been modified to comply a bit better with Semver and allow mods to actually depend on the mod. The version has been bumped to
2.x.x
to allow better differentiation between builds from past and future major versions (this change has also been applied to the latest 1.20.x build). - Updated to Patched 1.3.0, bringing with it mainly one change: patches can now replace the root document.
- Patches can now patch other patches.
- More optimizations to patching file I/O. In particular, we don't try to read a file if no one is trying to patch it.
- The
patched:mod_loaded
test condition now supports testing against specific mod versions. - There are now two new subcommands for
/patched[c] dump file ...
:raw
andunpatched
, for dumping the comment-less patched file and for dumping the file without applying patches, respectively.
Changes
- The version format has been modified to comply a bit better with Semver and allow mods to actually depend on the mod. The version has been bumped to
3.x.x
to allow better differentiation between builds from past major versions (and will likely be bumped again if1.20.2
includes breaking changes). - Updated to Patched 1.3.0, bringing with it mainly one change: patches can now replace the root document.
- Patches can now patch other patches.
- More optimizations to patching file I/O. In particular, we don't try to read a file if no one is trying to patch it.
- The
patched:mod_loaded
test condition now supports testing against specific mod versions. - There are now two new subcommands for
/patched[c] dump file ...
:raw
andunpatched
, for dumping the comment-less patched file and for dumping the file without applying patches, respectively.
Changes
- Moved to a multi-loader workspace, like the 1.20 version.
- Backported the following changes:
- Only parse obvious json files as json, theoretically improving performance.
- Properly expand mod loader "group" packs to have one pack per mod in commands.
- Fixed listing patches of
.zip
packs not working properly. - Fix not applying patches from Fabric mods.
- Fixed packs not showing up in
/patched list packs
if they were added using the data packs section of the create world screen (untested, but should work).
Changes
- The mod now uses a proper multi-loader workspace instead of one branch per loader.
- Also we're now publishing source jars.
- Patched now only tries to parse obvious json files as json.
- This should slightly improve load times.
- Side note: this was supposed to be the case from the beginning, but then I noticed the code for it had no usages...
- "Group" packs are now expanded in the commands, meaning e.g. instead of a "Fabric Mods" or "mod_resources" pack there's instead a pack for each mod.
- Fixed listing patches of
.zip
packs not working properly.