Compatibility
Minecraft: Java Edition
1.19.4
Platforms
Supported environments
Client and server
Tags
Creators
Details
VoxLib
VoxLib is a Fabric library for Minecraft 1.19.4 that makes working with block voxel shapes less repetitive. Create a shape once, combine its pieces, rotate it for each direction, and inspect the result in-game.
VoxLib is primarily intended for mod developers. Install it when another mod lists it as a dependency, or add it directly to your development environment.
Features
- Create cuboid and common block shapes
- Combine shapes with concise Kotlin helpers
- Build shapes conditionally
- Rotate and flip shapes for directional blocks
- Simplify complex collision and outline shapes
- Cache repeated shape operations
- Display targeted outline and collision shapes in-game
- Log and compare shapes in client or server environments
Quick Example
val northShape = createCuboidShape(5, 0, 0, 11, 16, 8)
val eastShape = northShape.rotateRight()
val southShape = northShape.flip()
val westShape = northShape.rotateLeft()
Using VoxLib from Modrinth Maven
repositories {
maven {
url = "https://api.modrinth.com/maven"
}
}
dependencies {
modImplementation "maven.modrinth:voxlib:1.6.0+1.19.4"
}
Dependencies
- Fabric API — required
- Fabric Language Kotlin — required
- Mod Menu — optional; provides access to the debug settings screen
Compatibility
- Minecraft 1.19.4
- Fabric
- Java 17 or newer
- Client and dedicated server
Shape utilities work on both sides. Rendering overlays and the configuration screen are client-only.
For complete examples and documentation, visit the GitHub repository.


