Tags
Creators
Details
1.6.1+1.19.4
Compatibility
Required content
Changes
VoxLib 1.6.1
A targeted performance and memory update that preserves VoxLib’s existing public API and exact voxel-shape behavior.
Improved
- Added specialized identity-based caching for repeated unions and transformations.
- Reduced allocation on cached transformations and repeated shape operations.
- Reduced temporary allocation when simplifying large shapes. In the measured 256-box benchmark, allocation dropped from approximately 10.9 MB to 1.9 MB per operation.
- Reduced union and rotation overhead by avoiding unnecessary collections and temporary coordinate arrays.
- Added lazy memoization for finite
CommonShapesfactories. - Canonicalized chairs without backrests, reducing the number of possible memoized common-shape instances.
- Improved cache admission for interleaved repeated binary unions.
- Centralized Minecraft 1.19.4-specific shape operations to make future version ports easier.
Tooling and verification
- Added a reproducible JMH benchmark suite with vanilla and legacy implementation comparisons.
- Added exact occupied-volume and JVM API compatibility coverage.
- Verified union, transformation, caching, common-shape, and simplifier behavior.
Compatibility
- Minecraft 1.19.4
- Fabric
- Java 17 or newer
- No public API changes
- Existing source and binary usage remains compatible
VoxLib remains convenience-first. Fixed shapes should still normally be created once and stored as constants.
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:EuVRMQWq:jujWZXRg"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:EuVRMQWq:jujWZXRg"
}

