Changes
This is mostly a modder-facing update, adding two things.
First, the patch datagen stuff now supports Codec
s in all of the methods taking Object
s, and also now allows providing an alternate Gson
for serialization in the Object
versions. There's also been some minor javadoc improvements in that area.
Second, Patched now supports reading its metadata block from the loader-specific mod metadata files! This means that modders can finally ditch their pack.mcmeta
s and move this data to their fabric.mod.json
/neoforge.mods.toml
! See the recently added section in the 'Installation' document for the exact syntax.
Changes
- Updated to 1.21.
- The Fabric build no longer requires Fabric API. However, running without Fabric API will prevent mods' patches from being applied, and will cause Patched's client commands to be unavailable. (These features require Fabric API's resource-loader and command-api modules, respectively.)
Features
- Added the
include
operation, which allows effectively including the contents of a patch inside another patch. This is intended to reduce patch duplication. - Added "patch targets" (also called "dynamic" patches), which allow applying a single patch to any number of files.
- Added two new
test
types:patched:registered
, which allows testing for the existence of something in a registrypatched:item_registered
, which is a simplified version of the above
See also the updated documentation for details on all of these.
Changes
- The Patched metadata in
pack.mcmeta
files has been modified to reflect Mojang's changes to pack metadata sections over the past several updates. In short:patched:has_patches
is no more, and instead there's apatched
section. Patched will still load old-style packs, for now. - Fabric: fixed mixins that broke with semi-recent (mid-January) changes to Fabric API.
- NeoForge: updated mod metadata for semi-recent (late-December?) FML changes
Changes
- Update to 1.20.2. There is not currently a Quilt version because QSL does not appear to support 1.20.2 yet. Additionally, Forge has been dropped in favor of NeoForge on 1.20.2+ -- the latest 1.20.1 build should work on Forge 1.20.2, but will likely not work on 1.20.3 and higher. Forge will remain supported on 1.20.1 and below.
Note: the NeoForge sources jar doesn't exactly match the real source code as the common mixins needed remap = false
added in order to build (NeoForge 1.20.2 removed mod reobf). This doesn't affect other platforms.