Tags
Creators
Details
2.2.0
Compatibility
Changes
2.2.0
Requires NeoForge: 21.1.181 or higher
Added
- Annotated every method in the codebase with relevant annotations (
@NotNull,@Nullable,@Experimental,@Internal,@OverrideOnly) - Developers can now manually exclude custom mods in the
LoadedModsEvent - Moved
ReloadHandlerto the common package for shared access
Changed
- All dependencies updated to latest versions
- Set "Thank You" event priority to lowest (NeoForge only)
Variant Loader
-
Fully rewritten and modernized the Variant Loader
-
Introduced performance improvements like smarter caching and new utility methods
-
Switched from
StringtoResourceLocationfor saving entity identifiers- Allows multiple mods to use the Variant Loader without name conflicts
-
Replaced
getVariantName()andsetVariantName()default interface methods (which relied on unstable casting toIVariantAccessor)- New generic interface:
IVariantEntity<T> - Entities now implement
IVariantEntity<YourClass>and overridegetEntity()to returnthis
@Override public @NotNull YourEntityClass getEntity() { return this; }- This change improves type safety and eliminates the need to implement
get/setVariantName()manually
- New generic interface:
Fixed
- Fixed crash when Scheduler failed to load without Variant Loader
- Made blue logging text lighter and easier to read
- Logging now works correctly when enabled in config
- Corrected a language inconsistency in the "Mods Loaded" message
- "Thank You" message now shows after loading is complete
- Resolved conflict where Minecraft reported a duplicate packet registration
Optional dependencies
Supplementary resources
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:ZrEU4mLQ:8ABAUuXU"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:ZrEU4mLQ:8ABAUuXU"
}

