Tags
Creators
Details
All versions
1.2.1
Release
NexusLib 1.2.16 days ago 414
Compatibility
Minecraft: Java Edition
1.21.1
Platform
Fabric
Supported environments
Client and server
Changes
Nexuslib version 1.2.1
Fixes
- Fixed
NLCapeManagercausing servers to go down entirely
Changes
- Completely rewrote
NLCapeManagerto prevent Client and Server mismatching- Documentation on how to use these can be found attached to every class in
net.hecco.nexuslib.lib.capeManager
- Documentation on how to use these can be found attached to every class in
- Errors that occur when adding items to existing creative tabs will no longer crash the game, instead warning the client and skipping the entry
- ModIntegration classes now have an optional
onCommonSetupmethod which is called during the FMLCommonSetupEvent on Neoforge (and normal initialization on Fabric) - Several code optimizations
- Removed
NLDefaultAttributeRegistry, replaced with a registration method inNLServices.REGISTRY
New Features
- Added
NLSituationalMusicRegistry- Allows for overriding ambient music that should play in certain game scenarios
- Provides the music manager, level, player, and current biome the player is in
- Item components added to the
hand_animation_ignoreddata component type tag will not be considered when the item switching hand animation is being played - Added
NLSelectedItemNametagRegistry- Allows for custom item nametags to appear when an item is hovered over
- Provides the item stack and the original text component
- Added
NLFeatureReplacementRegistry- Allows for conditional and total replacement of existing configured and placed features
- Added a dedicated registry method for criterion trigger types
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:bgDhVmqz:dQfxetOc"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:bgDhVmqz:dQfxetOc"
}

