
VoxLib
Gone are the days when you must create a new voxel shape for every direction your block faces! With the help of this library, with can be done with the use a simple function.
Оцените первым
479
2
Список изменений
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.
Файлы
voxlib-1.6.1+1.19.4.jar(818.99 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.6.1+1.19.4
Загрузчики
Fabric
Версии игры
1.19.4
Загрузок
84
Дата публикации
01.08.2026
