Tags
Creators
Details
Licensed LGPL-2.1-only
Published 4 years ago
Updated 7 months ago
All versions
9.0.0+1.21.11-neoforge
Release
9.0.0+1.21.11-neoforge8 months ago 151
Compatibility
Minecraft: Java Edition
1.21.11
Platform
NeoForge
Supported environments
Client-side
Server-side
Client and server
Changes
Breaking Changes
- Patched is now multi-version: this means that future bug fixes and features will propagate to all supported versions, not just the latest. With this came some major re-architecturing which will have broken pretty much any mod with a compile-time dependency on Patched. In other words, mods that interface directly with Patched's code. Data/resource packs and mods that don't touch Patched's code at all will be perfectly fine. Mods that use (Neo)Forge's IMC feature to communicate with Patched will also be fine. I'm not currently aware of any mods that touch Patched's code, but any that do exist will need to adapt to these changes to work with the new version(s).
- Patched (the library) has been updated to version 2.0.0. This will almost certainly impact anyone touching the library (or the mod) directly. One can read about the changes here.
New Features
- Added the
/patched trace <file>command (also works with/patchedc), which allows "tracing" the trail of patches/overrides applied to a specified file. This can be used to find out whether a given patch is actually applying to a file without needing to read through a (possibly massive) json file from/patched dump file. As a bonus, it'll list the overrides of files that have had no patches applied. For example, did you know that NeoForge replaces the bucket recipe? (I already did, but maybe you didn't — and now you can know all that and more with this command!) - Added absolute paths and placeholders. See also the updated path documentation here.
- Packs with dynamic patches no longer need a file in the namespaces they're targeting for their patches to apply. One can now get rid of their
_dummy.jsonfiles, if present.
New Features (for mod developers)
- On Fabric, custom test conditions and data sources can now be registered using
ObjectShare. See the documentation for details.
Changes
- Patches dumped using the wrong-sided command (e.g.
/patched dump ...on a patch inassets) will now dump normally rather than cryptically failing. - Fixed errors about malformed or missing dynamic patches being logged with more detail than they should (and only once).
- The "Applying patch ... from ..." and "Built PatchTargetManager ..." messages are no longer logged by default, as they're usually not necessary (and add a lot of noise to the logs). If you need either for whatever reason, you can turn them back on by adding
-Dpatched.debugto your JVM arguments. - Fixed
pack_enabledtest condition erroring when no dynamic patches are present.
Supplementary resources
| File | Type | Size | |
|---|---|---|---|
| Patched-9.0.0+1.21.11-neoforge-sources.jar | Sources jar | 117.54 KiB |
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:IBlGrJtC:IaFMgK2y"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:IBlGrJtC:IaFMgK2y"
}
