All versions
1.1.3
Release
VFXWeaver API 1.1.3 (26.2)yesterday 8
Compatibility
Minecraft: Java Edition
26.2
Platform
Fabric
Supported environments
Client-side
Client and server
Changes
VFX Weaver API 1.1.3
Added
- Code-registered effect definitions for client-only mods:
VFXAPI.registerDefinitions(Map<Identifier, String>)andVFXAPI.unregisterDefinition(Identifier)add definitions at runtime with exactly the datapack validation, in a separate local layer that survives/reloadand a server sync. Before this, a client-only companion mod could not own its effect ids on a server: a mod-provideddata/<ns>/vfx/*.jsononly loads on a multiplayer client in single player (Fabric never reloadsSERVER_DATApacks there), and a server running this mod replaced the whole definition set on join, soplayEffect("mymod:thing", ...)could not resolve. Local definitions stay private to this client (they are never synced to other players), the datapack/server layer wins for the same id, and a broken entry is logged, skipped and reported by/vfx validate//vfx list.
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:HBhB8m4j:15Be46Ih"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:HBhB8m4j:15Be46Ih"
}

